We prove the intermediate
claim HaP:
a ∈ setprod 2 ω.
rewrite the current goal using HX2 (from right to left).
An exact proof term for the current goal is HaX.
We prove the intermediate
claim HbP:
b ∈ setprod 2 ω.
rewrite the current goal using HX2 (from right to left).
An exact proof term for the current goal is HbX.
Apply (Sigma_E 2 (λ_ : set ⇒ ω) a HaP) to the current goal.
Let i be given.
Assume Ha1.
Apply Ha1 to the current goal.
Assume Hi2 Ha2.
Apply Ha2 to the current goal.
Let m be given.
Assume Ha3.
Apply Ha3 to the current goal.
Assume HmO HaEqPair.
Apply (Sigma_E 2 (λ_ : set ⇒ ω) b HbP) to the current goal.
Let j be given.
Assume Hb1.
Apply Hb1 to the current goal.
Assume Hj2 Hb2.
Apply Hb2 to the current goal.
Let n be given.
Assume Hb3.
Apply Hb3 to the current goal.
Assume HnO HbEqPair.
We prove the intermediate
claim HaEq:
a = (i,m).
rewrite the current goal using HaEqPair (from left to right).
An
exact proof term for the current goal is
(tuple_pair i m).
We prove the intermediate
claim HbEq:
b = (j,n).
rewrite the current goal using HbEqPair (from left to right).
An
exact proof term for the current goal is
(tuple_pair j n).
We prove the intermediate
claim H2ord:
ordinal 2.
We prove the intermediate
claim HiOrd:
ordinal i.
An
exact proof term for the current goal is
(ordinal_Hered 2 H2ord i Hi2).
We prove the intermediate
claim HjOrd:
ordinal j.
An
exact proof term for the current goal is
(ordinal_Hered 2 H2ord j Hj2).
We prove the intermediate
claim HmOrd:
ordinal m.
We prove the intermediate
claim HnOrd:
ordinal n.
We prove the intermediate
claim Hrel:
order_rel X a b.
rewrite the current goal using HX2 (from left to right).
rewrite the current goal using HaEq (from left to right).
rewrite the current goal using HbEq (from left to right).
An exact proof term for the current goal is (Habp Hrel).
We prove the intermediate
claim Hrel:
order_rel X a b.
rewrite the current goal using HX2 (from left to right).
rewrite the current goal using HaEq (from left to right).
rewrite the current goal using HbEq (from left to right).
An exact proof term for the current goal is (Habp Hrel).
We prove the intermediate
claim HabEq:
a = b.
rewrite the current goal using HaEq (from left to right).
rewrite the current goal using HbEq (from left to right).
An
exact proof term for the current goal is
(coords_eq_tuple i m j n Hijeq Hmneq).
An exact proof term for the current goal is (Heqp HabEq).
We prove the intermediate
claim Hji:
j = i.
Use symmetry.
An exact proof term for the current goal is Hijeq.
We prove the intermediate
claim Hrel:
order_rel X b a.
rewrite the current goal using HX2 (from left to right).
rewrite the current goal using HbEq (from left to right).
rewrite the current goal using HaEq (from left to right).
An exact proof term for the current goal is (Hbap Hrel).
We prove the intermediate
claim Hrel:
order_rel X b a.
rewrite the current goal using HX2 (from left to right).
rewrite the current goal using HbEq (from left to right).
rewrite the current goal using HaEq (from left to right).
An exact proof term for the current goal is (Hbap Hrel).