Apply Hex to the current goal.
Let a0 be given.
Assume Ha0core.
Apply Ha0core to the current goal.
Apply Hexb0 to the current goal.
Let b0 be given.
Assume Hb0core.
Apply Hb0core to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a0 bb) b0 Hb0R).
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hxb.
We prove the intermediate
claim HxR:
x ∈ R.
We prove the intermediate
claim Hax:
order_rel R a0 x.
We prove the intermediate
claim Hxb0:
order_rel R x b0.
We prove the intermediate
claim Haxlt:
Rlt a0 x.
We prove the intermediate
claim Hxblt:
Rlt x b0.
We prove the intermediate
claim HxI:
x ∈ I.
An
exact proof term for the current goal is
(SepI R (λy : set ⇒ Rlt a0 y ∧ Rlt y b0) x HxR (andI (Rlt a0 x) (Rlt x b0) Haxlt Hxblt)).
We prove the intermediate
claim HIsubB:
I ⊆ b.
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 y0 b0) y HyI).
We prove the intermediate
claim Hyconj:
Rlt a0 y ∧ Rlt y b0.
An
exact proof term for the current goal is
(SepE2 R (λy0 : set ⇒ Rlt a0 y0 ∧ Rlt y0 b0) y HyI).
We prove the intermediate
claim Hay:
Rlt a0 y.
An
exact proof term for the current goal is
(andEL (Rlt a0 y) (Rlt y b0) Hyconj).
We prove the intermediate
claim Hyb:
Rlt y b0.
An
exact proof term for the current goal is
(andER (Rlt a0 y) (Rlt y b0) Hyconj).
We prove the intermediate
claim Hayrel:
order_rel R a0 y.
We prove the intermediate
claim Hybrel:
order_rel R y b0.
rewrite the current goal using Hbeq (from left to right).
An exact proof term for the current goal is HySet.
We use I to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HIinStdBasis.
Apply andI to the current goal.
An exact proof term for the current goal is HxI.
An exact proof term for the current goal is HIsubB.
Apply Hex to the current goal.
Let b0 be given.
Assume Hb0core.
Apply Hb0core to the current goal.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hxb.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λy : set ⇒ order_rel R y b0) x HxInSet).
We prove the intermediate
claim Hrel:
order_rel R x b0.
An
exact proof term for the current goal is
(SepE2 R (λy : set ⇒ order_rel R y b0) x HxInSet).
We prove the intermediate
claim Hxltb0:
Rlt x b0.
We prove the intermediate
claim Ha1R:
a1 ∈ R.
We prove the intermediate
claim Hleft:
Rlt a1 x.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x c1.
An
exact proof term for the current goal is
(SepE2 R (λy : set ⇒ Rlt a1 y ∧ Rlt y c1) x Hxpm).
An
exact proof term for the current goal is
(andEL (Rlt a1 x) (Rlt x c1) Hconj).
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) b0 Hb0R).
We prove the intermediate
claim HxI:
x ∈ I.
An
exact proof term for the current goal is
(SepI R (λy : set ⇒ Rlt a1 y ∧ Rlt y b0) x HxR (andI (Rlt a1 x) (Rlt x b0) Hleft Hxltb0)).
We prove the intermediate
claim HIsubB:
I ⊆ b.
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 a1 y0 ∧ Rlt y0 b0) y HyI).
We prove the intermediate
claim Hyconj:
Rlt a1 y ∧ Rlt y b0.
An
exact proof term for the current goal is
(SepE2 R (λy0 : set ⇒ Rlt a1 y0 ∧ Rlt y0 b0) y HyI).
We prove the intermediate
claim Hyb:
Rlt y b0.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y b0) Hyconj).
We prove the intermediate
claim Hyrel:
order_rel R y b0.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ order_rel R z b0) y HyR Hyrel).
rewrite the current goal using Hbeq (from left to right).
An exact proof term for the current goal is HySet.
We use I to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HIinStdBasis.
Apply andI to the current goal.
An exact proof term for the current goal is HxI.
An exact proof term for the current goal is HIsubB.