We prove the intermediate
claim Hu0:
0 ∈ ω.
We prove the intermediate
claim Hu1:
1 ∈ ω.
We prove the intermediate
claim Hfv:
f v ∈ ω.
An exact proof term for the current goal is (Hfmap v HvX).
We prove the intermediate
claim Hgu:
g u ∈ ω.
An exact proof term for the current goal is (Hgmap u HuY).
We prove the intermediate
claim Hhueq:
h u = nat_pair 1 (g u).
rewrite the current goal using Hhu_def (from left to right).
Use reflexivity.
We prove the intermediate
claim Hhveq:
h v = nat_pair 0 (f v).
rewrite the current goal using Hhv_def (from left to right).
Use reflexivity.
rewrite the current goal using Hhueq (from right to left).
rewrite the current goal using Hhveq (from right to left).
An exact proof term for the current goal is Heq.
We prove the intermediate
claim H10:
1 = 0.
An
exact proof term for the current goal is
(nat_pair_0 1 Hu1 (g u) Hgu 0 Hu0 (f v) Hfv Hpair).
We prove the intermediate
claim H01:
0 = 1.
Use symmetry.
An exact proof term for the current goal is H10.
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(neq_0_1 H01).
We prove the intermediate
claim HvY:
v ∈ Y.
Apply (HvXY (v ∈ Y)) to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HnotvX HvX).
An exact proof term for the current goal is HvY.
We prove the intermediate
claim Hu1:
1 ∈ ω.
We prove the intermediate
claim Hgu:
g u ∈ ω.
An exact proof term for the current goal is (Hgmap u HuY).
We prove the intermediate
claim Hgv:
g v ∈ ω.
An exact proof term for the current goal is (Hgmap v HvY).
We prove the intermediate
claim Hhueq:
h u = nat_pair 1 (g u).
rewrite the current goal using Hhu_def (from left to right).
Use reflexivity.
We prove the intermediate
claim Hhveq:
h v = nat_pair 1 (g v).
rewrite the current goal using Hhv_def (from left to right).
Use reflexivity.
rewrite the current goal using Hhueq (from right to left).
rewrite the current goal using Hhveq (from right to left).
An exact proof term for the current goal is Heq.
We prove the intermediate
claim HguEq:
g u = g v.
An
exact proof term for the current goal is
(nat_pair_1 1 Hu1 (g u) Hgu 1 Hu1 (g v) Hgv Hpair).
An exact proof term for the current goal is (Hginj u HuY v HvY HguEq).