AFTD Auto-Formalizing Theoretical Domains

energy_filter_crossover_u_pos

theoremverified

For any tau > 0, real c, natural number p, and positive integer q, let D = p^2 + q^2; then the quadratic Gaussian coefficient u = pi^2 * q^2 / (2 * tau^2) + pi^2 * c^2 * q^4 / (4 * D) is strictly positive.

Statement

theorem energy_filter_crossover_u_pos (τ c : ℝ) (hτ : 0 < τ) (p q : ℕ) (hq : 0 < q) :
    let D : ℝ := (p : ℝ)^2 + (q : ℝ)^2
    0 < Real.pi^2 * (q : ℝ)^2 / (2 * τ^2) + Real.pi^2 * c^2 * (q : ℝ)^4 / (4 * D)
Source
arXiv:2405.02158
Verified
02 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

Read back from the Lean

Given real numbers τ and c with τ > 0, and natural numbers p and q with q > 0, let D = p^2 + q^2 (as real numbers); then 0 < (π^2 * q^2) / (2 * τ^2) + (π^2 * c^2 * q^4) / (4 * D).

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

The proof, explained

The expression u is written as the sum of two terms: a strictly positive term π^2 * q^2 / (2 * τ^2) and a non-negative term π^2 * c^2 * q^4 / (4 * D), where D = p^2 + q^2. The first term is positive because τ > 0, q > 0, and π > 0. The second term is non-negative because all factors in the numerator are squares or fourth powers and the denominator 4 * D is strictly positive since q > 0. Adding a strictly positive term and a non-negative term proves that u > 0.

  1. Introduce D and establish the basic positivity facts q > 0 and π > 0.

    We introduce the local definition D = p^2 + q^2, cast the hypothesis q > 0 from ℕ to ℝ, and obtain π > 0 from Real.pi_pos.

    lines 5–7

    uses Real.pi_pos

      intro D
      have hqR : (0:ℝ) < (q:ℝ) := by exact_mod_cast hq
      have hpi : 0 < Real.pi := Real.pi_pos
  2. The first term π^2 * q^2 / (2 * τ^2) is strictly positive.

    Since π > 0, q > 0, and τ > 0, both the numerator and denominator are strictly positive products of positive reals and squares, making the fraction strictly positive.

    line 8

      have hterm : 0 < Real.pi^2 * (q:ℝ)^2 / (2 * τ^2) := by positivity
  3. D = p^2 + q^2 is strictly positive.

    Unfolding the definition of D gives p^2 + q^2. Because p^2 ≥ 0 and q > 0 (so q^2 > 0), the sum D is strictly positive.

    lines 9–11

      have hD : 0 < D := by
        dsimp [D]
        positivity
  4. The second term π^2 * c^2 * q^4 / (4 * D) is non-negative.

    The numerator is a product of squares and even powers of real numbers, hence non-negative, while the denominator 4 * D is strictly positive since D > 0. Thus the fraction is non-negative.

    line 12

      have hterm2 : 0 ≤ Real.pi^2 * c^2 * (q:ℝ)^4 / (4 * D) := by positivity
  5. The sum of the two terms is strictly positive.

    Combining the strictly positive first term with the non-negative second term by linear arithmetic proves that the total sum is strictly positive.

    line 13

      linarith
Real.pi_pos
The mathematical constant π is strictly positive.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- OP-802 partial: The quadratic Gaussian decay rate u in the crossover sum S_2 is strictly positive for any filter width and coupling. -/theorem energy_filter_crossover_u_pos (τ c : ℝ) (hτ : 0 < τ) (p q : ℕ) (hq : 0 < q) :    let D : ℝ := (p : ℝ)^2 + (q : ℝ)^2    0 < Real.pi^2 * (q : ℝ)^2 / (2 * τ^2) + Real.pi^2 * c^2 * (q : ℝ)^4 / (4 * D) := by  intro D  have hqR : (0:ℝ) < (q:ℝ) := by exact_mod_cast hq  have hpi : 0 < Real.pi := Real.pi_pos  have hterm : 0 < Real.pi^2 * (q:ℝ)^2 / (2 * τ^2) := by positivity  have hD : 0 < D := by    dsimp [D]    positivity  have hterm2 : 0 ≤ Real.pi^2 * c^2 * (q:ℝ)^4 / (4 * D) := by positivity  linarith
See it in the graphDiscuss this resultChallenge it