Let n be given.
Apply Hno to the current goal.
We use n to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HnO.
An exact proof term for the current goal is Hleb.
Set badpt to be the term
(λn : set ⇒ Eps_i (λx : set ⇒ x ∈ X ∧ ∀U : set, U ∈ Fam → ¬ (open_ball X d x (eps_ n) ⊆ U))).
We prove the intermediate
claim Hbadpt:
∀n : set, n ∈ ω → badpt n ∈ X ∧ ∀U : set, U ∈ Fam → ¬ (open_ball X d (badpt n) (eps_ n) ⊆ U).
Let n be given.
We prove the intermediate
claim HepsR:
eps_ n ∈ R.
We prove the intermediate
claim HepsPosS:
0 < eps_ n.
An
exact proof term for the current goal is
(SNo_eps_pos n HnO).
We prove the intermediate
claim HepsPos:
Rlt 0 (eps_ n).
An
exact proof term for the current goal is
(RltI 0 (eps_ n) real_0 HepsR HepsPosS).
We prove the intermediate
claim HnotAll:
¬ (∀x : set, x ∈ X → ∃U : set, U ∈ Fam ∧ open_ball X d x (eps_ n) ⊆ U).
Apply (HnoN n HnO) to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HepsR.
An exact proof term for the current goal is HepsPos.
An exact proof term for the current goal is Hall.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
Apply (xm (x ∈ X)) to the current goal.
An exact proof term for the current goal is HxX0.
Apply FalseE to the current goal.
Apply HxNotImp to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxNotX HxX0).
We prove the intermediate
claim HnotEx:
¬ (∃U : set, U ∈ Fam ∧ open_ball X d x (eps_ n) ⊆ U).
Apply HxNotImp to the current goal.
An exact proof term for the current goal is HexU.
We prove the intermediate
claim HforU:
∀U : set, U ∈ Fam → ¬ (open_ball X d x (eps_ n) ⊆ U).
Let U be given.
Apply HnotEx to the current goal.
We use U to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HUfam.
An exact proof term for the current goal is Hsub.
We prove the intermediate
claim HxBad:
x ∈ X ∧ ∀U : set, U ∈ Fam → ¬ (open_ball X d x (eps_ n) ⊆ U).
Apply andI to the current goal.
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is HforU.
An
exact proof term for the current goal is
(Eps_i_ax (λx0 : set ⇒ x0 ∈ X ∧ ∀U : set, U ∈ Fam → ¬ (open_ball X d x0 (eps_ n) ⊆ U)) x HxBad).
Set seq to be the term
graph ω (λn : set ⇒ badpt n).
We prove the intermediate
claim Hseqval:
∀n : set, n ∈ ω → badpt n ∈ X.
Let n be given.
An
exact proof term for the current goal is
(andEL (badpt n ∈ X) (∀U : set, U ∈ Fam → ¬ (open_ball X d (badpt n) (eps_ n) ⊆ U)) (Hbadpt n HnO)).
We prove the intermediate
claim Hdef:
seq = graph ω (λn : set ⇒ badpt n).
rewrite the current goal using Hdef (from left to right).
We prove the intermediate
claim Hseq:
sequence_on seq X.
Apply Hseqc to the current goal.
Assume HTx HseqcProp.
Apply (HseqcProp seq Hseq) to the current goal.
Let subseq be given.
Assume Hexsub.
Apply Hexsub to the current goal.
Let x0 be given.
Assume Hpack.
We prove the intermediate
claim Hx0X:
x0 ∈ X.
We prove the intermediate
claim HXcov:
X ⊆ ⋃ Fam.
We prove the intermediate
claim Hx0Union:
x0 ∈ ⋃ Fam.
An exact proof term for the current goal is (HXcov x0 Hx0X).
Apply (UnionE Fam x0 Hx0Union) to the current goal.
Let U0 be given.
We prove the intermediate
claim Hx0U0:
x0 ∈ U0.
An
exact proof term for the current goal is
(andEL (x0 ∈ U0) (U0 ∈ Fam) Hx0pack).
We prove the intermediate
claim HU0Fam:
U0 ∈ Fam.
An
exact proof term for the current goal is
(andER (x0 ∈ U0) (U0 ∈ Fam) Hx0pack).
Apply Hexr 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.
An
exact proof term for the current goal is
(andEL (Rlt 0 r) (open_ball X d x0 r ⊆ U0) Hrrest).
We prove the intermediate
claim HballsubU0:
open_ball X d x0 r ⊆ U0.
An
exact proof term for the current goal is
(andER (Rlt 0 r) (open_ball X d x0 r ⊆ U0) Hrrest).
We prove the intermediate
claim HexN0:
∃N0 ∈ ω, eps_ N0 < r.
Apply HexN0 to the current goal.
Let N0 be given.
Assume HN0pack.
We prove the intermediate
claim HN0omega:
N0 ∈ ω.
An
exact proof term for the current goal is
(andEL (N0 ∈ ω) (eps_ N0 < r) HN0pack).
We prove the intermediate
claim HepsN0ltS:
eps_ N0 < r.
An
exact proof term for the current goal is
(andER (N0 ∈ ω) (eps_ N0 < r) HN0pack).
We prove the intermediate
claim HN0nat:
nat_p N0.
An
exact proof term for the current goal is
(omega_nat_p N0 HN0omega).
We prove the intermediate
claim HN1omega:
N1 ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N0 HN0omega).
Set eps1 to be the term
eps_ N1.
We prove the intermediate
claim Heps1R:
eps1 ∈ R.
We prove the intermediate
claim Heps1PosS:
0 < eps1.
An
exact proof term for the current goal is
(SNo_eps_pos N1 HN1omega).
We prove the intermediate
claim Heps1Pos:
Rlt 0 eps1.
An
exact proof term for the current goal is
(RltI 0 eps1 real_0 Heps1R Heps1PosS).
We prove the intermediate
claim HepsN0R:
eps_ N0 ∈ R.
We prove the intermediate
claim HepsN0lt:
Rlt (eps_ N0) r.
An
exact proof term for the current goal is
(RltI (eps_ N0) r HepsN0R HrR HepsN0ltS).
We prove the intermediate
claim HsumEq:
add_SNo eps1 eps1 = eps_ N0.
We prove the intermediate
claim HsumR:
add_SNo eps1 eps1 ∈ R.
An
exact proof term for the current goal is
(real_add_SNo eps1 Heps1R eps1 Heps1R).
We prove the intermediate
claim HsumRlt:
Rlt (add_SNo eps1 eps1) r.
rewrite the current goal using HsumEq (from left to right).
An exact proof term for the current goal is HepsN0lt.
We prove the intermediate
claim Hx0B1:
x0 ∈ B1.
An
exact proof term for the current goal is
(center_in_open_ball X d x0 eps1 Hd Hx0X Heps1Pos).
We prove the intermediate
claim HexK:
∃K : set, K ∈ ω ∧ ∀k : set, k ∈ ω → K ⊆ k → apply_fun subseq k ∈ B1.
Apply HexK to the current goal.
Let K be given.
Assume HKpack.
We prove the intermediate
claim HKomega:
K ∈ ω.
An
exact proof term for the current goal is
(andEL (K ∈ ω) (∀k : set, k ∈ ω → K ⊆ k → apply_fun subseq k ∈ B1) HKpack).
We prove the intermediate
claim HeventB1:
∀k : set, k ∈ ω → K ⊆ k → apply_fun subseq k ∈ B1.
An
exact proof term for the current goal is
(andER (K ∈ ω) (∀k : set, k ∈ ω → K ⊆ k → apply_fun subseq k ∈ B1) HKpack).
Apply Hsubseq 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 HsuccN1omega:
ordsucc N1 ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N1 HN1omega).
Apply Hexk0 to the current goal.
Let k0 be given.
Assume Hk0pack.
We prove the intermediate
claim Hk0omega:
k0 ∈ ω.
Let k be given.
Assume Hkpack.
We prove the intermediate
claim Hkomega:
k ∈ ω.
We prove the intermediate
claim HKsubk:
K ⊆ k.
We prove the intermediate
claim Hk0subk:
k0 ⊆ k.
We prove the intermediate
claim HsubkB1:
apply_fun subseq k ∈ B1.
An exact proof term for the current goal is (HeventB1 k Hkomega HKsubk).
We prove the intermediate
claim HsubkX:
apply_fun subseq k ∈ X.
We prove the intermediate
claim Hfk0O:
apply_fun f k0 ∈ ω.
We prove the intermediate
claim HfkO:
apply_fun f k ∈ ω.
We prove the intermediate
claim Hordk0:
ordinal k0.
We prove the intermediate
claim Hordk:
ordinal k.
We prove the intermediate
claim Hk0EqOrIn:
k0 = k ∨ k0 ∈ k.
An
exact proof term for the current goal is
(orIR (k0 = k) (k0 ∈ k) Hk0in).
An
exact proof term for the current goal is
(orIL (k0 = k) (k0 ∈ k) Hk0eq).
Apply FalseE to the current goal.
We prove the intermediate
claim Hkk:
k ∈ k.
An exact proof term for the current goal is (Hk0subk k Hkin).
An
exact proof term for the current goal is
(In_irref k Hkk).
Apply (xm (k0 = k)) to the current goal.
rewrite the current goal using Hk0eq (from left to right).
We prove the intermediate
claim Hk0in:
k0 ∈ k.
An exact proof term for the current goal is Hk0in0.
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hk0ne Hk0eq).
Apply FalseE to the current goal.
We prove the intermediate
claim Hkk:
k ∈ k.
An exact proof term for the current goal is (Hk0subk k Hkin).
An
exact proof term for the current goal is
(In_irref k Hkk).
An exact proof term for the current goal is (Hfinc k0 k Hk0omega Hkomega Hk0in).
An
exact proof term for the current goal is
(Ht_fk (apply_fun f k0) Hfk0in_fk).
We prove the intermediate
claim HN1InSucc:
N1 ∈ ordsucc N1.
An
exact proof term for the current goal is
(ordsuccI2 N1).
We prove the intermediate
claim HN1in_fk:
N1 ∈ apply_fun f k.
An exact proof term for the current goal is (HsuccN1sub_fk N1 HN1InSucc).
We prove the intermediate
claim HepsfkSlt:
eps_ (apply_fun f k) < eps1.
An
exact proof term for the current goal is
(RltI (eps_ (apply_fun f k)) eps1 HepsfkR Heps1R HepsfkSlt).
Let y be given.
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(Hfun (x0,apply_fun subseq k) Hpair).
An
exact proof term for the current goal is
(Hfun (apply_fun subseq k,y) Hpair).
We prove the intermediate
claim Heps1S:
SNo eps1.
An
exact proof term for the current goal is
(real_SNo eps1 Heps1R).
We prove the intermediate
claim Hdx0yR:
apply_fun d (x0,y) ∈ R.
We prove the intermediate
claim Hpair:
(x0,y) ∈ setprod X X.
An exact proof term for the current goal is (Hfun (x0,y) Hpair).
An exact proof term for the current goal is (HtriNot Hbad).
We prove the intermediate
claim Hdx0yLt:
Rlt (apply_fun d (x0,y)) r.
We prove the intermediate
claim HyBallx0:
y ∈ open_ball X d x0 r.
An
exact proof term for the current goal is
(open_ballI X d x0 r y HyX Hdx0yLt).
An exact proof term for the current goal is (HballsubU0 y HyBallx0).
rewrite the current goal using Hsubeq (from left to right).
We prove the intermediate
claim Hseqdef:
seq = graph ω (λn : set ⇒ badpt n).
rewrite the current goal using Hseqdef (from left to right).
rewrite the current goal using HsubkEq0 (from left to right).
rewrite the current goal using Hseqfk (from left to right).
Use reflexivity.
Let U be given.
rewrite the current goal using HsubkEq (from left to right).
Apply FalseE to the current goal.
An exact proof term for the current goal is ((Hbadk U0 HU0Fam) HBallSubU0).