Let x be given.
We prove the intermediate
claim HUrep:
∃V ∈ Tx, U = V ∩ Y.
Apply HUrep to the current goal.
Let V be given.
Assume HVpair.
We prove the intermediate
claim HVTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (U = V ∩ Y) HVpair).
We prove the intermediate
claim HUeq:
U = V ∩ Y.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (U = V ∩ Y) HVpair).
We prove the intermediate
claim HxVY:
x ∈ V ∩ Y.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HxU.
We prove the intermediate
claim HxV:
x ∈ V.
An
exact proof term for the current goal is
(binintersectE1 V Y x HxVY).
We prove the intermediate
claim HxY:
x ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 V Y x HxVY).
rewrite the current goal using HdefTx (from right to left).
An exact proof term for the current goal is HVTx.
An exact proof term for the current goal is (HVloc x HxV).
Apply Hexb to the current goal.
Let b0 be given.
Assume Hb0pair.
We prove the intermediate
claim Hb0prop:
x ∈ b0 ∧ b0 ⊆ V.
We prove the intermediate
claim Hxb0:
x ∈ b0.
An
exact proof term for the current goal is
(andEL (x ∈ b0) (b0 ⊆ V) Hb0prop).
We prove the intermediate
claim Hb0subV:
b0 ⊆ V.
An
exact proof term for the current goal is
(andER (x ∈ b0) (b0 ⊆ V) Hb0prop).
Set bY to be the term
b0 ∩ Y.
We use bY to witness the existential quantifier.
Apply andI to the current goal.
Set Boldinh to be the term
(Ainh ∪ Binh_ray ∪ Cinh_ray).
Set Bold0 to be the term
(A0 ∪ B0 ∪ C0).
Apply (binunionE Bold0 {X} b0 Hb0B) to the current goal.
Apply (binunionE (A0 ∪ B0) C0 b0 Hb0Bold) to the current goal.
Apply (binunionE A0 B0 b0 Hb0AB) to the current goal.
Apply HexInt to the current goal.
Let a0 be given.
Assume Ha0pair.
Apply Ha0pair to the current goal.
Assume Hexb1.
Apply Hexb1 to the current goal.
Let b1 be given.
Assume Hb1pair.
Apply Hb1pair to the current goal.
Let z be given.
We prove the intermediate
claim Hzb0:
z ∈ b0.
An
exact proof term for the current goal is
(binintersectE1 b0 Y z Hz).
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 b0 Y z Hz).
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hzb0.
An
exact proof term for the current goal is
(SepI Y (λw : set ⇒ order_rel X a0 w ∧ order_rel X w b1) z HzY HzProp).
Let z be given.
We prove the intermediate
claim HzY:
z ∈ Y.
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(SepI X (λw : set ⇒ order_rel X a0 w ∧ order_rel X w b1) z HzX HzProp).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
Apply (xm (a0 ∈ Y)) to the current goal.
Apply (xm (b1 ∈ Y)) to the current goal.
rewrite the current goal using HbYdef (from left to right).
We use a0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Ha0Y.
We use b1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hb1Y.
We prove the intermediate
claim Hb1upper:
∀y : set, y ∈ Y → order_rel X y b1.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Hb1Y':
b1 ∈ Y.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Hb1notY Hb1Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HxY':
x ∈ Y.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HyY':
y ∈ Y.
An exact proof term for the current goal is HyY.
We prove the intermediate
claim HxX':
x ∈ X.
An exact proof term for the current goal is (HYsub x HxY').
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hxb0.
We prove the intermediate
claim HxLessB1:
order_rel X x b1.
An
exact proof term for the current goal is
(order_intervalI X x y b1 Hb1X HxLessB1 Hgt).
An exact proof term for the current goal is (Hb1notY (HintSub b1 Hb1InInt)).
We prove the intermediate
claim HbYeq2:
bY = {z ∈ Y|order_rel X a0 z}.
Let z be given.
rewrite the current goal using HbYdef (from right to left).
An exact proof term for the current goal is Hz.
Let z be given.
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim HzProp:
order_rel X a0 z.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim Hzb1:
order_rel X z b1.
An exact proof term for the current goal is (Hb1upper z HzY).
rewrite the current goal using HbYdef (from left to right).
rewrite the current goal using HbYeq2 (from left to right).
Let z be given.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim HbYC:
{z ∈ Y|order_rel X a0 z} ∈ Cinh_ray.
We use a0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Ha0Y.
Apply (xm (b1 ∈ Y)) to the current goal.
We prove the intermediate
claim Ha0lower:
∀y : set, y ∈ Y → order_rel X a0 y.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Ha0Y':
a0 ∈ Y.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Ha0notY Ha0Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HyY':
y ∈ Y.
An exact proof term for the current goal is HyY.
We prove the intermediate
claim HxY':
x ∈ Y.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HxX':
x ∈ X.
An exact proof term for the current goal is (HYsub x HxY').
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hxb0.
We prove the intermediate
claim Ha0LessX:
order_rel X a0 x.
An
exact proof term for the current goal is
(order_intervalI X y x a0 Ha0X Hgt Ha0LessX).
An exact proof term for the current goal is (Ha0notY (HintSub a0 Ha0InInt)).
We prove the intermediate
claim HbYeq2:
bY = {z ∈ Y|order_rel X z b1}.
Let z be given.
rewrite the current goal using HbYdef (from right to left).
An exact proof term for the current goal is Hz.
Let z be given.
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim HzProp:
order_rel X z b1.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim Haza:
order_rel X a0 z.
An exact proof term for the current goal is (Ha0lower z HzY).
rewrite the current goal using HbYdef (from left to right).
rewrite the current goal using HbYeq2 (from left to right).
Let z be given.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim HbYB:
{z ∈ Y|order_rel X z b1} ∈ Binh_ray.
We use b1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hb1Y.
We prove the intermediate
claim Ha0lower:
∀y : set, y ∈ Y → order_rel X a0 y.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Ha0Y':
a0 ∈ Y.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Ha0notY Ha0Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HyY':
y ∈ Y.
An exact proof term for the current goal is HyY.
We prove the intermediate
claim HxY':
x ∈ Y.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HxX':
x ∈ X.
An exact proof term for the current goal is (HYsub x HxY').
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hxb0.
We prove the intermediate
claim Ha0LessX:
order_rel X a0 x.
An
exact proof term for the current goal is
(order_intervalI X y x a0 Ha0X Hgt Ha0LessX).
An exact proof term for the current goal is (Ha0notY (HintSub a0 Ha0InInt)).
We prove the intermediate
claim Hb1upper:
∀y : set, y ∈ Y → order_rel X y b1.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Hb1Y':
b1 ∈ Y.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Hb1notY Hb1Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HxY':
x ∈ Y.
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HyY':
y ∈ Y.
An exact proof term for the current goal is HyY.
We prove the intermediate
claim HxX':
x ∈ X.
An exact proof term for the current goal is (HYsub x HxY').
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hxb0.
We prove the intermediate
claim HxLessB1:
order_rel X x b1.
An
exact proof term for the current goal is
(order_intervalI X x y b1 Hb1X HxLessB1 Hgt).
An exact proof term for the current goal is (Hb1notY (HintSub b1 Hb1InInt)).
We prove the intermediate
claim HbYeqY:
bY = Y.
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim Haza:
order_rel X a0 z.
An exact proof term for the current goal is (Ha0lower z HzY).
We prove the intermediate
claim Hzb1:
order_rel X z b1.
An exact proof term for the current goal is (Hb1upper z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
rewrite the current goal using HbYeqY (from left to right).
We prove the intermediate
claim HexRay:
∃b1 ∈ X, b0 = {z ∈ X|order_rel X z b1}.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λI : set ⇒ ∃b1 ∈ X, I = {z ∈ X|order_rel X z b1}) b0 Hb0B0).
Apply HexRay to the current goal.
Let b1 be given.
Assume Hb1pair.
Apply Hb1pair to the current goal.
We prove the intermediate
claim HbYdef:
bY = {z ∈ Y|order_rel X z b1}.
Let z be given.
We prove the intermediate
claim Hzb0:
z ∈ b0.
An
exact proof term for the current goal is
(binintersectE1 b0 Y z Hz).
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 b0 Y z Hz).
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hzb0.
We prove the intermediate
claim HzProp:
order_rel X z b1.
An
exact proof term for the current goal is
(SepE2 X (λw : set ⇒ order_rel X w b1) z HzIn).
An
exact proof term for the current goal is
(SepI Y (λw : set ⇒ order_rel X w b1) z HzY HzProp).
Let z be given.
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim HzProp:
order_rel X z b1.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(SepI X (λw : set ⇒ order_rel X w b1) z HzX HzProp).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
Apply (xm (b1 ∈ Y)) to the current goal.
rewrite the current goal using HbYdef (from left to right).
Let z be given.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X w b1) z Hz).
We prove the intermediate
claim HbYB:
{z ∈ Y|order_rel X z b1} ∈ Binh_ray.
We use b1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hb1Y.
We prove the intermediate
claim Hb1upper:
∀y : set, y ∈ Y → order_rel X y b1.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Hb1Y':
b1 ∈ Y.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Hb1notY Hb1Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HxProp:
order_rel X x b1.
We prove the intermediate
claim HxInbY:
x ∈ bY.
An
exact proof term for the current goal is
(binintersectI b0 Y x Hxb0 HxY).
We prove the intermediate
claim HxInDef:
x ∈ {z ∈ Y|order_rel X z b1}.
rewrite the current goal using HbYdef (from right to left).
An exact proof term for the current goal is HxInbY.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X w b1) x HxInDef).
An
exact proof term for the current goal is
(order_intervalI X x y b1 Hb1X HxProp Hgt).
An exact proof term for the current goal is (Hb1notY (HintSub b1 Hb1InInt)).
We prove the intermediate
claim HbYeqY:
bY = Y.
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim HzProp:
order_rel X z b1.
An exact proof term for the current goal is (Hb1upper z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(SepI X (λw : set ⇒ order_rel X w b1) z HzX HzProp).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
rewrite the current goal using HbYeqY (from left to right).
We prove the intermediate
claim HexRay:
∃a0 ∈ X, b0 = {z ∈ X|order_rel X a0 z}.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λI : set ⇒ ∃a0 ∈ X, I = {z ∈ X|order_rel X a0 z}) b0 Hb0C0).
Apply HexRay to the current goal.
Let a0 be given.
Assume Ha0pair.
Apply Ha0pair to the current goal.
We prove the intermediate
claim HbYdef:
bY = {z ∈ Y|order_rel X a0 z}.
Let z be given.
We prove the intermediate
claim Hzb0:
z ∈ b0.
An
exact proof term for the current goal is
(binintersectE1 b0 Y z Hz).
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 b0 Y z Hz).
rewrite the current goal using Hb0eq (from right to left).
An exact proof term for the current goal is Hzb0.
We prove the intermediate
claim HzProp:
order_rel X a0 z.
An
exact proof term for the current goal is
(SepE2 X (λw : set ⇒ order_rel X a0 w) z HzIn).
An
exact proof term for the current goal is
(SepI Y (λw : set ⇒ order_rel X a0 w) z HzY HzProp).
Let z be given.
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim HzProp:
order_rel X a0 z.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(SepI X (λw : set ⇒ order_rel X a0 w) z HzX HzProp).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
Apply (xm (a0 ∈ Y)) to the current goal.
rewrite the current goal using HbYdef (from left to right).
Let z be given.
An
exact proof term for the current goal is
(SepE1 Y (λw : set ⇒ order_rel X a0 w) z Hz).
We prove the intermediate
claim HbYC:
{z ∈ Y|order_rel X a0 z} ∈ Cinh_ray.
We use a0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Ha0Y.
We prove the intermediate
claim Ha0lower:
∀y : set, y ∈ Y → order_rel X a0 y.
Let y be given.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Ha0Y':
a0 ∈ Y.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is (Ha0notY Ha0Y').
Apply FalseE to the current goal.
We prove the intermediate
claim HxProp:
order_rel X a0 x.
We prove the intermediate
claim HxInbY:
x ∈ bY.
An
exact proof term for the current goal is
(binintersectI b0 Y x Hxb0 HxY).
We prove the intermediate
claim HxInDef:
x ∈ {z ∈ Y|order_rel X a0 z}.
rewrite the current goal using HbYdef (from right to left).
An exact proof term for the current goal is HxInbY.
An
exact proof term for the current goal is
(SepE2 Y (λw : set ⇒ order_rel X a0 w) x HxInDef).
An
exact proof term for the current goal is
(order_intervalI X y x a0 Ha0X Hgt HxProp).
An exact proof term for the current goal is (Ha0notY (HintSub a0 Ha0InInt)).
We prove the intermediate
claim HbYeqY:
bY = Y.
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim HzProp:
order_rel X a0 z.
An exact proof term for the current goal is (Ha0lower z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An
exact proof term for the current goal is
(SepI X (λw : set ⇒ order_rel X a0 w) z HzX HzProp).
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
rewrite the current goal using HbYeqY (from left to right).
We prove the intermediate
claim Hb0eqX:
b0 = X.
An
exact proof term for the current goal is
(SingE X b0 Hb0X).
We prove the intermediate
claim HbYeqY:
bY = Y.
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HYsub z HzY).
We prove the intermediate
claim Hzb0:
z ∈ b0.
rewrite the current goal using Hb0eqX (from left to right).
An exact proof term for the current goal is HzX.
An
exact proof term for the current goal is
(binintersectI b0 Y z Hzb0 HzY).
rewrite the current goal using HbYeqY (from left to right).
Apply andI to the current goal.
An
exact proof term for the current goal is
(binintersectI b0 Y x Hxb0 HxY).
Let z be given.
We prove the intermediate
claim Hzb0:
z ∈ b0.
An
exact proof term for the current goal is
(binintersectE1 b0 Y z Hz).
We prove the intermediate
claim HzY:
z ∈ Y.
An
exact proof term for the current goal is
(binintersectE2 b0 Y z Hz).
We prove the intermediate
claim HzV:
z ∈ V.
An exact proof term for the current goal is (Hb0subV z Hzb0).
We prove the intermediate
claim HzU:
z ∈ U.
rewrite the current goal using HUeq (from left to right).
An
exact proof term for the current goal is
(binintersectI V Y z HzV HzY).
An exact proof term for the current goal is HzU.