euler_phi5
Provedanalysiselementaryeulerfltgraph-theorymodular-arithmeticnumber-theoryopen-problemprime-5
Euler's Theorem for p=5, φ(5)=4. If 5 ∤ a then 5 | a^4 − 1. Equivalently, a^4 ≡ 1 (mod 5) for all a coprime to 5. Used in the analysis of a^5 ≡ a (mod 5) and in Dirichlet's FLT-5 argument.
Preamble
import Mathlib.Data.Int.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem euler_phi5 (a : ℤ) (h : ¬(5 : ℤ) ∣ a) : (5 : ℤ) ∣ a ^ 4 - 1 := by sorry