Proof. Replacing unrigorous “iteration” with induction › A rigorous proof of the many dropout lemma [01FO]

We fix a natural number m and a prime p. Let P be the following predicate on the naturals:

P{\mathopen {}\left (i\right )\mathclose {}} \Longleftrightarrow {\mathopen {}\left (m+i\right )\mathclose {}}^p \equiv m^p + i \mod p

We will prove that P holds for all i:\mathbb {N} using the principle of mathematical induction.

  • In the base case, we see that P{\mathopen {}\left (0\right )\mathclose {}} holds immediately because {\mathopen {}\left (m+0\right )\mathclose {}}^p = m^p = m^p+0.
  • In the inductive step, we fix i: \mathbb {N} such that P{\mathopen {}\left (i\right )\mathclose {}} holds and we must show P{\mathopen {}\left (i+1\right )\mathclose {}}. In other words, we assume {\mathopen {}\left (m+i\right )\mathclose {}}^p \equiv m^p+i \mod p and must show {\mathopen {}\left (m+i+1\right )\mathclose {}}^p\equiv m^p+i+1 \mod p\text {.} Using the dropout lemma followed by our induction hypothesis, we have: \begin {aligned} {\mathopen {}\left (m+i+1\right )\mathclose {}}^p &\equiv {\mathopen {}\left (m+i\right )\mathclose {}}^p+1 &&\mod p \\ &\equiv m^p+i+1 &&\mod p \end {aligned}