Let x be given.
Assume HxU.
An exact proof term for the current goal is (HUprop x HxU).
Apply HexStd to the current goal.
Let bStd be given.
Assume HbStdPair.
We prove the intermediate
claim HbStdProp:
x ∈ bStd ∧ bStd ⊆ U.
We prove the intermediate
claim HxInbStd:
x ∈ bStd.
An
exact proof term for the current goal is
(andEL (x ∈ bStd) (bStd ⊆ U) HbStdProp).
We prove the intermediate
claim HbStdSubU:
bStd ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ bStd) (bStd ⊆ U) HbStdProp).
Apply Hexa0 to the current goal.
Let a0 be given.
Assume Ha0Pair.
We prove the intermediate
claim Ha0R:
a0 ∈ R.
An
exact proof term for the current goal is
(ReplE R (λb0 : set ⇒ open_interval a0 b0) bStd HbStdFam).
Apply Hexb0 to the current goal.
Let b0 be given.
Assume Hb0Pair.
We prove the intermediate
claim Hb0R:
b0 ∈ R.
rewrite the current goal using HbStdEq (from right to left).
An exact proof term for the current goal is HxInbStd.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ Rlt a0 x0 ∧ Rlt x0 b0) x HxInI).
We prove the intermediate
claim HxIProp:
Rlt a0 x ∧ Rlt x b0.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a0 x0 ∧ Rlt x0 b0) x HxInI).
We prove the intermediate
claim Ha0x:
Rlt a0 x.
An
exact proof term for the current goal is
(andEL (Rlt a0 x) (Rlt x b0) HxIProp).
We prove the intermediate
claim Hxb0:
Rlt x b0.
An
exact proof term for the current goal is
(andER (Rlt a0 x) (Rlt x b0) HxIProp).
We use bUpper to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Let y be given.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λy0 : set ⇒ Rlt a0 y0 ∧ ¬ (Rlt x y0)) y HyUpper).
We prove the intermediate
claim HyProp:
Rlt a0 y ∧ ¬ (Rlt x y).
An
exact proof term for the current goal is
(SepE2 R (λy0 : set ⇒ Rlt a0 y0 ∧ ¬ (Rlt x y0)) y HyUpper).
We prove the intermediate
claim Ha0y:
Rlt a0 y.
An
exact proof term for the current goal is
(andEL (Rlt a0 y) (¬ (Rlt x y)) HyProp).
We prove the intermediate
claim HnotRltxy:
¬ (Rlt x y).
An
exact proof term for the current goal is
(andER (Rlt a0 y) (¬ (Rlt x y)) HyProp).
We prove the intermediate
claim Hnot_xlt_y:
¬ (x < y).
We prove the intermediate
claim HxyRlt:
Rlt x y.
An
exact proof term for the current goal is
(RltI x y HxR HyR Hxy).
An exact proof term for the current goal is (HnotRltxy HxyRlt).
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 HxS:
SNo x.
An
exact proof term for the current goal is
(real_SNo x HxR).
We prove the intermediate
claim Hb0S:
SNo b0.
An
exact proof term for the current goal is
(real_SNo b0 Hb0R).
We prove the intermediate
claim Hxltb0:
x < b0.
An
exact proof term for the current goal is
(RltE_lt x b0 Hxb0).
We prove the intermediate
claim Hyltb0:
y < b0.
An
exact proof term for the current goal is
(SNoLt_tra y x b0 HyS HxS Hb0S Hyltx Hxltb0).
rewrite the current goal using Heyx (from left to right).
An exact proof term for the current goal is Hxltb0.
We prove the intermediate
claim HxyFalse:
False.
An exact proof term for the current goal is (Hnot_xlt_y HxltY).
An
exact proof term for the current goal is
(FalseE HxyFalse (y < b0)).
We prove the intermediate
claim HyRltb0:
Rlt y b0.
An
exact proof term for the current goal is
(RltI y b0 HyR Hb0R Hyltb0).
We prove the intermediate
claim HyConj:
Rlt a0 y ∧ Rlt y b0.
Apply andI to the current goal.
An exact proof term for the current goal is Ha0y.
An exact proof term for the current goal is HyRltb0.
An
exact proof term for the current goal is
(SepI R (λy0 : set ⇒ Rlt a0 y0 ∧ Rlt y0 b0) y HyR HyConj).
We prove the intermediate
claim HyInbStd:
y ∈ bStd.
rewrite the current goal using HbStdEq (from left to right) at position 1.
An exact proof term for the current goal is HyInI.
An exact proof term for the current goal is (HbStdSubU y HyInbStd).