Metamath Proof Explorer


Theorem nnindALT

Description: Principle of Mathematical Induction (inference schema). The last four hypotheses give us the substitution instances we need; the first two are the induction step and the basis.

This ALT version of nnind has a different hypothesis order. It may be easier to use with the Metamath program Proof Assistant, because "MM-PA> ASSIGN LAST" will be applied to the substitution instances first. We may eventually use this one as the official version. You may use either version. After the proof is complete, the ALT version can be changed to the non-ALT version with "MM-PA> MINIMIZE__WITH nnind / MAY_GROW". (Contributed by NM, 7-Dec-2005) (New usage is discouraged.) (Proof modification is discouraged.)

Ref Expression
Hypotheses nnindALT.6 y χ θ
nnindALT.5 ψ
nnindALT.1 x = 1 φ ψ
nnindALT.2 x = y φ χ
nnindALT.3 x = y + 1 φ θ
nnindALT.4 x = A φ τ
Assertion nnindALT A τ

Proof

Step Hyp Ref Expression
1 nnindALT.6 y χ θ
2 nnindALT.5 ψ
3 nnindALT.1 x = 1 φ ψ
4 nnindALT.2 x = y φ χ
5 nnindALT.3 x = y + 1 φ θ
6 nnindALT.4 x = A φ τ
7 3 4 5 6 2 1 nnind A τ