Lemma 2.2: number of admissible keys
ProvedMiyadera2026.card_admcombinatoricsenumerationfibonacci-numberstransfer-matrices
For , the number of answer keys of length with no three equal consecutive answers is .
Preamble
import Definitions.Def_Miyadera2026_Defs import Mathlib
Formal statement
namespace Miyadera2026 open Finset Matrix theorem card_adm (n : ℕ) (hn : 1 ≤ n) : (adm n).card = 2 * Nat.fib (n + 1) := by sorry end Miyadera2026
Source
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 2.2
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every n >= 1, the number of admissible keys of length n equals 2 * Fib(n+1).
Auditor concerns: none. Verified for n = 1..39 by DP (n = 1: 2 = 2F2; n = 2: 4 = 2F3). The hypothesis n >= 1 is needed (n = 0 gives 1 vs 2).
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.