Let a, b and x be given.
We prove the intermediate
claim Hx':
x ∈ {t ∈ R|¬ (Rlt t a) ∧ ¬ (Rlt b t)}.
rewrite the current goal using HCI_def (from right to left).
An exact proof term for the current goal is Hx.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λt : set ⇒ ¬ (Rlt t a) ∧ ¬ (Rlt b t)) x Hx').
We prove the intermediate
claim Hconj:
¬ (Rlt x a) ∧ ¬ (Rlt b x).
An
exact proof term for the current goal is
(SepE2 R (λt : set ⇒ ¬ (Rlt t a) ∧ ¬ (Rlt b t)) x Hx').
We prove the intermediate
claim Hnlt_xa:
¬ (Rlt x a).
An
exact proof term for the current goal is
(andEL (¬ (Rlt x a)) (¬ (Rlt b x)) Hconj).
We prove the intermediate
claim Hnlt_bx:
¬ (Rlt b x).
An
exact proof term for the current goal is
(andER (¬ (Rlt x a)) (¬ (Rlt b x)) Hconj).
Apply andI to the current goal.
An
exact proof term for the current goal is
(RleI a x HaR HxR Hnlt_xa).
An
exact proof term for the current goal is
(RleI x b HxR HbR Hnlt_bx).
∎