Let y be given.
Let U be given.
Apply Hexx to the current goal.
Let x be given.
Assume Hxpair.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) x HxI).
We prove the intermediate
claim HxProp:
Rlt a x ∧ Rlt x b.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) x HxI).
We prove the intermediate
claim Hax:
Rlt a x.
An
exact proof term for the current goal is
(andEL (Rlt a x) (Rlt x b) HxProp).
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HyU0.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ ¬ (Rlt z x) ∧ Rlt z b) y HyHx).
We prove the intermediate
claim HyProp:
¬ (Rlt y x) ∧ Rlt y b.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ ¬ (Rlt z x) ∧ Rlt z b) y HyHx).
We prove the intermediate
claim Hnyx:
¬ (Rlt y x).
An
exact proof term for the current goal is
(andEL (¬ (Rlt y x)) (Rlt y b) HyProp).
We prove the intermediate
claim Hyb:
Rlt y b.
An
exact proof term for the current goal is
(andER (¬ (Rlt y x)) (Rlt y b) HyProp).
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 HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Hay:
Rlt a y.
An
exact proof term for the current goal is
(RltI a y HaR HyR Halt).
We prove the intermediate
claim Hyx:
Rlt y x.
rewrite the current goal using HaEq (from right to left).
An exact proof term for the current goal is Hax.
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnyx Hyx).
We prove the intermediate
claim Hya:
Rlt y a.
An
exact proof term for the current goal is
(RltI y a HyR HaR Hylt).
We prove the intermediate
claim Hyx:
Rlt y x.
An
exact proof term for the current goal is
(Rlt_tra y a x Hya Hax).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnyx Hyx).
rewrite the current goal using Hop_def (from left to right).
Apply (SepI R (λz : set ⇒ Rlt a z ∧ Rlt z b) y HyR) to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hay.
An exact proof term for the current goal is Hyb.