Let X be given.
Assume HX.
Let f be given.
Apply bijE 1 X f Hf to the current goal.
Assume Hf1 Hf2 Hf3.
We use
f 0 to
witness the existential quantifier.
We prove the intermediate
claim Lf0X:
f 0 ∈ X.
An
exact proof term for the current goal is
Hf1 0 In_0_1.
Apply and3I to the current goal.
An exact proof term for the current goal is Lf0X.
An
exact proof term for the current goal is
HX (f 0) Lf0X.
Let y be given.
Apply Hf3 y Hy to the current goal.
Let i be given.
Assume H.
Apply H to the current goal.
rewrite the current goal using Hyi (from right to left).
Apply cases_1 i Hi to the current goal.
Let n be given.
Assume Hn.
Let X be given.
Assume HX.
Let f be given.
Assume Hf1 Hf2 Hf3.
We prove the intermediate
claim LX'1:
X' ⊆ X.
Let w be given.
Let i be given.
rewrite the current goal using Hwi (from left to right).
Apply Hf1 i to the current goal.
An exact proof term for the current goal is Hi.
We use f to witness the existential quantifier.
Apply bijI to the current goal.
Let i be given.
Apply ReplI to the current goal.
An exact proof term for the current goal is Hi.
Let i be given.
Assume Hi.
Let j be given.
Assume Hj.
Apply Hf2 to the current goal.
An exact proof term for the current goal is Hi.
An exact proof term for the current goal is Hj.
An exact proof term for the current goal is Hij.
Let w be given.
Let i be given.
We use i to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hi.
Use symmetry.
An exact proof term for the current goal is Hwi.
Apply IHn X' (λx' Hx' ⇒ HX x' (LX'1 x' Hx')) LX'2 to the current goal.
Let z be given.
Assume H.
Apply H to the current goal.
Assume H.
Apply H to the current goal.
We prove the intermediate
claim Lfn1:
f (ordsucc n) ∈ X.
Apply Hf1 (ordsucc n) to the current goal.
We prove the intermediate
claim Lfn1':
SNo (f (ordsucc n)).
Apply HX (f (ordsucc n)) Lfn1 to the current goal.
We use
(f (ordsucc n)) to
witness the existential quantifier.
Apply and3I to the current goal.
An exact proof term for the current goal is Lfn1.
An exact proof term for the current goal is Lfn1'.
Let y be given.
Assume Hy Hy2.
Apply Hf3 y Hy to the current goal.
Let i be given.
Assume H.
Apply H to the current goal.
Apply Hz3 y to the current goal.
rewrite the current goal using Hyi (from right to left).
Apply ReplI to the current goal.
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Hy2.
An exact proof term for the current goal is H2.
rewrite the current goal using Hyi (from right to left).
rewrite the current goal using H3 (from left to right).
We use z to witness the existential quantifier.
Apply and3I to the current goal.
An exact proof term for the current goal is LX'1 z Hz1.
An exact proof term for the current goal is Hz2.
Let y be given.
Assume Hy Hy2.
Apply Hf3 y Hy to the current goal.
Let i be given.
Assume H.
Apply H to the current goal.
Apply Hz3 y to the current goal.
rewrite the current goal using Hyi (from right to left).
Apply ReplI to the current goal.
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Hy2.
rewrite the current goal using Hyi (from right to left).
rewrite the current goal using H3 (from left to right).
An exact proof term for the current goal is H2.