Let n be given.
rewrite the current goal using
Pi_SNo_S f n Hn (from left to right).
We prove the intermediate
claim L1:
∀i ∈ n, f i ∈ int.
Let i be given.
Assume Hi.
Apply H1 to the current goal.
An exact proof term for the current goal is Hi.
We prove the intermediate
claim L2:
f n ∈ int.
Apply H1 to the current goal.
Apply IHn L1 H3 to the current goal.
Let i be given.
Assume H.
Apply H to the current goal.
We use i to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hi.
An exact proof term for the current goal is H4.
We use n to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is H3.
∎