Apply Hex to the current goal.
Let m be given.
We prove the intermediate
claim Hmnat:
nat_p m.
We prove the intermediate
claim Hxeq:
x = ordsucc m.
We prove the intermediate
claim Hx1omega:
ordsucc m ∈ ω.
rewrite the current goal using Hxeq (from right to left).
An exact proof term for the current goal is Hxomega.
rewrite the current goal using Hxeq (from left to right).
We prove the intermediate
claim Hmomega:
m ∈ ω.
An
exact proof term for the current goal is
(nat_p_omega m Hmnat).
We prove the intermediate
claim Hbomega:
b ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc x1 Hx1omega).
We prove the intermediate
claim HIeq:
I = {x1}.
Let y be given.
We prove the intermediate
claim Hmy:
order_rel ω m y.
We prove the intermediate
claim Hyb:
order_rel ω y b.
We prove the intermediate
claim Hm_in_y:
m ∈ y.
We prove the intermediate
claim Hy_in_b:
y ∈ b.
Apply (ordsuccE x1 y Hy_in_b) to the current goal.
Apply (ordsuccE m y Hyin) to the current goal.
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(In_no2cycle m y Hm_in_y Hyinm).
Apply FalseE to the current goal.
We prove the intermediate
claim Hmm:
m ∈ m.
rewrite the current goal using Heq0 (from right to left) at position 2.
An exact proof term for the current goal is Hm_in_y.
An
exact proof term for the current goal is
((In_irref m) Hmm).
rewrite the current goal using Heq1 (from left to right).
An
exact proof term for the current goal is
(SingI x1).
Let y be given.
We prove the intermediate
claim Heq:
y = x1.
An
exact proof term for the current goal is
(SingE x1 y HyS).
rewrite the current goal using Heq (from left to right).
Apply andI to the current goal.
We prove the intermediate
claim Hmemb:
m ∈ x1.
An
exact proof term for the current goal is
(ordsuccI2 m).
We prove the intermediate
claim Hx1b:
x1 ∈ b.
An
exact proof term for the current goal is
(ordsuccI2 x1).
We prove the intermediate
claim HIpow:
I ∈ 𝒫 ω.
Apply PowerI to the current goal.
Let y be given.
We use m to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hmomega.
We use b to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hbomega.
rewrite the current goal using HIeq (from right to left).
∎