Dedekind-sum witness for levels ℓ≡ 7(mod 12)
Provedrademacher_phi_level_witness_sevenFor every natural number , write , and . Here is dedekindSum, built from the sawtooth which is when the fractional part of vanishes and otherwise. The assertion is a conjunction of two statements about rationals and naturals. First, the identity
where is formed by truncated subtraction in , i.e. equals , and the right-hand factor is the image of the integer in . Second, the natural numbers and , the quotient taken in , are coprime. Since , the two clauses say concretely that the left-hand side equals and that is coprime to .
The bracketed expression is the difference of values of Rademacher's -function attached to the eta multiplier system, evaluated at a matrix of determinant one with lower row and upper left entry ; the theorem records its exact value together with the coprimality needed to realise it as a generator. It supplies the numerical witness used by ModularCurve.sharpUnitNecessary_of_mod_twelve_eq_seven for levels congruent to modulo .
import Definitions.Def_NumberTheory_DedekindSum set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false
theorem rademacher_phi_level_witness_seven (j : ℕ) : 12 * ((((3 * j + 2 : ℕ) + 4 : ℤ) : ℚ) * (1 - ((12 * j + 7 : ℕ) : ℚ)) / (12 * ((12 * j + 7 : ℕ) : ℚ)) + dedekindSum 4 1 - dedekindSum 4 (12 * j + 7)) = ((Nat.gcd ((12 * j + 7) - 1) 12 : ℕ) : ℚ) * (-((j : ℤ) + 1)) ∧ Nat.Coprime (Int.natAbs (-((j : ℤ) + 1))) (((12 * j + 7) - 1) / Nat.gcd ((12 * j + 7) - 1) 12) := by sorry