Let x be given.
We prove the intermediate
claim HxS:
x ∈ ordsucc m.
An
exact proof term for the current goal is
(ordsuccI1 m x HxM).
We prove the intermediate
claim HxF:
apply_fun e x ∈ F.
An exact proof term for the current goal is (HfunS x HxS).
We prove the intermediate
claim Hxm:
¬ (x = m).
We prove the intermediate
claim Hmm:
m ∈ m.
rewrite the current goal using Heq (from right to left) at position 1.
An exact proof term for the current goal is HxM.
An
exact proof term for the current goal is
((In_irref m) Hmm).
We prove the intermediate
claim HmS:
m ∈ ordsucc m.
An
exact proof term for the current goal is
(ordsuccI2 m).
We prove the intermediate
claim Heqxm:
x = m.
An exact proof term for the current goal is (Hxm Heqxm).
Let y be given.
We prove the intermediate
claim HyF:
y ∈ F.
Apply (HuniqAll y HyF) to the current goal.
Let x0 be given.
Assume Hx0pack.
We prove the intermediate
claim Hx0S:
x0 ∈ ordsucc m.
We prove the intermediate
claim Heqx0:
apply_fun e x0 = y.
We prove the intermediate
claim HuniqS:
∀x' : set, x' ∈ ordsucc m → apply_fun e x' = y → x' = x0.
We prove the intermediate
claim Hx0case:
x0 ∈ m ∨ x0 = m.
An
exact proof term for the current goal is
(ordsuccE m x0 Hx0S).
We prove the intermediate
claim Hx0M:
x0 ∈ m.
Apply (Hx0case (x0 ∈ m)) to the current goal.
An exact proof term for the current goal is H0.
Apply FalseE to the current goal.
We prove the intermediate
claim HyEq:
y = apply_fun e m.
rewrite the current goal using Heqx0 (from right to left).
rewrite the current goal using H0 (from left to right).
Use reflexivity.
We prove the intermediate
claim HySing:
y ∈ {apply_fun e m}.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (HyNot HySing).
We use x0 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hx0M.
An exact proof term for the current goal is Heqx0.
Let x' be given.
We prove the intermediate
claim Hx'S:
x' ∈ ordsucc m.
An
exact proof term for the current goal is
(ordsuccI1 m x' Hx'M).
An exact proof term for the current goal is (HuniqS x' Hx'S Heq').