Apply Hex to the current goal.
Let m be given.
We prove the intermediate
claim HmNat:
nat_p m.
We prove the intermediate
claim HkEq:
k = ordsucc m.
We prove the intermediate
claim HmO:
m ∈ ω.
An
exact proof term for the current goal is
(nat_p_omega m HmNat).
We prove the intermediate
claim HsuccKO:
ordsucc k ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc k HkO).
Set a to be the term
(0,m).
We prove the intermediate
claim HaX:
a ∈ X.
We prove the intermediate
claim HbX:
b ∈ X.
We prove the intermediate
claim HUpow:
U ∈ 𝒫 X.
Apply PowerI X U to the current goal.
Let y be given.
Set Bold to be the term
(A ∪ B ∪ C).
We prove the intermediate
claim HUA:
U ∈ A.
We use a to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HaX.
We use b to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HbX.
We prove the intermediate
claim HUAB:
U ∈ (A ∪ B).
An
exact proof term for the current goal is
(binunionI1 A B U HUA).
We prove the intermediate
claim HUbold:
U ∈ Bold.
An
exact proof term for the current goal is
(binunionI1 (A ∪ B) C U HUAB).
rewrite the current goal using HUdef (from left to right).
An
exact proof term for the current goal is
(binunionI1 Bold {X} U HUbold).
We prove the intermediate
claim HUeq:
U = {(0,k)}.
Let y be given.
We will
prove y ∈ {(0,k)}.
We prove the intermediate
claim HyX:
y ∈ X.
We prove the intermediate
claim Hya:
order_rel X a y.
We prove the intermediate
claim Hyb:
order_rel X y b.
We prove the intermediate
claim HkX:
(0,k) ∈ X.
We prove the intermediate
claim Hamk:
order_rel X a (0,k).
rewrite the current goal using HkEq (from left to right).
An exact proof term for the current goal is Hrel0.
Apply FalseE to the current goal.
An exact proof term for the current goal is Hylk.
An exact proof term for the current goal is Hya.
rewrite the current goal using HkEq (from right to left).
An exact proof term for the current goal is Hy0k.
rewrite the current goal using Hey (from left to right).
An
exact proof term for the current goal is
(SingI (0,k)).
Apply FalseE to the current goal.
Let y be given.
We prove the intermediate
claim Hey:
y = (0,k).
An
exact proof term for the current goal is
(SingE (0,k) y HyS).
rewrite the current goal using Hey (from left to right).
We prove the intermediate
claim HkX2:
(0,k) ∈ X.
We prove the intermediate
claim Hamk2:
order_rel X a (0,k).
rewrite the current goal using HkEq (from left to right).
An exact proof term for the current goal is Hrel0.
Apply andI to the current goal.
An exact proof term for the current goal is Hamk2.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HUopen.
∎