op_2051_slow_exact_nim_k3_misere_seven
In slow exact 3-Nim on 5 piles, the geometric padded witness position slow_exact_nim_geometric_padded_witness 2 3 has misère invariant 7.
Statement
theorem op_2051_slow_exact_nim_k3_misere_seven :
slow_exact_nim_misere 3 5 (slow_exact_nim_geometric_padded_witness 2 3) = 7- Source
- arXiv:2611.14546; OP-2051
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- slow_exact_nim_misereThe misère invariant slow_exact_nim_misere k n x of a position x : Fin n → ℕ in slow exact k-Nim on n piles is defined as…
- slow_exact_nim_geometric_padded_witnessFor natural numbers r and k, slow_exact_nim_geometric_padded_witness r k is the position on k + r piles (represented as a function from…
Read back from the Lean
The misère-play slow exact Nim Grundy value slow_exact_nim_misere with parameters $k = 3$ (piles reduced per turn) and $n = 5$ (total piles), evaluated on the 5-pile configuration given by slow_exact_nim_geometric_padded_witness 2 3 (where pile $i \in \{0, 1, 2, 3, 4\}$ has size $2^i$ for $i \le 2$ and $2^{2+1}-1 = 7$ for $i > 2$, i.e., pile sizes 1, 2, 4, 7, 7), is equal to 7.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The theorem is proved by reflexivity (`rfl`). Because the geometric padded witness position and the recursive misère game-tree evaluation are fully computable on finite positions, Lean reduces the left-hand side definitionally to 7.
slow_exact_nim_misere 3 5 (slow_exact_nim_geometric_padded_witness 2 3) = 7
The identity holds by definitional equality. Both the geometric padded witness position (which evaluates to the 5-pile position $(1, 2, 4, 7, 7)$) and the misère invariant function are fully computable. Lean reduces the recursive minimum excluded value (mex) calculation over all reachable follower positions directly to 7.
rfl
- The proof relies entirely on Lean's kernel evaluating the recursive definition of the misère invariant on a finite game tree to verify the equality.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- In slow exact 3-Nim on 5 piles, the geometric padded witness position has misère invariant 7. -/theorem op_2051_slow_exact_nim_k3_misere_seven : slow_exact_nim_misere 3 5 (slow_exact_nim_geometric_padded_witness 2 3) = 7 := by rfl