AFTD Auto-Formalizing Theoretical Domains

energy_filter_renyi_constant

def

For a filter sequence a : ℤ → ℝ and real exponent q, energy_filter_renyi_constant a q is (4 / Real.sqrt (2 * Real.pi)) ^ q * Real.sqrt (Real.pi / (8 * q)) * ((1 / (2 * Real.pi)) * ∫ θ in (0 : ℝ)..(2 * Real.pi), ‖energy_filter_fourier_symbol a θ‖ ^ (2 * q)) / (energy_filter_sequence_lattice_s2 a ^ q).

Statement

noncomputable def energy_filter_renyi_constant (a : ℤ → ℝ) (q : ℝ) : ℝ
Defined in
knowledgebase, OP-1115
Verified
05 Nov 2026
Axioms
none listed
Built on 2
  • energy_filter_fourier_symbolFor a sequence a : ℤ → ℝ and real θ, energy_filter_fourier_symbol a θ is the Fourier symbol A(θ) = ∑' j : ℤ, (a j : ℂ) * Complex.exp…
  • energy_filter_sequence_lattice_s2For a real sequence a on Z, energy_filter_sequence_lattice_s2 a is the sum of (a j)^2 over all j in Z.
Used by 1

Read back from the Lean

Definition of energy_filter_renyi_constant, which takes a sequence a : ℤ → ℝ and a parameter q : ℝ, and returns the real number: (Cq * integ) / (S ^ q) where: 1. S is energy_filter_sequence_lattice_s2 a, defined as the sum over j : ℤ of (a j)^2. 2. Cq is (4 / Real.sqrt (2 * Real.pi)) ^ q * Real.sqrt (Real.pi / (8 * q)). 3. integ is (1 / (2 * Real.pi)) * ∫ θ in (0 : ℝ)..(2 * Real.pi), ‖energy_filter_fourier_symbol a θ‖ ^ (2 * q), where energy_filter_fourier_symbol a θ is the complex-valued sum ∑' j : ℤ, (a j : ℂ) * Complex.exp (Complex.I * (j : ℝ) * (θ : ℝ)), and ‖ · ‖ is the complex modulus.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The asymptotic Renyi-q constant (4/√(2π))^q √(π/(8q)) (1/(2π)) ∫_0^(2π) |A(θ)|^(2q) dθ / S^q for energy filters. -/
noncomputable def energy_filter_renyi_constant (a : ℤ → ℝ) (q : ℝ) : ℝ :=
  let S := energy_filter_sequence_lattice_s2 a
  let Cq := (4 / Real.sqrt (2 * Real.pi)) ^ q * Real.sqrt (Real.pi / (8 * q))
  let integ := (1 / (2 * Real.pi)) * ∫ θ in (0 : ℝ)..(2 * Real.pi),
    ‖energy_filter_fourier_symbol a θ‖ ^ (2 * q)
  Cq * integ / (S ^ q)
See it in the graphDiscuss this resultChallenge it