Let p be given.
We prove the intermediate
claim Hp10:
Rlt (p 1) (p 0).
We prove the intermediate
claim HpRR:
p ∈ setprod R R.
rewrite the current goal using HPlaneDef (from right to left).
An exact proof term for the current goal is HpE.
We prove the intermediate
claim Hp0R:
p 0 ∈ R.
An
exact proof term for the current goal is
(ap0_Sigma R (λ_ : set ⇒ R) p HpRR).
We prove the intermediate
claim Hp1R:
p 1 ∈ R.
An
exact proof term for the current goal is
(ap1_Sigma R (λ_ : set ⇒ R) p HpRR).
Apply Hexq to the current goal.
Let q be given.
Assume Hqcore.
Apply Hqcore to the current goal.
Assume HqQ Hqineq.
We prove the intermediate
claim Hp1q:
Rlt (p 1) q.
An
exact proof term for the current goal is
(andEL (Rlt (p 1) q) (Rlt q (p 0)) Hqineq).
We prove the intermediate
claim Hq0:
Rlt q (p 0).
An
exact proof term for the current goal is
(andER (Rlt (p 1) q) (Rlt q (p 0)) Hqineq).
We prove the intermediate
claim HqR:
q ∈ R.
We prove the intermediate
claim Hrel:
order_rel R q (p 0).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ order_rel R q z) (p 0) Hp0R Hrel).
We prove the intermediate
claim Hrel:
order_rel R (p 1) q.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ order_rel R z q) (p 1) Hp1R Hrel).
We prove the intermediate
claim HpEta:
p = (p 0,p 1).
An
exact proof term for the current goal is
(setprod_eta R R p HpRR).
We prove the intermediate
claim HpU:
p ∈ U.
rewrite the current goal using HpEta (from left to right).
We prove the intermediate
claim HUinFam:
U ∈ Fam.
An
exact proof term for the current goal is
(UnionI Fam p U HpU HUinFam).
Let p be given.
Let U be given.
Let q be given.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HpU.
We prove the intermediate
claim H0rel:
order_rel R q (p 0).
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ order_rel R q z) (p 0) Hp0Up).
We prove the intermediate
claim H1rel:
order_rel R (p 1) q.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ order_rel R z q) (p 1) Hp1Low).
We prove the intermediate
claim Hp1q:
Rlt (p 1) q.
We prove the intermediate
claim Hq0:
Rlt q (p 0).
We prove the intermediate
claim Hp10:
Rlt (p 1) (p 0).
An
exact proof term for the current goal is
(Rlt_tra (p 1) q (p 0) Hp1q Hq0).
We prove the intermediate
claim Hp0R:
p 0 ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ order_rel R q z) (p 0) Hp0Up).
We prove the intermediate
claim Hp1R:
p 1 ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ order_rel R z q) (p 1) Hp1Low).
We prove the intermediate
claim HpEta:
p = (p 0,p 1).
rewrite the current goal using HPlaneDef (from left to right).
rewrite the current goal using HpEta (from left to right).
An
exact proof term for the current goal is
(SepI EuclidPlane (λp0 : set ⇒ Rlt (p0 1) (p0 0)) p HpE Hp10).