The Weil floor for the Jacobi-signed circle count.
ProvedJacSign.W_sq_leaether-catalogtropical
The Weil floor for the Jacobi-signed circle count.
For every odd prime p, W p ^ 2 ≤ 4 p, i.e. |W p| ≤ 2 √p.
theorem JacSign.W_sq_le(hp : p ≠ 2) : (W p) ^ 2 ≤ 4 * (p : ℤ) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Tropical/JacobiSignedWeilFloorBound.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Tropical/JacobiSignedWeilFloorBound.lean import Mathlib import Definitions.Def_Tropical_JacobiSignedWeilFloorBound import Definitions.Def_Tropical_JacobiSignedWeilFloorCore /-! # The Weil floor for the Jacobi-signed circle count This file proves, completely elementarily (no algebraic geometry, no Hasse bound imported), the **Weil bound** `W p ^ 2 ≤ 4 * p` for the Jacobi-signed circle count `W p = ∑_x χ(x(1-x²))` of `JacobiSignedWeilFloorCore.lean`. Equivalently `|W p| ≤ 2 √p`: the JACSIGN statistic sits exactly at the square-root noise floor of a character sum. The proof is a second-moment (averaging over quadratic twists) argument: * `JacSign.chiSum_quadratic` : `∑_d χ((d-a)(d-b)) = p-1` if `a = b` and `-1` otherwise; * `JacSign.A p d = ∑_x χ(x³ - d x)` is the trace of Frobenius of `y² = x³ - d x`; * `JacSign.A_sq_scale` : `A p (c²) = χ(c) · A p 1` — all *square* twists carry the same squared trace; * `JacSign.moment` : `∑_d (A p d)² = 2 p (p-1)` — the exact second moment; * since squaring is at most `2`-to-`1`, the `p-1` scalings contribute `(p-1) · (A p 1)² ≤ 2 · 2p(p-1)`, whence `(A p 1)² ≤ 4p`. -/ open Finset open JacSign variable (p : ℕ) [Fact p.Prime]
Formal statement
theorem JacSign.W_sq_le(hp : p ≠ 2) : (W p) ^ 2 ≤ 4 * (p : ℤ) := by sorry
Source