slow_exact_nim_witness_three
def
For any natural number k, slow_exact_nim_witness_three k is the position on k+1 piles that assigns 1 to pile index 0, 2 to pile index 1, and 3 to all other pile indices.
Statement
def slow_exact_nim_witness_three (k : ℕ) : Fin (k + 1) → ℕ- Defined in
- arXiv:2611.14546, proof of Corollary 1
- Verified
- 15 Nov 2026
- Axioms
- none listed
- Used by 1
- slow_exact_nim_geometric_padded_witness_one_eq_witness_threeFor every natural number k, the geometric padded witness position slow_exact_nim_geometric_padded_witness 1 k on k + 1 piles is equal to…
Read back from the Lean
Given a natural number $k$, slow_exact_nim_witness_three k is defined as the function from $\text{Fin}(k + 1)$ to $\mathbb{N}$ that sends an index $i$ to $1$ if $i = 0$, to $2$ if $i = 1$, and to $3$ if $i \ge 2$.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The witness position (1, 2, 3, ..., 3) for Sprague-Grundy value 3 in slow exact k-Nim with k+1 piles. -/ def slow_exact_nim_witness_three (k : ℕ) : Fin (k + 1) → ℕ := fun i => if i.val = 0 then 1 else if i.val = 1 then 2 else 3