Let U be given.
rewrite the current goal using Hdef (from right to left).
rewrite the current goal using HTdef (from left to right).
An exact proof term for the current goal is HU.
We prove the intermediate
claim HUcond:
∀y ∈ U, ∃b0 ∈ B0, y ∈ b0 ∧ b0 ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀y : set, y ∈ U0 → ∃b0 ∈ B0, y ∈ b0 ∧ b0 ⊆ U0) U HUgen).
We prove the intermediate
claim Hexb0:
∃b0 ∈ B0, x ∈ b0 ∧ b0 ⊆ U.
An exact proof term for the current goal is (HUcond x HxU).
Apply Hexb0 to the current goal.
Let b0 be given.
Assume Hb0pair.
We prove the intermediate
claim Hb0B0:
b0 ∈ B0.
An
exact proof term for the current goal is
(andEL (b0 ∈ B0) (x ∈ b0 ∧ b0 ⊆ U) Hb0pair).
We prove the intermediate
claim Hxinb0:
x ∈ b0.
An
exact proof term for the current goal is
(andEL (x ∈ b0) (b0 ⊆ U) (andER (b0 ∈ B0) (x ∈ b0 ∧ b0 ⊆ U) Hb0pair)).
We prove the intermediate
claim Hb0sub:
b0 ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ b0) (b0 ⊆ U) (andER (b0 ∈ B0) (x ∈ b0 ∧ b0 ⊆ U) Hb0pair)).
Let c be given.
Let r0 be given.
We prove the intermediate
claim HxinBall:
x ∈ open_ball X d c r0.
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hxinb0.
We prove the intermediate
claim HballsubU:
open_ball X d c r0 ⊆ U.
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hb0sub.
Apply Hexs to the current goal.
Let s be given.
Assume Hs.
We prove the intermediate
claim HsRpos:
s ∈ R ∧ Rlt 0 s.
We prove the intermediate
claim HsR:
s ∈ R.
An
exact proof term for the current goal is
(andEL (s ∈ R) (Rlt 0 s) HsRpos).
We prove the intermediate
claim Hspos:
Rlt 0 s.
An
exact proof term for the current goal is
(andER (s ∈ R) (Rlt 0 s) HsRpos).
We prove the intermediate
claim HsubU:
open_ball X d x s ⊆ U.
We use s to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HsR.
Apply andI to the current goal.
An exact proof term for the current goal is Hspos.
An exact proof term for the current goal is HsubU.
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 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).
An exact proof term for the current goal is (HVsel_spec N HNomega).
We prove the intermediate
claim Hcov:
covers X (Vsel N).
We prove the intermediate
claim Hexb:
∃b : set, b ∈ Vsel N ∧ x ∈ b.
An exact proof term for the current goal is (Hcov x HxX).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbIn:
b ∈ Vsel N.
An
exact proof term for the current goal is
(andEL (b ∈ Vsel N) (x ∈ b) Hbpair).
We prove the intermediate
claim Hxb:
x ∈ b.
An
exact proof term for the current goal is
(andER (b ∈ Vsel N) (x ∈ b) Hbpair).
We prove the intermediate
claim Hsubcov:
(Vsel N) ⊆ BallCover N.
We prove the intermediate
claim HbCover:
b ∈ BallCover N.
An exact proof term for the current goal is (Hsubcov b HbIn).
We prove the intermediate
claim HexC:
∃c0 ∈ X, b = open_ball X d c0 (eps_ N).
Apply HexC to the current goal.
Let c0 be given.
Assume Hc0pair.
We prove the intermediate
claim Hc0X:
c0 ∈ X.
An
exact proof term for the current goal is
(andEL (c0 ∈ X) (b = open_ball X d c0 (eps_ N)) Hc0pair).
An
exact proof term for the current goal is
(andER (c0 ∈ X) (b = open_ball X d c0 (eps_ N)) Hc0pair).
We prove the intermediate
claim HpSig:
(N,b) ∈ Pair.
An
exact proof term for the current goal is
(tuple_2_Sigma ω (λn0 : set ⇒ Vsel n0) N HNomega b HbIn).
Set c to be the term choose_center (N,b).
We prove the intermediate
claim HcInD0:
c ∈ D0.
An
exact proof term for the current goal is
(ReplI Pair choose_center (N,b) HpSig).
We prove the intermediate
claim HchooseRaw:
c ∈ X ∧ ((N,b) 1) = open_ball X d c (eps_ ((N,b) 0)).
We prove the intermediate
claim HexC2:
∃c1 : set, c1 ∈ X ∧ ((N,b) 1) = open_ball X d c1 (eps_ ((N,b) 0)).
We use c0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hc0X.
rewrite the current goal using
(tuple_2_1_eq N b) (from left to right).
rewrite the current goal using
(tuple_2_0_eq N b) (from left to right).
An exact proof term for the current goal is HbEq.
An
exact proof term for the current goal is
(Eps_i_ex (λc1 : set ⇒ c1 ∈ X ∧ ((N,b) 1) = open_ball X d c1 (eps_ ((N,b) 0))) HexC2).
We prove the intermediate
claim HcX:
c ∈ X.
An
exact proof term for the current goal is
(andEL (c ∈ X) (((N,b) 1) = open_ball X d c (eps_ ((N,b) 0))) HchooseRaw).
We prove the intermediate
claim HxInBall:
x ∈ open_ball X d c (eps_ N).
We prove the intermediate
claim Htmp:
((N,b) 1) = open_ball X d c (eps_ ((N,b) 0)).
An
exact proof term for the current goal is
(andER (c ∈ X) (((N,b) 1) = open_ball X d c (eps_ ((N,b) 0))) HchooseRaw).
We prove the intermediate
claim HxInb1:
x ∈ ((N,b) 1).
We will
prove x ∈ ((N,b) 1).
rewrite the current goal using
(tuple_2_1_eq N b) (from left to right).
An exact proof term for the current goal is Hxb.
We prove the intermediate
claim HxInBall0:
x ∈ open_ball X d c (eps_ ((N,b) 0)).
rewrite the current goal using Htmp (from right to left).
An exact proof term for the current goal is HxInb1.
We prove the intermediate
claim HepsEq:
eps_ ((N,b) 0) = eps_ N.
rewrite the current goal using
(tuple_2_0_eq N b) (from left to right).
Use reflexivity.
rewrite the current goal using HepsEq (from right to left).
An exact proof term for the current goal is HxInBall0.
An
exact proof term for the current goal is
(open_ballE2 X d c (eps_ N) x HxInBall).
rewrite the current goal using Hsym (from left to right).
An exact proof term for the current goal is Hdxc.
We prove the intermediate
claim Hdxc3:
Rlt (apply_fun d (x,c)) r.
We prove the intermediate
claim HcInBallxr:
c ∈ open_ball X d x r.
An
exact proof term for the current goal is
(open_ballI X d x r c HcX Hdxc3).
We prove the intermediate
claim HcInU:
c ∈ U.
An exact proof term for the current goal is (Hballsub c HcInBallxr).
We prove the intermediate
claim Hwd:
c ∈ U ∩ D0.
An
exact proof term for the current goal is
(binintersectI U D0 c HcInU HcInD0).