Let n be given.
Let x be given.
We prove the intermediate
claim Hseqx:
sequence_on seqx Y.
Let k be given.
An exact proof term for the current goal is (Hfn k HkO).
An exact proof term for the current goal is (Hfnk_on x HxX).
rewrite the current goal using Hdef (from left to right).
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HmY.
An exact proof term for the current goal is Hseqx.
Let e be given.
We prove the intermediate
claim HeR:
e ∈ R.
An
exact proof term for the current goal is
(andEL (e ∈ R) (Rlt 0 e) He).
We prove the intermediate
claim HePos:
Rlt 0 e.
An
exact proof term for the current goal is
(andER (e ∈ R) (Rlt 0 e) He).
An exact proof term for the current goal is (Huc e HeR HePos).
Apply HNbig to the current goal.
Let N be given.
Assume HNpair.
We use N to witness the existential quantifier.
Apply andI to the current goal.
Let m and n be given.
rewrite the current goal using Hseqm (from left to right).
rewrite the current goal using Hseqn (from left to right).
An exact proof term for the current goal is (Htail m n HmO HnO HNm HNn x HxX).
An exact proof term for the current goal is (Hcomplete seqx Hseqx Hcaux).
We prove the intermediate
claim HfxDef:
fx = apply_fun f x.
rewrite the current goal using HfxDef (from left to right).
rewrite the current goal using HfxEq (from left to right).
Use reflexivity.
We prove the intermediate
claim HfxY:
fx ∈ Y.
rewrite the current goal using HfxEq2 (from left to right).
Set Uball to be the term
open_ball Y d fx delta.
We prove the intermediate
claim HfxInBall:
fx ∈ Uball.
An
exact proof term for the current goal is
(center_in_open_ball Y d fx delta HmY HfxY HdeltaPos).
We prove the intermediate
claim HexMx:
∃Mx : set, Mx ∈ ω ∧ ∀k : set, k ∈ ω → Mx ⊆ k → apply_fun seqx k ∈ Uball.
rewrite the current goal using HfxEq2 (from right to left).
An exact proof term for the current goal is HfxInBall.
An exact proof term for the current goal is (Hlim34 Uball HUballIn HfxInBall2).
Apply HexMx to the current goal.
Let Mx be given.
Assume HMxpair.
We prove the intermediate
claim HMxO:
Mx ∈ ω.
An
exact proof term for the current goal is
(andEL (Mx ∈ ω) (∀k : set, k ∈ ω → Mx ⊆ k → apply_fun seqx k ∈ Uball) HMxpair).
We prove the intermediate
claim HtailMx:
∀k : set, k ∈ ω → Mx ⊆ k → apply_fun seqx k ∈ Uball.
An
exact proof term for the current goal is
(andER (Mx ∈ ω) (∀k : set, k ∈ ω → Mx ⊆ k → apply_fun seqx k ∈ Uball) HMxpair).
Set m to be the term
N0 ∪ Mx.
We prove the intermediate
claim HmO:
m ∈ ω.
An
exact proof term for the current goal is
(omega_binunion N0 Mx HN0o HMxO).
We prove the intermediate
claim HN0subm:
N0 ⊆ m.
Let t be given.
An
exact proof term for the current goal is
(binunionI1 N0 Mx t Ht).
We prove the intermediate
claim HMxsubm:
Mx ⊆ m.
Let t be given.
An
exact proof term for the current goal is
(binunionI2 N0 Mx t Ht).
An exact proof term for the current goal is (Htail n m HnO HmO HN0n HN0subm x HxX).
rewrite the current goal using HseqmEq (from right to left).
An exact proof term for the current goal is (HtailMx m HmO HMxsubm).
An exact proof term for the current goal is (Hfn n HnO).
An exact proof term for the current goal is (Hfnn_on x HxX).
An exact proof term for the current goal is (Hfn m HmO).
An exact proof term for the current goal is (Hfnm_on x HxX).
An exact proof term for the current goal is Hdmfx0.
We prove the intermediate
claim HaR:
a ∈ R.
We prove the intermediate
claim HbR:
b ∈ R.
We prove the intermediate
claim HdnR:
dn ∈ R.
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 HbS:
SNo b.
An
exact proof term for the current goal is
(real_SNo b HbR).
We prove the intermediate
claim HdeltaS:
SNo delta.
An
exact proof term for the current goal is
(real_SNo delta HdeltaR).
We prove the intermediate
claim HltA:
a < delta.
An
exact proof term for the current goal is
(RltE_lt a delta Hdnm).
We prove the intermediate
claim HltB:
b < delta.
An
exact proof term for the current goal is
(RltE_lt b delta Hdmfx).
An
exact proof term for the current goal is
(add_SNo_Lt2 b a delta HbS HaS HdeltaS HltA).
An
exact proof term for the current goal is
(add_SNo_com b delta HbS HdeltaS).
We prove the intermediate
claim Hsum3:
add_SNo delta b < add_SNo delta delta.
An
exact proof term for the current goal is
(add_SNo_Lt2 delta b delta HdeltaS HbS HdeltaS HltB).
We prove the intermediate
claim Hsum3b:
add_SNo b delta < add_SNo delta delta.
rewrite the current goal using Hsum2 (from left to right).
An exact proof term for the current goal is Hsum3.
An
exact proof term for the current goal is
(add_SNo_com a b HaS HbS).
rewrite the current goal using Hsum5 (from left to right).
An exact proof term for the current goal is Hsum4.
We prove the intermediate
claim HepsNR:
eps_ Nsmall ∈ R.
We prove the intermediate
claim HepsNS:
SNo (eps_ Nsmall).
An
exact proof term for the current goal is
(real_SNo (eps_ Nsmall) HepsNR).
We prove the intermediate
claim Hhalf:
add_SNo delta delta = eps_ Nsmall.
We prove the intermediate
claim Hnat:
nat_p Nsmall.
An
exact proof term for the current goal is
(omega_nat_p Nsmall HNsmallO).
We prove the intermediate
claim Hsum7:
add_SNo a b < eps_ Nsmall.
rewrite the current goal using Hhalf (from right to left).
An exact proof term for the current goal is Hsum6.
We prove the intermediate
claim HepsS:
SNo eps.
An
exact proof term for the current goal is
(real_SNo eps HepsR).
We prove the intermediate
claim HepsNlt:
eps_ Nsmall < eps.
An exact proof term for the current goal is HepsNltS.
We prove the intermediate
claim Hsum8:
add_SNo a b < eps.
We prove the intermediate
claim HsumR:
add_SNo a b ∈ R.
An
exact proof term for the current goal is
(real_add_SNo a HaR b HbR).
We prove the intermediate
claim HsumLt:
Rlt (add_SNo a b) eps.
An
exact proof term for the current goal is
(RltI (add_SNo a b) eps HsumR HepsR Hsum8).
rewrite the current goal using HdnEq (from left to right).
An
exact proof term for the current goal is
(Rle_Rlt_tra dn (add_SNo a b) eps Htri HsumLt).