Let x be given.
Let y be given.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ ∃a ∈ A, Rlt x0 a) x HxL).
We prove the intermediate
claim HyRR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λy0 : set ⇒ ∃u ∈ U, ∃n ∈ ω, y0 = add_SNo u (eps_ n)) y HyR).
We prove the intermediate
claim Hexa:
∃a : set, a ∈ A ∧ Rlt x a.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ ∃a ∈ A, Rlt x0 a) x HxL).
Apply Hexa to the current goal.
Let a be given.
We prove the intermediate
claim HaA:
a ∈ A.
An
exact proof term for the current goal is
(andEL (a ∈ A) (Rlt x a) Hapack).
We prove the intermediate
claim Hxa:
Rlt x a.
An
exact proof term for the current goal is
(andER (a ∈ A) (Rlt x a) Hapack).
We prove the intermediate
claim HaR:
a ∈ R.
An exact proof term for the current goal is (HAinR a HaA).
We prove the intermediate
claim Hexun:
∃u : set, u ∈ U ∧ ∃n : set, n ∈ ω ∧ y = add_SNo u (eps_ n).
An
exact proof term for the current goal is
(SepE2 R (λy0 : set ⇒ ∃u ∈ U, ∃n ∈ ω, y0 = add_SNo u (eps_ n)) y HyR).
Apply Hexun to the current goal.
Let u be given.
Assume Hun.
We prove the intermediate
claim HuU:
u ∈ U.
Apply Hexn to the current goal.
Let n be given.
We prove the intermediate
claim HnO:
n ∈ ω.
We prove the intermediate
claim Hydef:
y = add_SNo u (eps_ n).
We prove the intermediate
claim HuR:
u ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λu0 : set ⇒ ∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 u0) u HuU).
We prove the intermediate
claim HuS:
SNo u.
An
exact proof term for the current goal is
(real_SNo u HuR).
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 HxS:
SNo x.
An
exact proof term for the current goal is
(real_SNo x HxR).
We prove the intermediate
claim HepsnS:
SNo (eps_ n).
An
exact proof term for the current goal is
(SNo_eps_ n HnO).
We prove the intermediate
claim Hxa_lt:
x < a.
An
exact proof term for the current goal is
(RltE_lt x a Hxa).
We prove the intermediate
claim Hau_nlt:
¬ (Rlt u a).
An
exact proof term for the current goal is
(RleE_nlt a u ((SepE2 R (λu0 : set ⇒ ∀a0 : set, a0 ∈ A → a0 ∈ R → Rle a0 u0) u HuU) a HaA HaR)).
We prove the intermediate
claim Hxltu:
x < u.
We prove the intermediate
claim HultR:
Rlt u a.
An
exact proof term for the current goal is
(RltI u a HuR HaR Hult).
An
exact proof term for the current goal is
(FalseE (Hau_nlt HultR) (x < u)).
rewrite the current goal using Hueq (from left to right).
An exact proof term for the current goal is Hxa_lt.
An
exact proof term for the current goal is
(SNoLt_tra x a u HxS HaS HuS Hxa_lt Halt).
We prove the intermediate
claim Hultup:
u < add_SNo u (eps_ n).
An
exact proof term for the current goal is
(add_SNo_eps_Lt u HuS n HnO).
rewrite the current goal using Hydef (from left to right).