We prove the intermediate
claim HlUnionFam:
l ∈ ⋃ Fam.
An exact proof term for the current goal is (HIcov l HlI).
Let U0 be given.
An exact proof term for the current goal is (HmemOpen U0 HU0Fam).
Apply HexV to the current goal.
Let V be given.
Assume HVpair.
We prove the intermediate
claim HlV:
l ∈ V.
rewrite the current goal using HU0eq (from right to left).
An exact proof term for the current goal is HlU0.
Apply Hexcd to the current goal.
Let c be given.
Assume Hexd.
Apply Hexd to the current goal.
Let d be given.
Assume Hcdpack.
We prove the intermediate
claim Hld:
Rlt l d.
We prove the intermediate
claim Hcl:
Rlt c l.
We prove the intermediate
claim Hcd4:
c ∈ R ∧ d ∈ R.
We prove the intermediate
claim HcR:
c ∈ R.
An
exact proof term for the current goal is
(andEL (c ∈ R) (d ∈ R) Hcd4).
We prove the intermediate
claim HdR:
d ∈ R.
An
exact proof term for the current goal is
(andER (c ∈ R) (d ∈ R) Hcd4).
We prove the intermediate
claim HgapR:
gap ∈ R.
We prove the intermediate
claim HgapPos:
Rlt 0 gap.
We prove the intermediate
claim HgapS:
SNo gap.
An
exact proof term for the current goal is
(real_SNo gap HgapR).
We prove the intermediate
claim HgapPosS:
0 < gap.
An
exact proof term for the current goal is
(RltE_lt 0 gap HgapPos).
We prove the intermediate
claim He1S:
SNo (eps_ 1).
An
exact proof term for the current goal is
SNo_eps_1.
We prove the intermediate
claim He1PosS:
0 < (eps_ 1).
We prove the intermediate
claim HepsR:
eps ∈ R.
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 HepsPosS:
0 < eps.
An
exact proof term for the current goal is
(mul_SNo_pos_pos (eps_ 1) gap He1S HgapS He1PosS HgapPosS).
We prove the intermediate
claim HepsPos:
Rlt 0 eps.
An
exact proof term for the current goal is
(RltI 0 eps real_0 HepsR HepsPosS).
Apply Hexa to the current goal.
Let a be given.
Assume Hapack.
We prove the intermediate
claim Hapair:
a ∈ Good ∧ a ∈ R.
We prove the intermediate
claim HaG:
a ∈ Good.
An
exact proof term for the current goal is
(andEL (a ∈ Good) (a ∈ R) Hapair).
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(andER (a ∈ Good) (a ∈ R) Hapair).
We prove the intermediate
claim Hale_l:
Rle a l.
We prove the intermediate
claim Hcore:
l ∈ R ∧ (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l).
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l)) (∀u : set, u ∈ R → (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 u) → Rle l u) Hlub).
We prove the intermediate
claim Hub:
∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l) Hcore).
An exact proof term for the current goal is (Hub a HaG HaR).
We prove the intermediate
claim HlS:
SNo l.
An
exact proof term for the current goal is
(real_SNo l HlR).
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 HepsLtGap:
eps < gap.
We prove the intermediate
claim He1lt1:
(eps_ 1) < 1.
An
exact proof term for the current goal is
(add_SNo_Lt2 c eps gap HcS HepsS HgapS HepsLtGap).
We prove the intermediate
claim HcGapEq:
add_SNo c gap = l.
An
exact proof term for the current goal is
(add_SNo_com c l HcS HlS).
rewrite the current goal using Hassoc1 (from left to right).
rewrite the current goal using Hcom1 (from left to right).
rewrite the current goal using Hassoc2 (from right to left).
An
exact proof term for the current goal is
(add_SNo_0R l HlS).
We prove the intermediate
claim HcEpsLtL:
add_SNo c eps < l.
rewrite the current goal using HcGapEq (from right to left) at position 2.
An exact proof term for the current goal is HcEpsLt.
We prove the intermediate
claim HmEpsS:
SNo (minus_SNo eps).
An
exact proof term for the current goal is
(SNo_minus_SNo eps HepsS).
We prove the intermediate
claim HcEpsS:
SNo (add_SNo c eps).
An
exact proof term for the current goal is
(SNo_add_SNo c eps HcS HepsS).
rewrite the current goal using
(add_SNo_0R c HcS) (from right to left) at position 1.
rewrite the current goal using
(add_SNo_assoc c eps (minus_SNo eps) HcS HepsS HmEpsS) (from left to right) at position 1.
An
exact proof term for the current goal is
(RltI c (add_SNo l (minus_SNo eps)) HcR HlmEpsR HcLtLmEpsS).
We prove the intermediate
claim HcLtA:
Rlt c a.
We prove the intermediate
claim Haltd:
Rlt a d.
An
exact proof term for the current goal is
(Rle_Rlt_tra a l d Hale_l Hld).
rewrite the current goal using HopenDef (from left to right).
Apply (SepI R (λz : set ⇒ Rlt c z ∧ Rlt z d) a HaR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HcLtA.
An exact proof term for the current goal is Haltd.
We prove the intermediate
claim HaV:
a ∈ V.
An exact proof term for the current goal is (HIntSubV a HaInt).
We prove the intermediate
claim HaU0:
a ∈ U0.
rewrite the current goal using HU0eq (from left to right).
We prove the intermediate
claim HexGpre:
∃Gpre : set, (Gpre ⊆ Fam ∧ finite Gpre ∧ (prefix a) ⊆ ⋃ Gpre).
Apply HexGpre to the current goal.
Let Gpre be given.
Assume HGpre.
We prove the intermediate
claim HGpreLeft:
(Gpre ⊆ Fam ∧ finite Gpre).
An
exact proof term for the current goal is
(andEL (Gpre ⊆ Fam ∧ finite Gpre) ((prefix a) ⊆ ⋃ Gpre) HGpre).
We prove the intermediate
claim HGpreSub:
Gpre ⊆ Fam.
An
exact proof term for the current goal is
(andEL (Gpre ⊆ Fam) (finite Gpre) HGpreLeft).
We prove the intermediate
claim HGpreFin:
finite Gpre.
An
exact proof term for the current goal is
(andER (Gpre ⊆ Fam) (finite Gpre) HGpreLeft).
We prove the intermediate
claim HcovPrefA:
(prefix a) ⊆ ⋃ Gpre.
An
exact proof term for the current goal is
(andER (Gpre ⊆ Fam ∧ finite Gpre) ((prefix a) ⊆ ⋃ Gpre) HGpre).
Set G to be the term
Gpre ∪ {U0}.
We prove the intermediate
claim HGFin:
finite G.
We prove the intermediate
claim HGSub:
G ⊆ Fam.
Let U be given.
An exact proof term for the current goal is (HGpreSub U HUGpre).
We prove the intermediate
claim HUeq:
U = U0.
An
exact proof term for the current goal is
(SingE U0 U HUSing).
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is HU0Fam.
We prove the intermediate
claim HcovPrefL:
(prefix l) ⊆ ⋃ G.
Let x be given.
rewrite the current goal using HprefLdef (from right to left).
An exact proof term for the current goal is Hx.
We prove the intermediate
claim HxleL:
Rle x l.
We prove the intermediate
claim HxR:
x ∈ R.
Apply (xm (Rlt a x) (x ∈ ⋃ G)) to the current goal.
We prove the intermediate
claim HcLtX:
Rlt c x.
An
exact proof term for the current goal is
(Rlt_tra c a x HcLtA Hax).
We prove the intermediate
claim HxLtd:
Rlt x d.
An
exact proof term for the current goal is
(Rle_Rlt_tra x l d HxleL Hld).
rewrite the current goal using HopenDef (from left to right).
Apply (SepI R (λz : set ⇒ Rlt c z ∧ Rlt z d) x HxR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HcLtX.
An exact proof term for the current goal is HxLtd.
We prove the intermediate
claim HxV:
x ∈ V.
An exact proof term for the current goal is (HIntSubV x HxInt).
We prove the intermediate
claim HxU0:
x ∈ U0.
rewrite the current goal using HU0eq (from left to right).
We prove the intermediate
claim HxleA:
Rle x a.
An
exact proof term for the current goal is
(RleI x a HxR HaR Hnax).
We prove the intermediate
claim HxPrefA:
x ∈ prefix a.
rewrite the current goal using HprefAdef (from left to right).
An
exact proof term for the current goal is
(SepI unit_interval (λx0 : set ⇒ Rle x0 a) x HxI HxleA).
We prove the intermediate
claim HxUnionPre:
x ∈ ⋃ Gpre.
An exact proof term for the current goal is (HcovPrefA x HxPrefA).
Let W be given.
An
exact proof term for the current goal is
(UnionI G x W HxW (binunionI1 Gpre {U0} W HWGpre)).
We prove the intermediate
claim HlGood:
l ∈ Good.
We prove the intermediate
claim HexL:
∃G0 : set, (G0 ⊆ Fam ∧ finite G0 ∧ (prefix l) ⊆ ⋃ G0).
We use G to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HGSub.
An exact proof term for the current goal is HGFin.
An exact proof term for the current goal is HcovPrefL.
An
exact proof term for the current goal is
(SepI unit_interval (λa0 : set ⇒ ∃G0 : set, (G0 ⊆ Fam ∧ finite G0 ∧ (prefix a0) ⊆ ⋃ G0)) l HlI HexL).
Apply xm (Rlt 1 d) to the current goal.
We prove the intermediate
claim HcovPref1:
(prefix 1) ⊆ ⋃ G.
Let x be given.
rewrite the current goal using Hprefix1 (from right to left).
An exact proof term for the current goal is Hx.
We prove the intermediate
claim HxR:
x ∈ R.
We prove the intermediate
claim Hxprop:
¬ (Rlt x 0) ∧ ¬ (Rlt 1 x).
An
exact proof term for the current goal is
(SepE2 R (λt : set ⇒ ¬ (Rlt t 0) ∧ ¬ (Rlt 1 t)) x HxI).
We prove the intermediate
claim Hnlt1x:
¬ (Rlt 1 x).
An
exact proof term for the current goal is
(andER (¬ (Rlt x 0)) (¬ (Rlt 1 x)) Hxprop).
We prove the intermediate
claim Hxle1:
Rle x 1.
An
exact proof term for the current goal is
(RleI x 1 HxR real_1 Hnlt1x).
Apply (xm (Rlt l x) (x ∈ ⋃ G)) to the current goal.
We prove the intermediate
claim HcLtX:
Rlt c x.
An
exact proof term for the current goal is
(Rlt_tra c l x Hcl Hltlx).
We prove the intermediate
claim HxLtd:
Rlt x d.
An
exact proof term for the current goal is
(Rle_Rlt_tra x 1 d Hxle1 H1ltd).
rewrite the current goal using HopenDef (from left to right).
Apply (SepI R (λz : set ⇒ Rlt c z ∧ Rlt z d) x HxR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HcLtX.
An exact proof term for the current goal is HxLtd.
We prove the intermediate
claim HxV:
x ∈ V.
An exact proof term for the current goal is (HIntSubV x HxInt).
We prove the intermediate
claim HxU0:
x ∈ U0.
rewrite the current goal using HU0eq (from left to right).
We prove the intermediate
claim HxleL:
Rle x l.
An
exact proof term for the current goal is
(RleI x l HxR HlR Hnltlx).
We prove the intermediate
claim HxPrefL:
x ∈ prefix l.
rewrite the current goal using HprefLdef (from left to right).
An
exact proof term for the current goal is
(SepI unit_interval (λx0 : set ⇒ Rle x0 l) x HxI HxleL).
An exact proof term for the current goal is (HcovPrefL x HxPrefL).
We prove the intermediate
claim HexG1:
∃G1 : set, (G1 ⊆ Fam ∧ finite G1 ∧ (prefix 1) ⊆ ⋃ G1).
We use G to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HGSub.
An exact proof term for the current goal is HGFin.
An exact proof term for the current goal is HcovPref1.
Apply FalseE to the current goal.
We prove the intermediate
claim Hdle1:
Rle d 1.
An
exact proof term for the current goal is
(RleI d 1 HdR real_1 Hn1ltd).
We prove the intermediate
claim HdgapR:
dgap ∈ R.
We prove the intermediate
claim HdgapPos:
Rlt 0 dgap.
We prove the intermediate
claim HdgapS:
SNo dgap.
An
exact proof term for the current goal is
(real_SNo dgap HdgapR).
We prove the intermediate
claim HdgapPosS:
0 < dgap.
An
exact proof term for the current goal is
(RltE_lt 0 dgap HdgapPos).
We prove the intermediate
claim HdeltaR:
delta ∈ R.
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 HdeltaPosS:
0 < delta.
An
exact proof term for the current goal is
(mul_SNo_pos_pos (eps_ 1) dgap He1S HdgapS He1PosS HdgapPosS).
We prove the intermediate
claim HdeltaPos:
Rlt 0 delta.
An
exact proof term for the current goal is
(RltI 0 delta real_0 HdeltaR HdeltaPosS).
We prove the intermediate
claim He1lt1:
(eps_ 1) < 1.
We prove the intermediate
claim HdeltaLtdgap:
delta < dgap.
Set b to be the term
add_SNo l delta.
We prove the intermediate
claim HbR:
b ∈ R.
An
exact proof term for the current goal is
(real_add_SNo l HlR delta HdeltaR).
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 HlLtB:
l < b.
rewrite the current goal using
(add_SNo_0R l HlS) (from right to left) at position 1.
An
exact proof term for the current goal is
(add_SNo_Lt2 l 0 delta HlS SNo_0 HdeltaS HdeltaPosS).
We prove the intermediate
claim Hltlb:
Rlt l b.
An
exact proof term for the current goal is
(RltI l b HlR HbR HlLtB).
We prove the intermediate
claim HldgapEq:
add_SNo l dgap = d.
We prove the intermediate
claim HdS:
SNo d.
An
exact proof term for the current goal is
(real_SNo d HdR).
An
exact proof term for the current goal is
(add_SNo_com l d HlS HdS).
rewrite the current goal using Hassoc1 (from left to right).
rewrite the current goal using Hcom1 (from left to right).
rewrite the current goal using Hassoc2 (from right to left).
An
exact proof term for the current goal is
(add_SNo_0R d HdS).
We prove the intermediate
claim HbLtd:
b < d.
An
exact proof term for the current goal is
(add_SNo_Lt2 l delta dgap HlS HdeltaS HdgapS HdeltaLtdgap).
rewrite the current goal using HldgapEq (from right to left) at position 2.
An exact proof term for the current goal is Hstep.
We prove the intermediate
claim Hltbd:
Rlt b d.
An
exact proof term for the current goal is
(RltI b d HbR HdR HbLtd).
We prove the intermediate
claim Hnltb0:
¬ (Rlt b 0).
We prove the intermediate
claim Hltl0:
Rlt l 0.
An
exact proof term for the current goal is
(Rlt_tra l b 0 Hltlb Hltb0).
An
exact proof term for the current goal is
((RleE_nlt 0 l Hl_ge0) Hltl0).
We prove the intermediate
claim HbLe1:
Rle b 1.
We prove the intermediate
claim HbLed:
Rle b d.
An
exact proof term for the current goal is
(Rle_tra b d 1 HbLed Hdle1).
We prove the intermediate
claim Hnlt1b:
¬ (Rlt 1 b).
An
exact proof term for the current goal is
(RleE_nlt b 1 HbLe1).
Apply (SepI R (λt : set ⇒ ¬ (Rlt t 0) ∧ ¬ (Rlt 1 t)) b HbR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hnltb0.
An exact proof term for the current goal is Hnlt1b.
We prove the intermediate
claim HbGood:
b ∈ Good.
We prove the intermediate
claim HcovPrefB:
(prefix b) ⊆ ⋃ G.
Let x be given.
rewrite the current goal using HprefBdef (from right to left).
An exact proof term for the current goal is Hx.
We prove the intermediate
claim HxleB:
Rle x b.
We prove the intermediate
claim HxR:
x ∈ R.
Apply (xm (Rlt l x) (x ∈ ⋃ G)) to the current goal.
We prove the intermediate
claim HcLtX:
Rlt c x.
An
exact proof term for the current goal is
(Rlt_tra c l x Hcl Hltlx).
We prove the intermediate
claim HxLtd':
Rlt x d.
An
exact proof term for the current goal is
(Rle_Rlt_tra x b d HxleB Hltbd).
rewrite the current goal using HopenDef (from left to right).
Apply (SepI R (λz : set ⇒ Rlt c z ∧ Rlt z d) x HxR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HcLtX.
An exact proof term for the current goal is HxLtd'.
We prove the intermediate
claim HxV:
x ∈ V.
An exact proof term for the current goal is (HIntSubV x HxInt).
We prove the intermediate
claim HxU0:
x ∈ U0.
rewrite the current goal using HU0eq (from left to right).
We prove the intermediate
claim HxleL:
Rle x l.
An
exact proof term for the current goal is
(RleI x l HxR HlR Hnltlx).
We prove the intermediate
claim HxPrefL:
x ∈ prefix l.
rewrite the current goal using HprefLdef (from left to right).
An
exact proof term for the current goal is
(SepI unit_interval (λx0 : set ⇒ Rle x0 l) x HxI HxleL).
An exact proof term for the current goal is (HcovPrefL x HxPrefL).
We prove the intermediate
claim HexGb:
∃G0 : set, (G0 ⊆ Fam ∧ finite G0 ∧ (prefix b) ⊆ ⋃ G0).
We use G to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HGSub.
An exact proof term for the current goal is HGFin.
An exact proof term for the current goal is HcovPrefB.
An
exact proof term for the current goal is
(SepI unit_interval (λa0 : set ⇒ ∃G0 : set, (G0 ⊆ Fam ∧ finite G0 ∧ (prefix a0) ⊆ ⋃ G0)) b HbI HexGb).
We prove the intermediate
claim Hcore_lub:
l ∈ R ∧ ∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l.
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l)) (∀u : set, u ∈ R → (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 u) → Rle l u) Hlub).
We prove the intermediate
claim Hub:
∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀a0 : set, a0 ∈ Good → a0 ∈ R → Rle a0 l) Hcore_lub).
We prove the intermediate
claim HbleL:
Rle b l.
An exact proof term for the current goal is (Hub b HbGood HbR).
An
exact proof term for the current goal is
((RleE_nlt b l HbleL) Hltlb).