A proof pattern for using mathematical induction [01FJ]

If your goal is to prove \forall n:\mathbb {N}\mathpunct {.} P{\mathopen {}\left (n\right )\mathclose {}} and you plan to use mathematical induction to prove it, then you should literally do exactly as I say below on your paper:

  1. Write “To prove that P holds for all n:\mathbb {N}, we will use mathematical induction”. You must make clear exactly what predicate P you are proving by induction. If you don’t, I will assume you don’t know.
  2. Write “In the base case, we show that P{\mathopen {}\left (0\right )\mathclose {}} holds by…” (and fill in the proof).
  3. Write “In the inductive step, we show that for all n:\mathbb {N}, if P{\mathopen {}\left (n\right )\mathclose {}} holds then P{\mathopen {}\left (n+1\right )\mathclose {}} holds.” (And then give a proof of that claim.) When proving this, you may refer to the assumption that P{\mathopen {}\left (n\right )\mathclose {}} holds as your induction hypothesis.
  4. Write “We conclude that P{\mathopen {}\left (n\right )\mathclose {}} holds for all n.”