Let U be given.
rewrite the current goal using HTdef (from right to left).
An exact proof term for the current goal is HU.
We prove the intermediate
claim HUlcl:
∀y ∈ U, ∃b ∈ B, y ∈ b ∧ b ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀y0 ∈ U0, ∃b0 ∈ B, y0 ∈ b0 ∧ b0 ⊆ U0) U HUgen).
We prove the intermediate
claim Hexb:
∃b ∈ B, x ∈ b ∧ b ⊆ U.
An exact proof term for the current goal is (HUlcl x HxU).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpack.
We prove the intermediate
claim HbB:
b ∈ B.
An
exact proof term for the current goal is
(andEL (b ∈ B) (x ∈ b ∧ b ⊆ U) Hbpack).
We prove the intermediate
claim Hbrest:
x ∈ b ∧ b ⊆ U.
An
exact proof term for the current goal is
(andER (b ∈ B) (x ∈ b ∧ b ⊆ U) Hbpack).
We prove the intermediate
claim Hxb:
x ∈ b.
An
exact proof term for the current goal is
(andEL (x ∈ b) (b ⊆ U) Hbrest).
We prove the intermediate
claim HbsubU:
b ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ b) (b ⊆ U) Hbrest).
Let c be given.
Let r be given.
We prove the intermediate
claim Hxball:
x ∈ open_ball X d c r.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hxb.
Apply Hexs to the current goal.
Let s be given.
Assume Hspack.
We prove the intermediate
claim Hs12:
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) Hs12).
We prove the intermediate
claim Hspos:
Rlt 0 s.
An
exact proof term for the current goal is
(andER (s ∈ R) (Rlt 0 s) Hs12).
We prove the intermediate
claim HsubU:
open_ball X d x s ⊆ U.
We prove the intermediate
claim HballsubU:
open_ball X d c r ⊆ U.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is HbsubU.
We prove the intermediate
claim Hexeps1:
∃eps1 : set, eps1 ∈ R ∧ Rlt 0 eps1 ∧ Rlt (add_SNo eps1 eps1) s.
Apply Hexeps1 to the current goal.
Let eps1 be given.
Assume Heps1pack.
We prove the intermediate
claim Heps1left:
eps1 ∈ R ∧ Rlt 0 eps1.
An
exact proof term for the current goal is
(andEL (eps1 ∈ R ∧ Rlt 0 eps1) (Rlt (add_SNo eps1 eps1) s) Heps1pack).
We prove the intermediate
claim Heps1R:
eps1 ∈ R.
An
exact proof term for the current goal is
(andEL (eps1 ∈ R) (Rlt 0 eps1) Heps1left).
We prove the intermediate
claim Heps1pos:
Rlt 0 eps1.
An
exact proof term for the current goal is
(andER (eps1 ∈ R) (Rlt 0 eps1) Heps1left).
We prove the intermediate
claim Heps2lt:
Rlt (add_SNo eps1 eps1) s.
An
exact proof term for the current goal is
(andER (eps1 ∈ R ∧ Rlt 0 eps1) (Rlt (add_SNo eps1 eps1) s) Heps1pack).
An
exact proof term for the current goal is
(Hcauch eps1 (andI (eps1 ∈ R) (Rlt 0 eps1) Heps1R Heps1pos)).
Apply HexN1 to the current goal.
Let N1 be given.
Assume HN1pack.
We prove the intermediate
claim HN1omega:
N1 ∈ ω.
Apply Hsub to the current goal.
Let f be given.
Assume Hfpack.
We prove the intermediate
claim Hsubeq:
subseq = compose_fun ω f seq.
We prove the intermediate
claim Hexk1:
∃k1 : set, k1 ∈ ω ∧ N1 ⊆ apply_fun f k1.
Apply Hexk1 to the current goal.
Let k1 be given.
Assume Hk1pack.
We prove the intermediate
claim Hk1omega:
k1 ∈ ω.
An
exact proof term for the current goal is
(andEL (k1 ∈ ω) (N1 ⊆ apply_fun f k1) Hk1pack).
We prove the intermediate
claim HN1subfk1:
N1 ⊆ apply_fun f k1.
An
exact proof term for the current goal is
(andER (k1 ∈ ω) (N1 ⊆ apply_fun f k1) Hk1pack).
An
exact proof term for the current goal is
(ReplSepI R (λr0 : set ⇒ Rlt 0 r0) (λr0 : set ⇒ open_ball X d x r0) eps1 Heps1R Heps1pos).
We prove the intermediate
claim HballInFam:
open_ball X d x eps1 ∈ B.
We prove the intermediate
claim HBasis:
basis_on X B.
rewrite the current goal using HTdef (from left to right).
We prove the intermediate
claim HxInBall:
x ∈ open_ball X d x eps1.
Apply HexN2 to the current goal.
Let N2 be given.
Assume HN2pack.
We prove the intermediate
claim HN2omega:
N2 ∈ ω.
We prove the intermediate
claim HN2prop:
∀n : set, n ∈ ω → N2 ⊆ n → apply_fun subseq n ∈ open_ball X d x eps1.
We prove the intermediate
claim Hk1ord:
ordinal k1.
We prove the intermediate
claim HN2ord:
ordinal N2.
We prove the intermediate
claim Hcase:
k1 ∈ N2 ∨ N2 ⊆ k1.
Apply Hcase to the current goal.
Set k to be the term N2.
We prove the intermediate
claim Hkomega:
k ∈ ω.
An exact proof term for the current goal is HN2omega.
We prove the intermediate
claim HNk:
N2 ⊆ k.
An
exact proof term for the current goal is
(Subq_ref N2).
We prove the intermediate
claim HfkOmega:
apply_fun f k ∈ ω.
An exact proof term for the current goal is (HfFun k Hkomega).
An exact proof term for the current goal is (Hfinc k1 k Hk1omega Hkomega Hk1lt).
An
exact proof term for the current goal is
(Htrans_fk (apply_fun f k1) Hfk1In).
We prove the intermediate
claim HN1subfk:
N1 ⊆ apply_fun f k.
An exact proof term for the current goal is (HN2prop k Hkomega HNk).
We use N1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HN1omega.
Let n be given.
rewrite the current goal using Hsubeq (from left to right).
We prove the intermediate
claim HfkO:
apply_fun f k ∈ ω.
An exact proof term for the current goal is (HfFun k Hkomega).
An
exact proof term for the current goal is
(Hseq (apply_fun f k) HfkO).
rewrite the current goal using Happ (from right to left).
rewrite the current goal using Hsym (from right to left).
An exact proof term for the current goal is Hdx1.
An
exact proof term for the current goal is
(HN1prop n (apply_fun f k) HnO HfkO HNn HN1subfk).
We prove the intermediate
claim HseqnX:
apply_fun seq n ∈ X.
An exact proof term for the current goal is (Hseq n HnO).
We prove the intermediate
claim Heps1S:
SNo eps1.
An
exact proof term for the current goal is
(real_SNo eps1 Heps1R).
An exact proof term for the current goal is HdnxLt.
An
exact proof term for the current goal is
(open_ballI X d x s (apply_fun seq n) HseqnX HdxnLt).
An
exact proof term for the current goal is
(HsubU (apply_fun seq n) HseqnBall).
Set k to be the term k1.
We prove the intermediate
claim Hkomega:
k ∈ ω.
An exact proof term for the current goal is Hk1omega.
We prove the intermediate
claim HNk:
N2 ⊆ k.
An exact proof term for the current goal is HN2sub.
We prove the intermediate
claim HN1subfk:
N1 ⊆ apply_fun f k.
An exact proof term for the current goal is HN1subfk1.
An exact proof term for the current goal is (HN2prop k Hkomega HNk).
We use N1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HN1omega.
Let n be given.
rewrite the current goal using Hsubeq (from left to right).
We prove the intermediate
claim HfkO:
apply_fun f k ∈ ω.
An exact proof term for the current goal is (HfFun k Hkomega).
An
exact proof term for the current goal is
(Hseq (apply_fun f k) HfkO).
rewrite the current goal using Happ (from right to left).
rewrite the current goal using Hsym (from right to left).
An exact proof term for the current goal is Hdx1.
An
exact proof term for the current goal is
(HN1prop n (apply_fun f k) HnO HfkO HNn HN1subfk).
We prove the intermediate
claim HseqnX:
apply_fun seq n ∈ X.
An exact proof term for the current goal is (Hseq n HnO).
We prove the intermediate
claim Heps1S:
SNo eps1.
An
exact proof term for the current goal is
(real_SNo eps1 Heps1R).
An exact proof term for the current goal is HdnxLt.
An
exact proof term for the current goal is
(open_ballI X d x s (apply_fun seq n) HseqnX HdxnLt).
An
exact proof term for the current goal is
(HsubU (apply_fun seq n) HseqnBall).
∎