The Fourier coefficients of the averaged square wave are
ProvedLL_AvgWaveCoeff1128.leaf_s5_07c_coeffFor real and every integer , , where , , and for odd and for even .
import Mathlib import Definitions.Def_LL_AvgWaveCoeff1128_s5SqCoeff import Definitions.Def_LL_AvgWaveCoeff1128_s5AvgWave import Definitions.Def_LL_AvgWaveCoeff1128_eC
namespace LL_AvgWaveCoeff1128
theorem leaf_s5_07c_coeff (Δ : ℝ) (hΔ₀ : 0 < Δ) (hΔ₁ : Δ ≤ 1 / 4) (h : ℤ) :
(1 / 2 : ℂ) * ∫ y in (0 : ℝ)..2, eC (-(h / 2 * y)) * s5AvgWave Δ y = s5SqCoeff Δ h := by sorry
end LL_AvgWaveCoeff1128Read-back
What the Lean code literally says, in plain math · claude-haiku
Read-back: LL_AvgWaveCoeff1128.leaf_s5_07c_coeff
Statement. Let be real with , and let be an integer. Define the square wave , which equals on and on for each integer , and the window average
The claim is
The factor is eC(-(h/2*y)). The cast elaborates as real division ( is not involved), so is in , not integer division. The right side is s5SqCoeff Δ h.
Binders and hypotheses. with and ; . No other hypotheses. The integrals are interval integrals of bounded, piecewise-constant functions, so they exist.
Truth. Expand in Fourier series on period 2. The odd-frequency coefficients are for odd , and otherwise. The box average multiplies by . is 2-periodic, and extracts exactly the coefficient at frequency . This yields the stated right side for every odd , including negative , and for every even , including . The statement is true.
Non-vacuity. The hypotheses are satisfiable (for example ). For odd the conclusion is a nonzero specific value, so it is not a tautology.
Junk values. No junk is exercised. For odd and , the argument is nonzero, so the sinc is a genuine value. The case falls in the even branch and returns a true zero. The power is an integer power in a field, so it is well defined.
Hypothesis note. is not needed. The identity holds for every . It is harmless and satisfiable, but a reader may mistake it for a necessary condition.
Definition note. The Odd h branch is required. The left side is genuinely for even , so the even branch is correct and not a default.
VERDICT: FAITHFUL AND TRUE
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.