Local definitions the statement names, followed through the definitions they name in turn. The match is by name in the source text, so a name reached only through notation can be missed; the full file is below.
definition OAI.CubicFirstMoment.omega line 16
def omega : ℂ := Complex.exp (2 * (Real.pi : ℂ) * Complex.I / 3)
definition OAI.CubicFirstMoment.eisensteinRing line 18
def eisensteinRing : Subalgebra ℤ ℂ := Algebra.adjoin ℤ {omega}
abbreviation OAI.CubicFirstMoment.Eisenstein line 19
abbrev Eisenstein := eisensteinRing
definition OAI.CubicFirstMoment.omegaE line 21
def omegaE : Eisenstein := ⟨omega, Algebra.subset_adjoin (Set.mem_singleton omega)⟩
definition OAI.CubicFirstMoment.norm line 24
def norm (a : Eisenstein) : ℝ := Complex.normSq (a : ℂ)
definition OAI.CubicFirstMoment.normNat line 26
def normNat (a : Eisenstein) : ℕ := ⌊norm a⌋₊
definition OAI.CubicFirstMoment.primary line 28
def primary (a : Eisenstein) : Prop := (3 : Eisenstein) ∣ a - 1
definition OAI.CubicFirstMoment.primaryPrime line 30
def primaryPrime (a : Eisenstein) : Prop := primary a ∧ Prime a
definition OAI.CubicFirstMoment.modulus line 32
def modulus (a : Eisenstein) : Ideal Eisenstein := Ideal.span {a}
abbreviation OAI.CubicFirstMoment.Residues line 34
abbrev Residues (a : Eisenstein) := Eisenstein ⧸ modulus a
definition OAI.CubicFirstMoment.residueRepresentative line 36
def residueRepresentative (a : Eisenstein) (v : Residues a) : Eisenstein := Classical.choose (Ideal.Quotient.mk_surjective v)
definition OAI.CubicFirstMoment.cubicSymbolAtPrime line 39
def cubicSymbolAtPrime (p v : Eisenstein) : ℂ := if IsUnit (Ideal.Quotient.mk (modulus p) v) then if h : ∃ j : Fin 3, Ideal.Quotient.mk (modulus p) (v ^ ((normNat p - 1) / 3)) = Ideal.Quotient.mk (modulus p) (omegaE ^ (j : ℕ)) then omega ^ ((Classical.choose h : Fin 3) : ℕ) else 0 else 0
definition OAI.CubicFirstMoment.additivePhase line 48
def additivePhase (p v : Eisenstein) : ℂ := let z : ℂ := (v : ℂ) / (p : ℂ) Complex.exp (2 * (Real.pi : ℂ) * Complex.I * (z + star z))
definition OAI.CubicFirstMoment.gaussAtPrime line 52
def gaussAtPrime (p : Eisenstein) : ℂ := (Real.sqrt (norm p) : ℂ)⁻¹ * ∑' v : Residues p, cubicSymbolAtPrime p (residueRepresentative p v) * additivePhase p (residueRepresentative p v)
definition OAI.CubicFirstMoment.cStar line 58
def cStar : ℝ := (2 * Real.pi) ^ (2 / 3 : ℝ) / (3 * Real.Gamma (2 / 3))
definition OAI.CubicFirstMoment.primeCutoffSum line 60
def primeCutoffSum (f : Eisenstein → ℂ) (X : ℝ) : ℂ := ∑' p : Eisenstein, if primaryPrime p ∧ norm p ≤ X then f p else 0
definition OAI.CubicFirstMoment.firstMomentScale line 63
def firstMomentScale (X : ℝ) : ℝ := X ^ (5 / 6 : ℝ) / Real.log X
definition OAI.CubicFirstMoment.theta line 71
def theta (ℓ : ℤ) (a : Eisenstein) : ℂ := ((a : ℂ) / (‖(a : ℂ)‖ : ℂ)) ^ ℓ