Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The abstract Jacobi-signed count coincides with the concrete range-sum.

Proved
JacSign.WZ_eq_WN

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogtropical

The abstract Jacobi-signed count coincides with the concrete range-sum.

theorem JacSign.WZ_eq_WN(n : ℕ) [NeZero n] : WZ n = WN n := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source Tropical/JacobiSignedNonDial.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from Tropical/JacobiSignedNonDial.lean
import Mathlib
import Definitions.Def_Tropical_JacobiSignedMultiplicative
import Definitions.Def_Tropical_JacobiSignedNonDial

/-!
# The Jacobi-signed circle count escapes the residue dial

The earlier character-weighted witnesses (CIRC, BQF, GSP) all collapsed to a *residue
dial*: their value was a function of `N mod 4` or `N mod 8`.  Here we prove, by exact
evaluation, that the Jacobi-signed count is **not** a residue dial, and that the Weil
floor of `JacobiSignedWeilFloorBound.lean` is nearly attained.

* `JacSign.WZ_eq_WN` : the abstract statistic equals the concrete range-sum, so all the
  numerical statements below are statements about `W` / `WZ` themselves.
* `JacSign.W_17`, `JacSign.W_41`, ... : exact values (`-2`, `-10`, `-14`, ...).
* `JacSign.not_residue_dial_prime` : there is **no** function `f` with `W p = f (p % 8)`
  for all primes `p`.  (`17 ≡ 41 ≡ 1 (mod 8)` but `W 17 = -2 ≠ -10 = W 41`.)
* `JacSign.not_residue_dial_modulus` : likewise at composite level
  (`21 ≡ 85 ≡ 5 (mod 8)` but `WZ 21 = 0 ≠ -4 = WZ 85`).
* `JacSign.weil_floor_near_attained` : `W 173 = 26` and `26² = 676 > 0.97 · (4 · 173)`,
  so the bound `W p ^ 2 ≤ 4 p` cannot be improved by any constant factor `< 0.977`.
* `JacSign.not_constant_on_primes_mod_four` : the statistic is not a dial mod 4 either.
-/

open Finset

open JacSign
Formal statement
theorem JacSign.WZ_eq_WN(n : ℕ) [NeZero n] : WZ n = WN n := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/Tropical/JacobiSignedNonDial.lean#L29

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me