Exact reduced period of a modular inverse phase
ProvedErdos287.inverse_exponential_phase_exact_reduced_perioderdos-problemsnumber-theory
Let and be units modulo with inverses and . Put and . Then is coprime to , and holds exactly when .
Preamble
import Mathlib
Formal statement
theorem Erdos287.inverse_exponential_phase_exact_reduced_period (a m x y u v : ℤ) (hm : 0 < m)
(hx : x * u ≡ 1 [ZMOD m]) (hy : y * v ≡ 1 [ZMOD m]) :
let g : ℤ := Int.gcd a m
let q := m / g
let b := a / g
Int.gcd b q = 1 ∧ ((a * u ≡ a * v [ZMOD m]) ↔ (x ≡ y [ZMOD q])) := by sorry
Source
Erdős #287 Type II dispersion audit.