A non-trivial square root of `1` modulo `N` yields a non-trivial divisor.
ProvedSpectralFreeWitness.nontrivial_factor_of_sqrt_oneaether-catalogspeculative
A non-trivial square root of 1 modulo N yields a non-trivial divisor.
theorem SpectralFreeWitness.nontrivial_factor_of_sqrt_one(N : ℕ) (x : ℤ) (hN : 2 ≤ N)
(hsq : (N : ℤ) ∣ (x - 1) * (x + 1)) (h1 : ¬ (N : ℤ) ∣ (x - 1))
(h2 : ¬ (N : ℤ) ∣ (x + 1)) :
Int.gcd (x - 1) (N : ℤ) ∣ N ∧ 1 < Int.gcd (x - 1) (N : ℤ) ∧
Int.gcd (x - 1) (N : ℤ) < N := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Speculative/AutoResearch/SpectralFreeWitnessSharp.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Speculative/AutoResearch/SpectralFreeWitnessSharp.lean import Mathlib import Definitions.Def_Speculative_AutoResearch_SpectralFreeWitness /- # Sharpness, rigidity, and the arithmetic payload of the spectral free-witness Adversarial follow-up to `Algebra.SpectralFreeWitness`: * `heatReturn_injective` — **rigidity**: on the range `r ≤ N` the single heat-kernel value determines the order, so `r ↦ p_n(e)` is injective there. * `heatReturn_approx_multiplicative` — an **honest correction** to the claim that the heat-kernel witness is "non-multiplicative": as a *function of the order* the witness value is multiplicative up to `1/N²`, since it is `1/r` to that accuracy. Only the *mechanism* (a spectral aggregate) is non-multiplicative, not the witness value. * `dyadicEigen_mersenne_ge`, `dyadic_gap_isTheta` — **sharpness**: for the Mersenne cycle length `r = 2^M - 1` the top nontrivial dyadic eigenvalue is at least `1 - 106/(M+1)`, so the spectral gap of the lacunary dyadic walk really is `Θ(1/M)`; the `O((log N)²)` mixing time cannot be improved to `O(log N)` by this generator set. * `nontrivial_factor_of_sqrt_one`, `factor_from_even_order` — the **arithmetic payload**: a recovered even order with a non-trivial square root of `1` splits `N`. No `sorry`, no `native_decide`. -/ open SpectralFreeWitness open Finset Real /-! ## 1. Rigidity of the witness -/ /-! ## 2. The witness value is (approximately) multiplicative -/ /-! ## 3. Sharpness of the spectral gap -/ /-! ## 4. Arithmetic payload: a recovered order splits `N` -/
Formal statement
theorem SpectralFreeWitness.nontrivial_factor_of_sqrt_one(N : ℕ) (x : ℤ) (hN : 2 ≤ N)
(hsq : (N : ℤ) ∣ (x - 1) * (x + 1)) (h1 : ¬ (N : ℤ) ∣ (x - 1))
(h2 : ¬ (N : ℤ) ∣ (x + 1)) :
Int.gcd (x - 1) (N : ℤ) ∣ N ∧ 1 < Int.gcd (x - 1) (N : ℤ) ∧
Int.gcd (x - 1) (N : ℤ) < N := by sorrySource