Proposition 3.2: pair correlations by a transfer matrix
ProvedMiyadera2026.pair_correlationcombinatoricsenumerationfibonacci-numberstransfer-matrices
For questions of a test with questions, , with , , . Questions are counted from in Lean: question below is the paper's question .
Preamble
import Definitions.Def_Miyadera2026_Defs import Mathlib
Formal statement
namespace Miyadera2026
open Finset Matrix
theorem pair_correlation (n : ℕ) (i p : Fin n) (hip : i ≤ p) :
∑ ε ∈ adm n, sgn (ε i) * sgn (ε p) =
2 * (one2 ⬝ᵥ ((matB ^ (n - 1 - p.val) * matA ^ (p.val - i.val) * matB ^ i.val) *ᵥ e1)) := 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), Proposition 3.2
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For all n and positions i <= p in Fin n: sum over admissible eps of sgn(eps i)*sgn(eps p) equals 2 * (1,1) . (B^(n-1-p) * A^(p-i) * B^i * (1,0)^T), with B = [[1,1],[1,0]], A = [[-1,-1],[1,0]].
Auditor concerns: none. n-1-p and p-i are natural subtractions but never truncate (p < n, i <= p). Verified for all n <= 11 and all i <= p by brute force. At i = p it gives 2 F_{n+1} = |A_n| as it must.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.