Theorem 4.1: exact formula for the proportional teacher
ProvedMiyadera2026.W_formulacombinatoricsenumerationfibonacci-numberstransfer-matrices
For every and question , with and : , where , or according as ( Fibonacci, Lucas, extended to negative indices). 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 W_formula (n : ℕ) (i : Fin n) :
W n i = 2 * fibZ i.val * fibZ (n - 1 - i.val) + g (n - 1 - i.val) i.val +
g i.val (n - 1 - i.val) := 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), Theorem 4.1
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every n and position i (0-based), W n i = 2 F_i F_{n-1-i} + g(n-1-i, i) + g(i, n-1-i), with F = fibZ at nonnegative arguments and g as defined (case split on first argument mod 3).
Auditor concerns: none. n-1-i is natural subtraction but i < n so no truncation. Verified exactly for all n = 1..59 and all i against a DP that was itself checked against brute force for n <= 12.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.