Let z be given.
Set L to be the term
SNoL z.
Set R to be the term
SNoR z.
We prove the intermediate
claim L1:
∀x ∈ L, SNo x.
Let x be given.
An
exact proof term for the current goal is
SepE1 (SNoS_ (SNoLev z)) (λx ⇒ x < z) x Hx.
Let β be given.
Assume H1.
Apply H1 to the current goal.
We use β to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is H1.
We prove the intermediate
claim L2:
∀y ∈ R, SNo y.
Let y be given.
An
exact proof term for the current goal is
SepE1 (SNoS_ (SNoLev z)) (λy ⇒ z < y) y Hy.
Let β be given.
Assume H1.
Apply H1 to the current goal.
We use β to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is H1.
We prove the intermediate
claim L3:
∀x ∈ L, ∀y ∈ R, x < y.
Let x be given.
Assume Hx.
Let y be given.
Assume Hy.
Apply SNoLt_tra x z y (L1 x Hx) Hz (L2 y Hy) to the current goal.
An
exact proof term for the current goal is
SepE2 (SNoS_ (SNoLev z)) (λx ⇒ x < z) x Hx.
An
exact proof term for the current goal is
SepE2 (SNoS_ (SNoLev z)) (λy ⇒ z < y) y Hy.
Apply and3I to the current goal.
An exact proof term for the current goal is L1.
An exact proof term for the current goal is L2.
An exact proof term for the current goal is L3.
∎