Apply Hex to the current goal.
Let a be given.
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(andEL (a ∈ R) (U = {x ∈ R|Rlt x a}) Hapair).
We prove the intermediate
claim HUeq:
U = {x ∈ R|Rlt x a}.
An
exact proof term for the current goal is
(andER (a ∈ R) (U = {x ∈ R|Rlt x a}) Hapair).
rewrite the current goal using HUeq (from left to right).
We prove the intermediate
claim H1in:
1 ∈ {x ∈ R|Rlt x a}.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is H1U.
We prove the intermediate
claim H1lt:
Rlt 1 a.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt x0 a) 1 H1in).
We prove the intermediate
claim H0lt1:
Rlt 0 1.
We prove the intermediate
claim H0lta:
Rlt 0 a.
An
exact proof term for the current goal is
(Rlt_tra 0 1 a H0lt1 H1lt).
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt x0 a) 0 real_0 H0lta).
∎