Eulers_Theorem_v2
Provedeuler-theoremmodular-arithmeticnumber-theoryproofwiki
Let be coprime integers: . Let be the Euler function of . Then
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.ZMod.Basic import Mathlib.Data.Nat.Totient
Formal statement
theorem Eulers_Theorem_v2 (a m : ℕ) (hm : 0 < m) (hcop : Nat.Coprime a m) : a ^ Nat.totient m ≡ 1 [MOD m] := by sorry
Source