Let U be given.
We will
prove ∀x : set, x ∈ U → ∃b ∈ B, x ∈ b ∧ b ⊆ U.
Let x be given.
We will
prove ∃b ∈ B, x ∈ b ∧ b ⊆ U.
We prove the intermediate
claim HUPow:
U ∈ 𝒫 X.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
((PowerE X U HUPow) x HxU).
rewrite the current goal using HTdef (from right to left).
An exact proof term for the current goal is HU.
Apply HexBall to the current goal.
Let r be given.
Assume Hrpack.
We prove the intermediate
claim HrR:
r ∈ R.
We prove the intermediate
claim Hrpos:
Rlt 0 r.
We prove the intermediate
claim Hballsub:
open_ball X d x r ⊆ U.
We prove the intermediate
claim HexN:
∃N ∈ ω, eps_ N < r.
Apply HexN to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNomega:
N ∈ ω.
An
exact proof term for the current goal is
(andEL (N ∈ ω) (eps_ N < r) HNpair).
We prove the intermediate
claim HepsLt:
eps_ N < r.
An
exact proof term for the current goal is
(andER (N ∈ ω) (eps_ N < r) HNpair).
We prove the intermediate
claim HsDef:
s = eps_ (ordsucc N).
We prove the intermediate
claim HsuccOmega:
ordsucc N ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N HNomega).
We prove the intermediate
claim HsR:
s ∈ R.
rewrite the current goal using HsDef (from left to right).
We prove the intermediate
claim HsposS:
0 < s.
rewrite the current goal using HsDef (from left to right).
We prove the intermediate
claim Hspos:
Rlt 0 s.
An
exact proof term for the current goal is
(RltI 0 s real_0 HsR HsposS).
We prove the intermediate
claim HepsR:
eps_ N ∈ R.
We prove the intermediate
claim HepsRlt:
Rlt (eps_ N) r.
An
exact proof term for the current goal is
(RltI (eps_ N) r HepsR HrR HepsLt).
We prove the intermediate
claim HsSumLt:
Rlt (add_SNo s s) r.
We prove the intermediate
claim HNnat:
nat_p N.
An
exact proof term for the current goal is
(omega_nat_p N HNomega).
We prove the intermediate
claim HsumEq:
add_SNo s s = eps_ N.
rewrite the current goal using HsDef (from left to right).
rewrite the current goal using HsDef (from left to right) at position 2.
rewrite the current goal using HsumEq (from left to right).
An exact proof term for the current goal is HepsRlt.
An
exact proof term for the current goal is
(HVsel_spec (ordsucc N) HsuccOmega).
We prove the intermediate
claim HXsub:
X ⊆ ⋃ (Vsel (ordsucc N)).
We prove the intermediate
claim HxUnion:
x ∈ ⋃ (Vsel (ordsucc N)).
An exact proof term for the current goal is (HXsub x HxX).
Let b be given.
We use b to witness the existential quantifier.
We will
prove b ∈ B ∧ (x ∈ b ∧ b ⊆ U).
Apply andI to the current goal.
We prove the intermediate
claim HbInV:
b ∈ Vsel (ordsucc N).
An
exact proof term for the current goal is
(andER (x ∈ b) (b ∈ Vsel (ordsucc N)) Hbx).
We prove the intermediate
claim HpSig:
(N,b) ∈ Pair.
An
exact proof term for the current goal is
(tuple_2_Sigma ω (λn0 : set ⇒ Vsel (ordsucc n0)) N HNomega b HbInV).
We prove the intermediate
claim HbEq1:
(N,b) 1 = b.
An
exact proof term for the current goal is
(tuple_2_1_eq N b).
rewrite the current goal using HbEq1 (from right to left) at position 1.
An
exact proof term for the current goal is
(ReplI Pair (λp : set ⇒ p 1) (N,b) HpSig).
Apply andI to the current goal.
An
exact proof term for the current goal is
(andEL (x ∈ b) (b ∈ Vsel (ordsucc N)) Hbx).
We prove the intermediate
claim HVsub:
Vsel (ordsucc N) ⊆ BallCover (ordsucc N).
We prove the intermediate
claim HbCover:
b ∈ BallCover (ordsucc N).
An
exact proof term for the current goal is
(HVsub b (andER (x ∈ b) (b ∈ Vsel (ordsucc N)) Hbx)).
Let c0 be given.
We prove the intermediate
claim Hc0X:
c0 ∈ X.
We prove the intermediate
claim HsubBall:
b ⊆ open_ball X d x r.
Let y be given.
rewrite the current goal using HbDef (from right to left).
An exact proof term for the current goal is Hy.
We prove the intermediate
claim HyX:
y ∈ X.
rewrite the current goal using HbDef (from right to left).
An
exact proof term for the current goal is
(andEL (x ∈ b) (b ∈ Vsel (ordsucc N)) Hbx).
rewrite the current goal using Hsymxc (from left to right).
An exact proof term for the current goal is Hdx0.
We prove the intermediate
claim HdxR:
dx ∈ R.
We prove the intermediate
claim HdyR:
dy ∈ R.
We prove the intermediate
claim HdxS:
SNo dx.
An
exact proof term for the current goal is
(real_SNo dx HdxR).
We prove the intermediate
claim HdyS:
SNo dy.
An
exact proof term for the current goal is
(real_SNo dy HdyR).
We prove the intermediate
claim HsS:
SNo s.
An
exact proof term for the current goal is
(real_SNo s HsR).
We prove the intermediate
claim HdxLtS:
dx < s.
rewrite the current goal using HsDef (from left to right).
We prove the intermediate
claim HdyLtS:
dy < s.
rewrite the current goal using HsDef (from left to right).
An
exact proof term for the current goal is
(add_SNo_Lt3 dx dy s s HdxS HdyS HsS HsS HdxLtS HdyLtS).
We prove the intermediate
claim HsumR:
add_SNo dx dy ∈ R.
An
exact proof term for the current goal is
(real_add_SNo dx HdxR dy HdyR).
We prove the intermediate
claim HsumRltR:
Rlt (add_SNo dx dy) r.
We prove the intermediate
claim HssumR:
add_SNo s s ∈ R.
An
exact proof term for the current goal is
(real_add_SNo s HsR s HsR).
An
exact proof term for the current goal is
(RltI (add_SNo dx dy) (add_SNo s s) HsumR HssumR HsumLt).
An
exact proof term for the current goal is
(Rlt_tra (add_SNo dx dy) (add_SNo s s) r HsumRlt_ss HsSumLt).
We prove the intermediate
claim Htmp2Def:
tmp2 = add_SNo dx dy.
rewrite the current goal using Htmp2Def (from left to right).
An exact proof term for the current goal is Htri0.
We prove the intermediate
claim HdistRlt:
Rlt (apply_fun d (x,y)) r.
An
exact proof term for the current goal is
(open_ballI X d x r y HyX HdistRlt).
An
exact proof term for the current goal is
(Subq_tra b (open_ball X d x r) U HsubBall Hballsub).