Let z be given.
Apply FalseE to the current goal.
We prove the intermediate
claim HzU0:
z ∈ U0.
We prove the intermediate
claim HzD:
z ∈ ordsq_D.
Set z1 to be the term
z 0.
Set z2 to be the term
z 1.
We prove the intermediate
claim HzEta:
z = (z1,z2).
We prove the intermediate
claim HaDef:
a = (x,0).
We prove the intermediate
claim HbDef:
b = (x,eps_ 1).
We prove the intermediate
claim HxR:
x ∈ R.
rewrite the current goal using HaDef (from right to left) at position 1.
rewrite the current goal using HzEta (from right to left) at position 1.
An exact proof term for the current goal is Haz.
rewrite the current goal using HzEta (from right to left) at position 1.
rewrite the current goal using HbDef (from right to left) at position 1.
An exact proof term for the current goal is Hzb.
We prove the intermediate
claim HazDisj:
Rlt x z1 ∨ (x = z1 ∧ Rlt 0 z2).
We prove the intermediate
claim HzbDisj:
Rlt z1 x ∨ (z1 = x ∧ Rlt z2 (eps_ 1)).
We prove the intermediate
claim Hxz1Eq:
x = z1.
Apply HazDisj to the current goal.
Apply FalseE to the current goal.
Apply HzbDisj to the current goal.
An
exact proof term for the current goal is
((not_Rlt_sym x z1 Hxltz1) Hz1ltx).
Apply Hz1EqAnd to the current goal.
Assume Hz1eqx Hz2ltEps.
Apply FalseE to the current goal.
We prove the intermediate
claim Hxltx:
Rlt x x.
rewrite the current goal using Hz1eqx (from right to left) at position 2.
An exact proof term for the current goal is Hxltz1.
An
exact proof term for the current goal is
((not_Rlt_refl x HxR) Hxltx).
Apply HxEqAnd to the current goal.
Assume Hxz1 Hz2pos.
An exact proof term for the current goal is Hxz1.
We prove the intermediate
claim Hz1eqx:
z1 = x.
rewrite the current goal using Hxz1Eq (from left to right).
Use reflexivity.
We prove the intermediate
claim Hz2ltEps:
Rlt z2 (eps_ 1).
Apply HzbDisj to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim Hxltx:
Rlt x x.
rewrite the current goal using Hz1eqx (from right to left) at position 1.
An exact proof term for the current goal is Hz1ltx.
An
exact proof term for the current goal is
((not_Rlt_refl x HxR) Hxltx).
Apply Hz1EqAnd to the current goal.
Assume _ Hlt.
An exact proof term for the current goal is Hlt.
We prove the intermediate
claim HexD:
∃x0 : set, z = (x0,eps_ 1) ∧ Rlt 0 x0 ∧ Rlt x0 1.
Apply HexD to the current goal.
Let x0 be given.
Assume Hx0pack.
Apply Hx0pack to the current goal.
Assume HcoreD Hx0lt1.
Apply HcoreD to the current goal.
Assume HzEqD Hx0pos.
We prove the intermediate
claim HzcoordsD:
z1 = x0 ∧ z2 = (eps_ 1).
We prove the intermediate
claim Htmp:
(z1,z2) = (x0,eps_ 1).
rewrite the current goal using HzEta (from right to left) at position 1.
An exact proof term for the current goal is HzEqD.
We prove the intermediate
claim Hz2EqEps:
z2 = (eps_ 1).
An
exact proof term for the current goal is
(andER (z1 = x0) (z2 = (eps_ 1)) HzcoordsD).
We prove the intermediate
claim HepsltEps:
Rlt (eps_ 1) (eps_ 1).
rewrite the current goal using Hz2EqEps (from right to left) at position 1.
An exact proof term for the current goal is Hz2ltEps.
An
exact proof term for the current goal is
((not_Rlt_refl (eps_ 1) HepsR) HepsltEps).