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 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
(real_SNo l HlR).
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 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 Hlubcore:
l ∈ R ∧ ∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 l.
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ ∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 l) (∀u : set, u ∈ R → (∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 u) → Rle l u) Hlub).
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 HaU:
a ∈ U.
An exact proof term for the current goal is (HIntSubU a HaInInt).
We prove the intermediate
claim HaV:
a ∈ V.
An
exact proof term for the current goal is
(SepE1 V (λv : set ⇒ Rlt v u0) a HaA).
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).
We prove the intermediate
claim Hlubcore:
l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l.
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l) (∀u : set, u ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u) → Rle l u) Hlub).
We prove the intermediate
claim HubA:
∀a : set, a ∈ A → a ∈ R → Rle a l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀a : set, a ∈ A → a ∈ R → Rle a l) Hlubcore).
We prove the intermediate
claim Hmin:
∀u : set, u ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u) → Rle l u.
An
exact proof term for the current goal is
(andER (l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l) (∀u : set, u ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u) → Rle l u) Hlub).
We prove the intermediate
claim Hub_u0:
∀a : set, a ∈ A → a ∈ R → Rle a u0.
Let a be given.
We prove the intermediate
claim Harlt:
Rlt a u0.
An
exact proof term for the current goal is
(SepE2 V (λv : set ⇒ Rlt v u0) a HaA).
We prove the intermediate
claim Hle_l_u0:
Rle l u0.
An exact proof term for the current goal is (Hmin u0 Hu0R Hub_u0).
We prove the intermediate
claim Hu0notV:
u0 ∉ V.
We prove the intermediate
claim Hu0UV:
u0 ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V u0 Hu0U Hu0V).
We prove the intermediate
claim Hu0Empty:
u0 ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is Hu0UV.
An
exact proof term for the current goal is
(EmptyE u0 Hu0Empty).
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 Hlu0:
Rlt l u0.
An
exact proof term for the current goal is
(RltI l u0 HlR Hu0R Hlt).
We prove the intermediate
claim Hu0V:
u0 ∈ V.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HlV.
An
exact proof term for the current goal is
(FalseE (Hu0notV Hu0V) (Rlt l u0)).
We prove the intermediate
claim Hu0l:
Rlt u0 l.
An
exact proof term for the current goal is
(RltI u0 l Hu0R HlR Hgt).
We prove the intermediate
claim Hnlt:
¬ (Rlt u0 l).
An
exact proof term for the current goal is
(RleE_nlt l u0 Hle_l_u0).
An
exact proof term for the current goal is
(FalseE (Hnlt Hu0l) (Rlt l u0)).
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 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 Hrltd:
l < d.
An
exact proof term for the current goal is
(RltE_lt l d Hld).
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 Hv1R:
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 Hv1S:
SNo (add_SNo l r3).
An
exact proof term for the current goal is
(real_SNo (add_SNo l r3) Hv1R).
We prove the intermediate
claim Hl_lt_v1S:
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_v1:
Rlt l (add_SNo l r3).
An
exact proof term for the current goal is
(RltI l (add_SNo l r3) HlR Hv1R Hl_lt_v1S).
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 Hv1lt_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 Hv1lt_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 Hv1lt_dS'.
We prove the intermediate
claim Hv1lt_d:
Rlt (add_SNo l r3) d.
An
exact proof term for the current goal is
(RltI (add_SNo l r3) d Hv1R HdR Hv1lt_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 Hv1lt_u0S':
add_SNo r3 l < u0.
An
exact proof term for the current goal is
(add_SNo_minus_Lt2 u0 l r3 Hu0S HlS Hr3S Hr3ltgap2S).
We prove the intermediate
claim Hv1lt_u0S:
add_SNo l r3 < u0.
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 Hv1lt_u0S'.
We prove the intermediate
claim Hv1lt_u0:
Rlt (add_SNo l r3) u0.
An
exact proof term for the current goal is
(RltI (add_SNo l r3) u0 Hv1R Hu0R Hv1lt_u0S).
We prove the intermediate
claim Hv1V:
add_SNo l r3 ∈ V.
An
exact proof term for the current goal is
(HIntSubV (add_SNo l r3) Hv1InInt).
We prove the intermediate
claim Hv1A:
add_SNo l r3 ∈ A.
An
exact proof term for the current goal is
(SepI V (λv : set ⇒ Rlt v u0) (add_SNo l r3) Hv1V Hv1lt_u0).
We prove the intermediate
claim Hv1le_l:
Rle (add_SNo l r3) l.
An
exact proof term for the current goal is
(HubA (add_SNo l r3) Hv1A Hv1R).
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 Hv1le_l).
An exact proof term for the current goal is (Hnlt Hl_lt_v1).