We prove the intermediate
claim Hv0notU:
v0 ∉ U.
We prove the intermediate
claim Hv0UV:
v0 ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V v0 Hv0U Hv0V).
We prove the intermediate
claim Hv0Empty:
v0 ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is Hv0UV.
An
exact proof term for the current goal is
(EmptyE v0 Hv0Empty).
Apply HexUamb to the current goal.
Let Uamb be given.
We prove the intermediate
claim HlUamb:
l ∈ Uamb.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HlU.
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 HIntSubUamb:
open_interval c d ⊆ Uamb.
We prove the intermediate
claim HcR:
c ∈ R.
We prove the intermediate
claim HdR:
d ∈ R.
We prove the intermediate
claim HdS:
SNo d.
An
exact proof term for the current goal is
(real_SNo d HdR).
We prove the intermediate
claim Hlneqv0:
¬ (l = v0).
We prove the intermediate
claim Hv0U':
v0 ∈ U.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HlU.
An exact proof term for the current goal is (Hv0notU Hv0U').
We prove the intermediate
claim Hlv0:
Rlt l v0.
An
exact proof term for the current goal is
(RltI l v0 HlR Hv0R Hlt).
An
exact proof term for the current goal is
(FalseE (Hlneqv0 Heq) (Rlt l v0)).
We prove the intermediate
claim Hv0l:
Rlt v0 l.
An
exact proof term for the current goal is
(RltI v0 l Hv0R HlR Hgt).
We prove the intermediate
claim Hnlt:
¬ (Rlt v0 l).
An
exact proof term for the current goal is
(RleE_nlt l v0 Hlubv0).
An
exact proof term for the current goal is
(FalseE (Hnlt Hv0l) (Rlt l v0)).
We prove the intermediate
claim Hgap1R:
gap1 ∈ R.
We prove the intermediate
claim Hgap2R:
gap2 ∈ R.
We prove the intermediate
claim Hgap1pos:
Rlt 0 gap1.
We prove the intermediate
claim Hgap2pos:
Rlt 0 gap2.
Let r3 be given.
Assume Hr3pack.
We prove the intermediate
claim Hr3p1:
(r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 gap1.
An
exact proof term for the current goal is
(andEL ((r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 gap1) (Rlt r3 gap2) Hr3pack).
We prove the intermediate
claim Hr3ltgap2:
Rlt r3 gap2.
An
exact proof term for the current goal is
(andER ((r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 gap1) (Rlt r3 gap2) Hr3pack).
We prove the intermediate
claim Hr3p0:
r3 ∈ R ∧ Rlt 0 r3.
An
exact proof term for the current goal is
(andEL (r3 ∈ R ∧ Rlt 0 r3) (Rlt r3 gap1) Hr3p1).
We prove the intermediate
claim Hr3ltgap1:
Rlt r3 gap1.
An
exact proof term for the current goal is
(andER (r3 ∈ R ∧ Rlt 0 r3) (Rlt r3 gap1) Hr3p1).
We prove the intermediate
claim Hr3R:
r3 ∈ R.
An
exact proof term for the current goal is
(andEL (r3 ∈ R) (Rlt 0 r3) Hr3p0).
We prove the intermediate
claim Hr3pos:
Rlt 0 r3.
An
exact proof term for the current goal is
(andER (r3 ∈ R) (Rlt 0 r3) Hr3p0).
We prove the intermediate
claim Hr3S:
SNo r3.
An
exact proof term for the current goal is
(real_SNo r3 Hr3R).
We prove the intermediate
claim Hr3posS:
0 < r3.
An
exact proof term for the current goal is
(RltE_lt 0 r3 Hr3pos).
We prove the intermediate
claim Hu1R:
add_SNo l r3 ∈ R.
An
exact proof term for the current goal is
(real_add_SNo l HlR r3 Hr3R).
We prove the intermediate
claim Hu1S:
SNo (add_SNo l r3).
An
exact proof term for the current goal is
(real_SNo (add_SNo l r3) Hu1R).
We prove the intermediate
claim Hl_lt_u1S:
l < add_SNo l r3.
We prove the intermediate
claim Hl0:
add_SNo l 0 = l.
An
exact proof term for the current goal is
(add_SNo_0R l HlS).
An
exact proof term for the current goal is
(add_SNo_Lt2 l 0 r3 HlS SNo_0 Hr3S Hr3posS).
rewrite the current goal using Hl0 (from right to left) at position 1.
An exact proof term for the current goal is Hlt.
We prove the intermediate
claim Hl_lt_u1:
Rlt l (add_SNo l r3).
An
exact proof term for the current goal is
(RltI l (add_SNo l r3) HlR Hu1R Hl_lt_u1S).
We prove the intermediate
claim Hr3ltgap1S:
r3 < gap1.
An
exact proof term for the current goal is
(RltE_lt r3 gap1 Hr3ltgap1).
We prove the intermediate
claim Hgap1S:
SNo gap1.
An
exact proof term for the current goal is
(real_SNo gap1 Hgap1R).
We prove the intermediate
claim Hu1lt_dS':
add_SNo r3 l < d.
An
exact proof term for the current goal is
(add_SNo_minus_Lt2 d l r3 HdS HlS Hr3S Hr3ltgap1S).
We prove the intermediate
claim Hu1lt_dS:
add_SNo l r3 < d.
An
exact proof term for the current goal is
(add_SNo_com r3 l Hr3S HlS).
rewrite the current goal using Hcom2 (from right to left).
An exact proof term for the current goal is Hu1lt_dS'.
We prove the intermediate
claim Hu1lt_d:
Rlt (add_SNo l r3) d.
An
exact proof term for the current goal is
(RltI (add_SNo l r3) d Hu1R HdR Hu1lt_dS).
We prove the intermediate
claim Hr3ltgap2S:
r3 < gap2.
An
exact proof term for the current goal is
(RltE_lt r3 gap2 Hr3ltgap2).
We prove the intermediate
claim Hgap2S:
SNo gap2.
An
exact proof term for the current goal is
(real_SNo gap2 Hgap2R).
We prove the intermediate
claim Hu1lt_v0S':
add_SNo r3 l < v0.
An
exact proof term for the current goal is
(add_SNo_minus_Lt2 v0 l r3 Hv0S HlS Hr3S Hr3ltgap2S).
We prove the intermediate
claim Hu1lt_v0S:
add_SNo l r3 < v0.
An
exact proof term for the current goal is
(add_SNo_com r3 l Hr3S HlS).
rewrite the current goal using Hcom3 (from right to left).
An exact proof term for the current goal is Hu1lt_v0S'.
We prove the intermediate
claim Hu1lt_v0:
Rlt (add_SNo l r3) v0.
An
exact proof term for the current goal is
(RltI (add_SNo l r3) v0 Hu1R Hv0R Hu1lt_v0S).
We prove the intermediate
claim Hu1Uamb:
add_SNo l r3 ∈ Uamb.
An
exact proof term for the current goal is
(HIntSubUamb (add_SNo l r3) Hu1InInt).
We prove the intermediate
claim Hv0conj:
¬ (Rlt v0 0) ∧ ¬ (Rlt 1 v0).
An
exact proof term for the current goal is
(SepE2 R (λx : set ⇒ ¬ (Rlt x 0) ∧ ¬ (Rlt 1 x)) v0 Hv0I).
We prove the intermediate
claim Hnlt_1v0:
¬ (Rlt 1 v0).
An
exact proof term for the current goal is
(andER (¬ (Rlt v0 0)) (¬ (Rlt 1 v0)) Hv0conj).
We prove the intermediate
claim Hv0le1:
Rle v0 1.
An
exact proof term for the current goal is
(RleI v0 1 Hv0R H1R Hnlt_1v0).
We prove the intermediate
claim Hu1le_v0:
Rle (add_SNo l r3) v0.
We prove the intermediate
claim Hu1le1:
Rle (add_SNo l r3) 1.
An
exact proof term for the current goal is
(Rle_tra (add_SNo l r3) v0 1 Hu1le_v0 Hv0le1).
We prove the intermediate
claim Hl_le_u1:
Rle l (add_SNo l r3).
We prove the intermediate
claim H0le_u1:
Rle 0 (add_SNo l r3).
An
exact proof term for the current goal is
(Rle_tra 0 l (add_SNo l r3) H0le_l Hl_le_u1).
We prove the intermediate
claim Hnlt_u1_0:
¬ (Rlt (add_SNo l r3) 0).
An
exact proof term for the current goal is
(RleE_nlt 0 (add_SNo l r3) H0le_u1).
We prove the intermediate
claim Hnlt_1_u1:
¬ (Rlt 1 (add_SNo l r3)).
We prove the intermediate
claim Hu1U:
add_SNo l r3 ∈ U.
rewrite the current goal using HUeq (from left to right).
We prove the intermediate
claim Hu1A:
add_SNo l r3 ∈ A.
An
exact proof term for the current goal is
(SepI U (λu : set ⇒ Rlt u v0) (add_SNo l r3) Hu1U Hu1lt_v0).
We prove the intermediate
claim Hu1le_l:
Rle (add_SNo l r3) l.
An
exact proof term for the current goal is
(HubA (add_SNo l r3) Hu1A Hu1R).
We prove the intermediate
claim Hnlt:
¬ (Rlt l (add_SNo l r3)).
An
exact proof term for the current goal is
(RleE_nlt (add_SNo l r3) l Hu1le_l).
An exact proof term for the current goal is (Hnlt Hl_lt_u1).
Apply HexVamb to the current goal.
Let Vamb be given.
We prove the intermediate
claim HlVamb:
l ∈ Vamb.
rewrite the current goal using HVeq (from right to left).
An exact proof term for the current goal is HlV.
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 HIntSubVamb:
open_interval c d ⊆ Vamb.
We prove the intermediate
claim HcR:
c ∈ R.
We prove the intermediate
claim HdR:
d ∈ R.
We prove the intermediate
claim HlS2:
SNo l.
An exact proof term for the current goal is HlS.
We prove the intermediate
claim HdS:
SNo d.
An
exact proof term for the current goal is
(real_SNo d HdR).
We prove the intermediate
claim HgapR:
gap ∈ R.
We prove the intermediate
claim HgapPos:
Rlt 0 gap.
We prove the intermediate
claim Hexeps:
∃Neps ∈ ω, eps_ Neps < gap.
Apply Hexeps to the current goal.
Let Neps be given.
Assume HNepspair.
We prove the intermediate
claim HNepsO:
Neps ∈ ω.
An
exact proof term for the current goal is
(andEL (Neps ∈ ω) (eps_ Neps < gap) HNepspair).
We prove the intermediate
claim HepsltS:
eps_ Neps < gap.
An
exact proof term for the current goal is
(andER (Neps ∈ ω) (eps_ Neps < gap) HNepspair).
We prove the intermediate
claim HepsR:
eps_ Neps ∈ R.
We prove the intermediate
claim HepsposS:
0 < eps_ Neps.
An
exact proof term for the current goal is
(SNo_eps_pos Neps HNepsO).
We prove the intermediate
claim Hepspos:
Rlt 0 (eps_ Neps).
An
exact proof term for the current goal is
(RltI 0 (eps_ Neps) real_0 HepsR HepsposS).
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 HepsS:
SNo (eps_ Neps).
An
exact proof term for the current goal is
(real_SNo (eps_ Neps) HepsR).
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 HepsltR:
Rlt (eps_ Neps) gap.
An
exact proof term for the current goal is
(RltI (eps_ Neps) gap HepsR HgapR HepsltS).
We prove the intermediate
claim HepsltgapS:
eps_ Neps < gap.
An
exact proof term for the current goal is
(RltE_lt (eps_ Neps) gap HepsltR).
We prove the intermediate
claim Hsumlt1:
add_SNo (eps_ Neps) c < l.
An
exact proof term for the current goal is
(add_SNo_minus_Lt2 l c (eps_ Neps) HlS2 HcS HepsS HepsltgapS).
We prove the intermediate
claim Hsumlt2:
add_SNo c (eps_ Neps) < l.
rewrite the current goal using
(add_SNo_com c (eps_ Neps) HcS HepsS) (from left to right).
An exact proof term for the current goal is Hsumlt1.
Apply Hexa to the current goal.
Let a be given.
Assume Haa.
We prove the intermediate
claim Haa1:
a ∈ A ∧ a ∈ R.
We prove the intermediate
claim HaA:
a ∈ A.
An
exact proof term for the current goal is
(andEL (a ∈ A) (a ∈ R) Haa1).
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(andER (a ∈ A) (a ∈ R) Haa1).
We prove the intermediate
claim Hcalt:
c < a.
We prove the intermediate
claim Hca:
Rlt c a.
An
exact proof term for the current goal is
(RltI c a HcR HaR Hcalt).
We prove the intermediate
claim HubA2:
∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 l) Hlubcore).
We prove the intermediate
claim Hale_l:
Rle a l.
An exact proof term for the current goal is (HubA2 a HaA HaR).
We prove the intermediate
claim Hnltla:
¬ (Rlt l a).
An
exact proof term for the current goal is
(RleE_nlt a l Hale_l).
We prove the intermediate
claim Had:
Rlt a d.
We prove the intermediate
claim HaltlR:
Rlt a l.
An
exact proof term for the current goal is
(RltI a l HaR HlR Haltl).
An
exact proof term for the current goal is
(Rlt_tra a l d HaltlR Hld).
rewrite the current goal using Haeq (from left to right).
An exact proof term for the current goal is Hld.
We prove the intermediate
claim HltaR:
Rlt l a.
An
exact proof term for the current goal is
(RltI l a HlR HaR Hlta).
An
exact proof term for the current goal is
(FalseE (Hnltla HltaR) (Rlt a d)).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt c z ∧ Rlt z d) a HaR (andI (Rlt c a) (Rlt a d) Hca Had)).
We prove the intermediate
claim HaVamb:
a ∈ Vamb.
An exact proof term for the current goal is (HIntSubVamb a HaInInt).
We prove the intermediate
claim HaU:
a ∈ U.
An
exact proof term for the current goal is
(SepE1 U (λu : set ⇒ Rlt u v0) a HaA).
An exact proof term for the current goal is (HUsub a HaU).
We prove the intermediate
claim HaV:
a ∈ V.
rewrite the current goal using HVeq (from left to right).
We prove the intermediate
claim HaUV:
a ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V a HaU HaV).
We prove the intermediate
claim HaEmpty:
a ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is HaUV.
An
exact proof term for the current goal is
(EmptyE a HaEmpty).