Apply Hexab to the current goal.
Let a be given.
Assume HaPair.
Apply HaPair to the current goal.
Assume Hexb.
Apply Hexb to the current goal.
Let b be given.
Assume HbPair.
Apply HbPair to the current goal.
We prove the intermediate
claim H10inU:
(1,0) â U.
An
exact proof term for the current goal is
(SingI (1,0)).
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is H10inU.
We prove the intermediate
claim HrelL:
order_rel X a (1,0).
We prove the intermediate
claim HrelR:
order_rel X (1,0) b.
We prove the intermediate
claim HXeq:
X = setprod 2 Ī.
rewrite the current goal using HXeq (from right to left) at position 1.
An exact proof term for the current goal is HrelL.
rewrite the current goal using HXeq (from right to left) at position 1.
An exact proof term for the current goal is HrelR.
Apply HexL to the current goal.
Let i be given.
Assume HiPair.
Apply HiPair to the current goal.
Let m be given.
Assume HmPair.
Apply HmPair to the current goal.
Let j be given.
Assume HjPair.
Apply HjPair to the current goal.
Let n0 be given.
Assume Hcore.
Apply Hcore to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hcoords0.
We prove the intermediate
claim Hlex:
i â j ⨠(i = j â§ m â n0).
Apply Hcore to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hlex0.
We prove the intermediate
claim HjnEq:
(1,0) = (j,n0).
We prove the intermediate
claim HaEq2:
a = (i,m).
We prove the intermediate
claim Hn0Omega:
n0 â Ī.
We prove the intermediate
claim Hj2:
j â 2.
We prove the intermediate
claim Hcoords2:
i â 2 â§ m â Ī.
We prove the intermediate
claim Hi2:
i â 2.
An
exact proof term for the current goal is
(andEL (i â 2) (m â Ī) Hcoords2).
We prove the intermediate
claim HmOmega:
m â Ī.
An
exact proof term for the current goal is
(andER (i â 2) (m â Ī) Hcoords2).
We prove the intermediate
claim HjEq1:
j = 1.
rewrite the current goal using
(tuple_2_0_eq j n0) (from right to left) at position 1.
rewrite the current goal using
(tuple_2_0_eq 1 0) (from right to left) at position 2.
We prove the intermediate
claim Hproj0:
(j,n0) 0 = (1,0) 0.
rewrite the current goal using HjnEq (from right to left).
Use reflexivity.
An exact proof term for the current goal is Hproj0.
We prove the intermediate
claim Hn0Eq0:
n0 = 0.
rewrite the current goal using
(tuple_2_1_eq j n0) (from right to left) at position 1.
rewrite the current goal using HjnEq (from right to left) at position 1.
We prove the intermediate
claim HiEq0:
i = 0.
Apply (Hlex (i = 0)) to the current goal.
We prove the intermediate
claim HiIn1:
i â 1.
rewrite the current goal using HjEq1 (from right to left).
An exact proof term for the current goal is Hilj.
We prove the intermediate
claim HiInSing0:
i â {0}.
rewrite the current goal using
eq_1_Sing0 (from right to left).
An exact proof term for the current goal is HiIn1.
An
exact proof term for the current goal is
(SingE 0 i HiInSing0).
Apply FalseE to the current goal.
We prove the intermediate
claim Hmn:
m â n0.
An
exact proof term for the current goal is
(andER (i = j) (m â n0) Hind).
We prove the intermediate
claim HmIn0:
m â 0.
rewrite the current goal using Hn0Eq0 (from right to left).
An exact proof term for the current goal is Hmn.
An
exact proof term for the current goal is
(EmptyE m HmIn0).
We prove the intermediate
claim HaEq:
a = (0,m).
rewrite the current goal using HaEq2 (from left to right).
rewrite the current goal using HiEq0 (from left to right).
Use reflexivity.
Apply HexR to the current goal.
Let i2 be given.
Assume Hi2Pair.
Apply Hi2Pair to the current goal.
Let m2 be given.
Assume Hm2Pair.
Apply Hm2Pair to the current goal.
Let j2 be given.
Assume Hj2Pair.
Apply Hj2Pair to the current goal.
Let n be given.
Assume Hcore2.
Apply Hcore2 to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hcoords0.
We prove the intermediate
claim HlexR:
i2 â j2 ⨠(i2 = j2 â§ m2 â n).
Apply Hcore2 to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hlex0.
We prove the intermediate
claim HbEq2:
b = (j2,n).
We prove the intermediate
claim H10EqR:
(1,0) = (i2,m2).
We prove the intermediate
claim HnOmega:
n â Ī.
We prove the intermediate
claim Hj2_2:
j2 â 2.
We prove the intermediate
claim HcoordsR2:
i2 â 2 â§ m2 â Ī.
We prove the intermediate
claim Hi2Eq1:
i2 = 1.
rewrite the current goal using
(tuple_2_0_eq i2 m2) (from right to left) at position 1.
rewrite the current goal using
(tuple_2_0_eq 1 0) (from right to left) at position 2.
We prove the intermediate
claim Hproj0:
(i2,m2) 0 = (1,0) 0.
rewrite the current goal using H10EqR (from right to left).
Use reflexivity.
An exact proof term for the current goal is Hproj0.
We prove the intermediate
claim Hj2Eq1:
j2 = 1.
Apply (HlexR (j2 = 1)) to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim H1j:
1 â j2.
rewrite the current goal using Hi2Eq1 (from right to left).
An exact proof term for the current goal is Hilj.
We prove the intermediate
claim Hsub2:
2 â {0,1}.
We prove the intermediate
claim Hj01:
j2 â {0,1}.
An exact proof term for the current goal is (Hsub2 j2 Hj2_2).
We prove the intermediate
claim H1in0:
1 â 0.
rewrite the current goal using Hj0 (from right to left) at position 2.
An exact proof term for the current goal is H1j.
An
exact proof term for the current goal is
(EmptyE 1 H1in0).
We prove the intermediate
claim H1in1:
1 â 1.
rewrite the current goal using Hj1 (from right to left) at position 2.
An exact proof term for the current goal is H1j.
An
exact proof term for the current goal is
(In_irref 1 H1in1).
We prove the intermediate
claim Hij:
i2 = j2.
An
exact proof term for the current goal is
(andEL (i2 = j2) (m2 â n) Hind).
rewrite the current goal using Hij (from right to left).
An exact proof term for the current goal is Hi2Eq1.
We prove the intermediate
claim HbEq:
b = (1,n).
rewrite the current goal using HbEq2 (from left to right).
rewrite the current goal using Hj2Eq1 (from left to right).
Use reflexivity.
We prove the intermediate
claim HsuccOmega:
ordsucc m â Ī.
An
exact proof term for the current goal is
(omega_ordsucc m HmOmega).
We prove the intermediate
claim H0sX:
(0,ordsucc m) â X.
rewrite the current goal using HXeq (from left to right).
rewrite the current goal using HXeq (from left to right) at position 1.
rewrite the current goal using HaEq (from left to right).
rewrite the current goal using HXeq (from left to right) at position 1.
rewrite the current goal using HbEq (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is H0sL.
An exact proof term for the current goal is H0sR.
We prove the intermediate
claim H0sinU:
(0,ordsucc m) â U.
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is H0sinDef.
We prove the intermediate
claim H0sEq10:
(0,ordsucc m) = (1,0).
An
exact proof term for the current goal is
(SingE (1,0) (0,ordsucc m) H0sinU).
We prove the intermediate
claim H0Eq1:
0 = 1.
rewrite the current goal using
(tuple_2_0_eq 1 0) (from right to left) at position 2.
We prove the intermediate
claim Hproj0:
(0,ordsucc m) 0 = (1,0) 0.
rewrite the current goal using H0sEq10 (from left to right).
Use reflexivity.
An exact proof term for the current goal is Hproj0.
An
exact proof term for the current goal is
(neq_0_1 H0Eq1).
Apply Hexb to the current goal.
Let b be given.
Assume HbPair.
Apply HbPair to the current goal.
We prove the intermediate
claim H10inU:
(1,0) â U.
An
exact proof term for the current goal is
(SingI (1,0)).
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is H10inU.
We prove the intermediate
claim Hrel:
order_rel X (1,0) b.
An
exact proof term for the current goal is
(SepE2 X (Îģx0 : set â order_rel X x0 b) (1,0) H10inDef).
We prove the intermediate
claim HXeq:
X = setprod 2 Ī.
rewrite the current goal using HXeq (from right to left) at position 1.
An exact proof term for the current goal is Hrel.
Apply Hex to the current goal.
Let i be given.
Assume HiPair.
Apply HiPair to the current goal.
Let m be given.
Assume HmPair.
Apply HmPair to the current goal.
Let j be given.
Assume HjPair.
Apply HjPair to the current goal.
Let n be given.
Assume Hcore.
Apply Hcore to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hcoords0.
We prove the intermediate
claim Hlex:
i â j ⨠(i = j â§ m â n).
Apply Hcore to the current goal.
Assume Hcoords0 Hlex0.
An exact proof term for the current goal is Hlex0.
We prove the intermediate
claim HbEq2:
b = (j,n).
We prove the intermediate
claim H10Eq2:
(1,0) = (i,m).
We prove the intermediate
claim HnOmega:
n â Ī.
We prove the intermediate
claim Hj2:
j â 2.
We prove the intermediate
claim Hcoords2:
i â 2 â§ m â Ī.
We prove the intermediate
claim Hi2:
i â 2.
An
exact proof term for the current goal is
(andEL (i â 2) (m â Ī) Hcoords2).
We prove the intermediate
claim HmOmega:
m â Ī.
An
exact proof term for the current goal is
(andER (i â 2) (m â Ī) Hcoords2).
We prove the intermediate
claim HiEq:
i = 1.
rewrite the current goal using
(tuple_2_0_eq i m) (from right to left) at position 1.
rewrite the current goal using
(tuple_2_0_eq 1 0) (from right to left) at position 2.
We prove the intermediate
claim Hproj0:
(i,m) 0 = (1,0) 0.
rewrite the current goal using H10Eq2 (from right to left).
Use reflexivity.
An exact proof term for the current goal is Hproj0.
We prove the intermediate
claim Hj1:
j = 1.
Apply (Hlex (j = 1)) to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim H1j:
1 â j.
rewrite the current goal using HiEq (from right to left) at position 1.
An exact proof term for the current goal is Hilj.
We prove the intermediate
claim Hsub2:
2 â {0,1}.
We prove the intermediate
claim Hj01:
j â {0,1}.
An exact proof term for the current goal is (Hsub2 j Hj2).
We prove the intermediate
claim H1in0:
1 â 0.
rewrite the current goal using Hj0 (from right to left) at position 2.
An exact proof term for the current goal is H1j.
An
exact proof term for the current goal is
(EmptyE 1 H1in0).
We prove the intermediate
claim H1in1:
1 â 1.
rewrite the current goal using Hj1' (from right to left) at position 2.
An exact proof term for the current goal is H1j.
An
exact proof term for the current goal is
(In_irref 1 H1in1).
We prove the intermediate
claim Hij:
i = j.
An
exact proof term for the current goal is
(andEL (i = j) (m â n) Hind).
rewrite the current goal using Hij (from right to left) at position 1.
An exact proof term for the current goal is HiEq.
We prove the intermediate
claim HbEq:
b = (1,n).
rewrite the current goal using Hj1 (from right to left) at position 2.
An exact proof term for the current goal is HbEq2.
We prove the intermediate
claim H0omega:
0 â Ī.
We prove the intermediate
claim H00X:
(0,0) â X.
rewrite the current goal using HXeq (from left to right).
We prove the intermediate
claim H00rel:
order_rel X (0,0) b.
rewrite the current goal using HXeq (from left to right) at position 1.
rewrite the current goal using HbEq (from left to right).
An
exact proof term for the current goal is
(SepI X (Îģx0 : set â order_rel X x0 b) (0,0) H00X H00rel).
We prove the intermediate
claim H00inU:
(0,0) â U.
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is H00inDef.
We prove the intermediate
claim H00Eq10:
(0,0) = (1,0).
An
exact proof term for the current goal is
(SingE (1,0) (0,0) H00inU).
We prove the intermediate
claim H0Eq1:
0 = 1.
rewrite the current goal using
(tuple_2_0_eq 0 0) (from right to left) at position 1.
rewrite the current goal using
(tuple_2_0_eq 1 0) (from right to left) at position 2.
We prove the intermediate
claim Hproj0:
(0,0) 0 = (1,0) 0.
rewrite the current goal using H00Eq10 (from left to right).
Use reflexivity.
An exact proof term for the current goal is Hproj0.
An
exact proof term for the current goal is
(neq_0_1 H0Eq1).