Let x be given.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ ¬ (Rlt x0 0) ∧ ¬ (Rlt 1 x0)) x Hx).
We prove the intermediate
claim Hxprop:
¬ (Rlt x 0) ∧ ¬ (Rlt 1 x).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ ¬ (Rlt x0 0) ∧ ¬ (Rlt 1 x0)) x Hx).
We prove the intermediate
claim Hnx0:
¬ (Rlt x 0).
An
exact proof term for the current goal is
(andEL (¬ (Rlt x 0)) (¬ (Rlt 1 x)) Hxprop).
We prove the intermediate
claim Hn1x:
¬ (Rlt 1 x).
An
exact proof term for the current goal is
(andER (¬ (Rlt x 0)) (¬ (Rlt 1 x)) Hxprop).
Apply (binunionE L0 R1 x Hxu) to the current goal.
We prove the intermediate
claim Hlt:
Rlt x 0.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt x0 0) x HxL).
An exact proof term for the current goal is (Hnx0 Hlt).
We prove the intermediate
claim Hlt:
Rlt 1 x.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt 1 x0) x HxR1).
An exact proof term for the current goal is (Hn1x Hlt).