Apply Hex to the current goal.
Let m be given.
We prove the intermediate
claim HmNat:
nat_p m.
We prove the intermediate
claim HnEq:
n = 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 HnX:
(1,n) ∈ X.
We prove the intermediate
claim HsuccNO:
ordsucc n ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc n HnO).
Set a to be the term
(1,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 = {(1,n)}.
Let y be given.
We will
prove y ∈ {(1,n)}.
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.
Apply FalseE to the current goal.
rewrite the current goal using HnEq (from right to left).
An exact proof term for the current goal is Hyln.
rewrite the current goal using Hey (from left to right).
An
exact proof term for the current goal is
(SingI (1,n)).
Apply FalseE to the current goal.
Let y be given.
We prove the intermediate
claim Hey:
y = (1,n).
An
exact proof term for the current goal is
(SingE (1,n) y HyS).
rewrite the current goal using Hey (from left to right).
rewrite the current goal using HnEq (from left to right).
Apply orIR to the current goal.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ordsuccI2 m).
Apply orIR to the current goal.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ordsuccI2 n).
Apply andI to the current goal.
An exact proof term for the current goal is Hrel1.
An exact proof term for the current goal is Hrel2.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HUopen.
∎