pith. machine review for the scientific record. sign in
theorem

twistedPrimeCostSum_zero

proved
show as:
view math explainer →
module
IndisputableMonolith.NumberTheory.CostTwistedLSeries
domain
NumberTheory
line
124 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.NumberTheory.CostTwistedLSeries on GitHub at line 124.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

formal source

 121  (Finset.range (N + 1)).sum fun p =>
 122    if Nat.Prime p then primeCost p * chi p else 0
 123
 124@[simp]
 125theorem twistedPrimeCostSum_zero (chi : ℕ → ℝ) :
 126    twistedPrimeCostSum chi 0 = 0 := by
 127  simp [twistedPrimeCostSum, Nat.not_prime_zero]
 128
 129/-- For the trivial character, the twisted prime cost sum equals the
 130    untwisted version. -/
 131theorem twistedPrimeCostSum_one_char (N : ℕ) :
 132    twistedPrimeCostSum (fun _ => 1) N
 133      = (Finset.range (N + 1)).sum fun p =>
 134          if Nat.Prime p then primeCost p else 0 := by
 135  unfold twistedPrimeCostSum
 136  congr 1
 137  ext p
 138  by_cases hp : Nat.Prime p
 139  · simp [hp]
 140  · simp [hp]
 141
 142/-! ## Master certificate -/
 143
 144/-- Master certificate: the elementary properties of the cost-twisted
 145    arithmetic function. -/
 146theorem cost_twisted_certificate :
 147    -- (1) Twisted cost is zero at n = 1.
 148    (∀ (chi : ℕ → ℝ), twistedCostSpectrumValue chi 1 = 0) ∧
 149    -- (2) Twisted cost is completely additive over positive products.
 150    (∀ (chi : ℕ → ℝ) {m n : ℕ}, m ≠ 0 → n ≠ 0 →
 151      twistedCostSpectrumValue chi (m * n)
 152        = twistedCostSpectrumValue chi m + twistedCostSpectrumValue chi n) ∧
 153    -- (3) Twisted cost on a prime equals J(p) · chi(p).
 154    (∀ (chi : ℕ → ℝ) {p : ℕ}, Nat.Prime p →