Lemma 7.5: integral representation
ProvedMiyadera2026.integral_repcombinatoricsenumerationfibonacci-numberstransfer-matrices
, where for even and for odd , and is the coefficient function of .
Preamble
import Definitions.Def_Miyadera2026_Defs import Mathlib
Formal statement
namespace Miyadera2026
open Finset Matrix
theorem integral_rep (n : ℕ) (i : Fin n) (h : ℤ → ℤ) (hh : IsH n i h) :
(D n i : ℝ) = (1 / Real.pi) * ∫ θ in (-(Real.pi / 2))..(Real.pi / 2),
(Complex.exp (-(((if n % 2 = 0 then 1 else 0 : ℕ) : ℂ) * θ * Complex.I)) *
∑ k ∈ Icc (-(n : ℤ)) n, (h k : ℂ) * Complex.exp ((k : ℂ) * θ * Complex.I)).re := by sorry
end Miyadera2026Source
R. Miyadera, A habit of a teacher: an exact formula for a weighted version and a computer-assisted proof of the original puzzle, arXiv:2612.00079v1 (2026), Lemma 7.5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every n, i and h with IsH n i h: (D n i : R) = (1/pi) * integral over theta from -pi/2 to pi/2 of Re( exp(-i nu theta) * sum over k in [-n, n] of h(k) exp(i k theta) ), where nu = 1 if n is even and 0 if n is odd.
Auditor concerns: none. Integrating exp(i(k-nu)theta) over [-pi/2, pi/2] gives pi for k = nu and 2 sin((k-nu)pi/2)/(k-nu) otherwise, which vanishes because h is supported on k of the same parity as nu; so the right side is h(nu) = D n i by D_via_H. Coercions (N -> C for nu, R -> C for theta) are as intended.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.