Let V be given.
We prove the intermediate
claim HmY:
metric_on Y d.
rewrite the current goal using HdefMT (from right to left).
An exact proof term for the current goal is HV.
We prove the intermediate
claim HVloc:
∀y0 ∈ V, ∃b ∈ B, y0 ∈ b ∧ b ⊆ V.
An
exact proof term for the current goal is
(SepE2 (𝒫 Y) (λU0 : set ⇒ ∀y0 ∈ U0, ∃b ∈ B, y0 ∈ b ∧ b ⊆ U0) V HVgen).
We prove the intermediate
claim HfxY:
apply_fun f x ∈ Y.
An exact proof term for the current goal is (Hf x HxX).
Apply (HVloc (apply_fun f x) HfxV) to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbB:
b ∈ B.
An
exact proof term for the current goal is
(andEL (b ∈ B) (apply_fun f x ∈ b ∧ b ⊆ V) Hbpair).
We prove the intermediate
claim Hbprop:
apply_fun f x ∈ b ∧ b ⊆ V.
An
exact proof term for the current goal is
(andER (b ∈ B) (apply_fun f x ∈ b ∧ b ⊆ V) Hbpair).
We prove the intermediate
claim Hfxb:
apply_fun f x ∈ b.
An
exact proof term for the current goal is
(andEL (apply_fun f x ∈ b) (b ⊆ V) Hbprop).
We prove the intermediate
claim HbsubV:
b ⊆ V.
An
exact proof term for the current goal is
(andER (apply_fun f x ∈ b) (b ⊆ V) Hbprop).
Let c be given.
Let r be given.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hfxb.
Apply Hexs to the current goal.
Let s be given.
Assume Hs.
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 HCrSubV:
open_ball Y d c r ⊆ V.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is HbsubV.
Apply HexN to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNin:
N ∈ ω.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HNin.
Apply Hexn0 to the current goal.
Let n0 be given.
We prove the intermediate
claim Hn0in:
n0 ∈ ω.
We prove the intermediate
claim HsuccOmega:
ordsucc n0 ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc n0 Hn0in).
We prove the intermediate
claim Hnot0:
ordsucc n0 ∉ {0}.
We prove the intermediate
claim Heq0:
ordsucc n0 = 0.
An
exact proof term for the current goal is
(SingE 0 (ordsucc n0) Hmem0).
An
exact proof term for the current goal is
((neq_ordsucc_0 n0) Heq0).
We prove the intermediate
claim Heps0R:
eps0 ∈ R.
We prove the intermediate
claim Heps0Pos:
Rlt 0 eps0.
We prove the intermediate
claim Hu0in:
(U_eps X Tx Y d fn eps0) ∈ Ufam.
We prove the intermediate
claim HxU0:
x ∈ (U_eps X Tx Y d fn eps0).
An
exact proof term for the current goal is
(HxAll (U_eps X Tx Y d fn eps0) Hu0in).
We prove the intermediate
claim HUepsDef:
U_eps X Tx Y d fn eps0 = ⋃ UFam.
We prove the intermediate
claim HxUnion:
x ∈ ⋃ UFam.
rewrite the current goal using HUepsDef (from right to left).
An exact proof term for the current goal is HxU0.
Let W be given.
Let N0 be given.
rewrite the current goal using HWdef (from right to left).
An exact proof term for the current goal is HxW.
We prove the intermediate
claim HxX2:
x ∈ X.
An exact proof term for the current goal is HxX.
We prove the intermediate
claim HexU0:
∃U0 : set, U0 ∈ Tx ∧ x ∈ U0 ∧ U0 ⊆ (A_N_eps X Y d fn N0 eps0).
We prove the intermediate
claim HxInt2:
x ∈ {x0 ∈ X|∃U0 : set, U0 ∈ Tx ∧ x0 ∈ U0 ∧ U0 ⊆ (A_N_eps X Y d fn N0 eps0)}.
rewrite the current goal using HintDef (from right to left).
An exact proof term for the current goal is HxInt.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ ∃U0 : set, U0 ∈ Tx ∧ x0 ∈ U0 ∧ U0 ⊆ (A_N_eps X Y d fn N0 eps0)) x HxInt2).
Apply HexU0 to the current goal.
Let U0 be given.
We prove the intermediate
claim HU0pair:
U0 ∈ Tx ∧ x ∈ U0.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx ∧ x ∈ U0) (U0 ⊆ (A_N_eps X Y d fn N0 eps0)) HU0).
We prove the intermediate
claim HU0subA:
U0 ⊆ (A_N_eps X Y d fn N0 eps0).
An
exact proof term for the current goal is
(andER (U0 ∈ Tx ∧ x ∈ U0) (U0 ⊆ (A_N_eps X Y d fn N0 eps0)) HU0).
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U0 ∈ Tx) (x ∈ U0) HU0pair).
We prove the intermediate
claim HxU0':
x ∈ U0.
An
exact proof term for the current goal is
(andER (U0 ∈ Tx) (x ∈ U0) HU0pair).
Apply Hexeps1 to the current goal.
Let eps1 be given.
Assume Heps1.
We prove the intermediate
claim Heps1core:
eps1 ∈ R ∧ Rlt 0 eps1.
We prove the intermediate
claim Heps1R:
eps1 ∈ R.
An
exact proof term for the current goal is
(andEL (eps1 ∈ R) (Rlt 0 eps1) Heps1core).
We prove the intermediate
claim Heps1Pos:
Rlt 0 eps1.
An
exact proof term for the current goal is
(andER (eps1 ∈ R) (Rlt 0 eps1) Heps1core).
Apply Hexn1 to the current goal.
Let n1 be given.
Assume Hn1pair.
We prove the intermediate
claim Hn1O:
n1 ∈ ω.
We prove the intermediate
claim HepsSR:
epsS ∈ R.
We prove the intermediate
claim HepsSle:
Rle epsS eps1.
An
exact proof term for the current goal is
(Rlt_implies_Rle epsS eps1 Hinv1Lt).
We prove the intermediate
claim HUfamIn:
(U_eps X Tx Y d fn epsS) ∈ Ufam.
We prove the intermediate
claim HxInUepsS:
x ∈ U_eps X Tx Y d fn epsS.
An
exact proof term for the current goal is
(HxAll (U_eps X Tx Y d fn epsS) HUfamIn).
We prove the intermediate
claim HUmono:
U_eps X Tx Y d fn epsS ⊆ U_eps X Tx Y d fn eps1.
An
exact proof term for the current goal is
(U_eps_monotone X Tx Y d fn epsS eps1 HTx HepsSR Heps1R HepsSle).
We prove the intermediate
claim HxInUeps1:
x ∈ U_eps X Tx Y d fn eps1.
An exact proof term for the current goal is (HUmono x HxInUepsS).
We prove the intermediate
claim HexU1:
∃N1 : set, N1 ∈ ω ∧ ∃U1 : set, U1 ∈ Tx ∧ x ∈ U1 ∧ U1 ⊆ A_N_eps X Y d fn N1 eps1.
Apply HexU1 to the current goal.
Let N1 be given.
Assume HN1pair.
We prove the intermediate
claim HN1O:
N1 ∈ ω.
An
exact proof term for the current goal is
(andEL (N1 ∈ ω) (∃U1 : set, U1 ∈ Tx ∧ x ∈ U1 ∧ U1 ⊆ A_N_eps X Y d fn N1 eps1) HN1pair).
We prove the intermediate
claim HexU1b:
∃U1 : set, U1 ∈ Tx ∧ x ∈ U1 ∧ U1 ⊆ A_N_eps X Y d fn N1 eps1.
An
exact proof term for the current goal is
(andER (N1 ∈ ω) (∃U1 : set, U1 ∈ Tx ∧ x ∈ U1 ∧ U1 ⊆ A_N_eps X Y d fn N1 eps1) HN1pair).
Apply HexU1b to the current goal.
Let U1 be given.
We prove the intermediate
claim HU1pair:
U1 ∈ Tx ∧ x ∈ U1.
An
exact proof term for the current goal is
(andEL (U1 ∈ Tx ∧ x ∈ U1) (U1 ⊆ A_N_eps X Y d fn N1 eps1) HU1).
We prove the intermediate
claim HU1subA:
U1 ⊆ A_N_eps X Y d fn N1 eps1.
An
exact proof term for the current goal is
(andER (U1 ∈ Tx ∧ x ∈ U1) (U1 ⊆ A_N_eps X Y d fn N1 eps1) HU1).
We prove the intermediate
claim HU1Tx:
U1 ∈ Tx.
An
exact proof term for the current goal is
(andEL (U1 ∈ Tx) (x ∈ U1) HU1pair).
We prove the intermediate
claim HxU1:
x ∈ U1.
An
exact proof term for the current goal is
(andER (U1 ∈ Tx) (x ∈ U1) HU1pair).
Set U01 to be the term
U0 ∩ U1.
We prove the intermediate
claim HU01Tx:
U01 ∈ Tx.
We prove the intermediate
claim HxU01:
x ∈ U01.
An
exact proof term for the current goal is
(binintersectI U0 U1 x HxU0' HxU1).
An exact proof term for the current goal is (Hlim x HxX eps1 Heps1R Heps1Pos).
Apply HexNx to the current goal.
Let Nx be given.
Assume HNxpair.
We prove the intermediate
claim HNxO:
Nx ∈ ω.
Set Nmax to be the term
(N0 ∪ N1) ∪ Nx.
We prove the intermediate
claim HN01O:
(N0 ∪ N1) ∈ ω.
An
exact proof term for the current goal is
(omega_binunion N0 N1 HN0 HN1O).
We prove the intermediate
claim HNmaxO:
Nmax ∈ ω.
An
exact proof term for the current goal is
(omega_binunion (N0 ∪ N1) Nx HN01O HNxO).
We prove the intermediate
claim HnO:
n ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc Nmax HNmaxO).
We prove the intermediate
claim HN0n:
N0 ⊆ n.
We prove the intermediate
claim HN1n:
N1 ⊆ n.
We prove the intermediate
claim HNxn:
Nx ⊆ n.
An exact proof term for the current goal is (Hcont n HnO).
We prove the intermediate
claim Hfnn:
function_on fnn X Y.
We prove the intermediate
claim HmY:
metric_on Y d.
We prove the intermediate
claim HfnxY:
apply_fun fnn x ∈ Y.
An exact proof term for the current goal is (Hfnn x HxX).
We prove the intermediate
claim HU2Tx:
U2 ∈ Tx.
We prove the intermediate
claim HxU2:
x ∈ U2.
rewrite the current goal using HU2def (from left to right).
Set U to be the term
U01 ∩ U2.
We prove the intermediate
claim HUinTx:
U ∈ Tx.
We prove the intermediate
claim HxU:
x ∈ U.
An
exact proof term for the current goal is
(binintersectI U01 U2 x HxU01 HxU2).
We use U to witness the existential quantifier.
Apply and3I to the current goal.
An exact proof term for the current goal is HUinTx.
An exact proof term for the current goal is HxU.
Let u be given.
We prove the intermediate
claim HuU01:
u ∈ U01.
An
exact proof term for the current goal is
(binintersectE1 U01 U2 u HuU).
We prove the intermediate
claim HuU2:
u ∈ U2.
An
exact proof term for the current goal is
(binintersectE2 U01 U2 u HuU).
We prove the intermediate
claim HuU0:
u ∈ U0.
An
exact proof term for the current goal is
(binintersectE1 U0 U1 u HuU01).
We prove the intermediate
claim HuU1:
u ∈ U1.
An
exact proof term for the current goal is
(binintersectE2 U0 U1 u HuU01).
We prove the intermediate
claim HuX:
u ∈ X.
We prove the intermediate
claim HfuY:
apply_fun f u ∈ Y.
An exact proof term for the current goal is (Hf u HuX).
We prove the intermediate
claim HfnnuY:
apply_fun fnn u ∈ Y.
An exact proof term for the current goal is (Hfnn u HuX).
rewrite the current goal using HU2def2 (from right to left).
An exact proof term for the current goal is HuU2.
We prove the intermediate
claim HfxY:
apply_fun f x ∈ Y.
An exact proof term for the current goal is (Hf x HxX).
An exact proof term for the current goal is (HNxprop n HnO HNxn).
rewrite the current goal using Hsym_fnn_fx (from right to left).
An exact proof term for the current goal is Hdfnfx.
We prove the intermediate
claim HuA1:
u ∈ A_N_eps X Y d fn N1 eps1.
An exact proof term for the current goal is (HU1subA u HuU1).
An exact proof term for the current goal is (Hlim u HuX eps1 Heps1R Heps1Pos).
Apply HexNu to the current goal.
Let Nu be given.
Assume HNuPair.
We prove the intermediate
claim HNuO:
Nu ∈ ω.
Set Mmax2 to be the term
n ∪ Nu.
We prove the intermediate
claim HMmax2O:
Mmax2 ∈ ω.
An
exact proof term for the current goal is
(omega_binunion n Nu HnO HNuO).
Set m to be the term
ordsucc Mmax2.
We prove the intermediate
claim HmO:
m ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc Mmax2 HMmax2O).
We prove the intermediate
claim HnSubm:
n ⊆ m.
We prove the intermediate
claim HNuSubm:
Nu ⊆ m.
We prove the intermediate
claim HN1m:
N1 ⊆ m.
An
exact proof term for the current goal is
(Subq_tra N1 n m HN1n HnSubm).
An exact proof term for the current goal is (Hcont m HmO).
We prove the intermediate
claim Hfnm:
function_on fnm X Y.
We prove the intermediate
claim HfmuY:
apply_fun fnm u ∈ Y.
An exact proof term for the current goal is (Hfnm u HuX).
An exact proof term for the current goal is (HNuProp m HmO HNuSubm).
An exact proof term for the current goal is (Htailu n HnO HN1n m HmO HN1m).
We prove the intermediate
claim Hd1le:
Rle d1 eps1.
An exact proof term for the current goal is Hd_fnu_fmu_le.
We prove the intermediate
claim Hd2le:
Rle d2 eps1.
An exact proof term for the current goal is Hd_fmu_fu_le.
We prove the intermediate
claim Hd1R:
d1 ∈ R.
An
exact proof term for the current goal is
(RleE_left d1 eps1 Hd1le).
We prove the intermediate
claim Hd2R:
d2 ∈ R.
An
exact proof term for the current goal is
(RleE_left d2 eps1 Hd2le).
We prove the intermediate
claim Hd1S:
SNo d1.
An
exact proof term for the current goal is
(real_SNo d1 Hd1R).
We prove the intermediate
claim Hd2S:
SNo d2.
An
exact proof term for the current goal is
(real_SNo d2 Hd2R).
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
(add_SNo_com d1 d2 Hd1S Hd2S).
rewrite the current goal using Hcomm12 (from left to right).
An
exact proof term for the current goal is
(Rle_add_SNo_2 d2 d1 eps1 Hd2R Hd1R Heps1R Hd1le).
An
exact proof term for the current goal is
(add_SNo_com d2 eps1 Hd2S Heps1S).
rewrite the current goal using Hcomm2 (from right to left).
An exact proof term for the current goal is HstepA.
An
exact proof term for the current goal is
(Rle_add_SNo_2 eps1 d2 eps1 Heps1R Hd2R Heps1R Hd2le).
We prove the intermediate
claim Ha_le:
Rle a eps1.
An
exact proof term for the current goal is
(Rlt_implies_Rle a eps1 Hdfxfn).
We prove the intermediate
claim Hb_le:
Rle b eps1.
An
exact proof term for the current goal is
(Rlt_implies_Rle b eps1 Hdfnn).
We prove the intermediate
claim Hc_le:
Rle c (add_SNo eps1 eps1).
An exact proof term for the current goal is Hd_fnu_fu_le2.
We prove the intermediate
claim Htri_y:
Rle y (add_SNo b c).
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(RleE_left a eps1 Ha_le).
We prove the intermediate
claim HbR:
b ∈ R.
An
exact proof term for the current goal is
(RleE_left b eps1 Hb_le).
We prove the intermediate
claim HcR:
c ∈ R.
An
exact proof term for the current goal is
(RleE_left c (add_SNo eps1 eps1) Hc_le).
We prove the intermediate
claim HyR:
y ∈ R.
We prove the intermediate
claim HbcR:
add_SNo b c ∈ R.
We prove the intermediate
claim HbS:
SNo b.
An
exact proof term for the current goal is
(real_SNo b HbR).
We prove the intermediate
claim HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcR).
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
(add_SNo_com b c HbS HcS).
We prove the intermediate
claim HtR:
t ∈ R.
We prove the intermediate
claim Hbc_le_t:
Rle (add_SNo b c) t.
rewrite the current goal using Hcomm_bc (from left to right).
An
exact proof term for the current goal is
(Rle_add_SNo_2 c b eps1 HcR HbR Heps1R Hb_le).
An
exact proof term for the current goal is
(add_SNo_com c eps1 HcS Heps1S).
rewrite the current goal using Hcomm_c (from right to left).
An exact proof term for the current goal is Hstep1.
We prove the intermediate
claim HccR:
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 Hstep2:
Rle (add_SNo eps1 c) t.
An
exact proof term for the current goal is
(Rle_add_SNo_2 eps1 c (add_SNo eps1 eps1) Heps1R HcR HccR Hc_le).
An
exact proof term for the current goal is
(Rle_add_SNo_2 a (add_SNo b c) t HaR HbcR HtR Hbc_le_t).
We prove the intermediate
claim HaS:
SNo a.
An
exact proof term for the current goal is
(real_SNo a HaR).
We prove the intermediate
claim HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
An
exact proof term for the current goal is
(add_SNo_com a t HaS HtS).
An
exact proof term for the current goal is
(Rle_add_SNo_2 t a eps1 HtR HaR Heps1R Ha_le).
An
exact proof term for the current goal is
(add_SNo_com t eps1 HtS Heps1S).
rewrite the current goal using Hcomm_at (from left to right).
rewrite the current goal using Hcomm_te (from right to left).
An exact proof term for the current goal is HstepA.
We prove the intermediate
claim Heps11R:
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 Heps11S:
SNo (add_SNo eps1 eps1).
An
exact proof term for the current goal is
(real_SNo (add_SNo eps1 eps1) Heps11R).
rewrite the current goal using
(add_SNo_assoc eps1 eps1 (add_SNo eps1 eps1) Heps1S Heps1S Heps11S) (from left to right).
Use reflexivity.
rewrite the current goal using Hassoc (from right to left).
An exact proof term for the current goal is Hd_le_et.
Apply HballSubV to the current goal.
An exact proof term for the current goal is HballGoal.