quaternary_03102_heap_options
def
In the quaternary game 0.3102, the set of heap sizes reachable by a legal move on a single heap of size h (removal of sizes 1 and 2, subtraction of 1 when h > 1 and 4 when h > 4).
Statement
def quaternary_03102_heap_options (h : ℕ) : Finset ℕ- Defined in
- arXiv:2611.29198 Section 2.4
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 3
- quaternary_03102_heap_options_zeroIn the quaternary game 0.3102, a heap of size 0 has no legal options.
- quaternary_03102_two_heap_outcomeIn the quaternary game 0.3102, for all heap sizes x, y ≥ 3, the two-heap misère outcome is P if and only if the absolute difference |y -…
- quaternary_03102_optionsIn the quaternary game 0.3102, the set of follower positions reachable by a legal move on either heap from a two-heap position (x, y).
Read back from the Lean
Definition of a function quaternary_03102_heap_options mapping a natural number $h$ to a finite set of natural numbers (Finset ℕ), given by the union of:
- $\{0\}$ if $h = 1$ or $h = 2$, and $\emptyset$ otherwise;
- $\{h - 1\}$ if $1 < h$, and $\emptyset$ otherwise;
- $\{h - 4\}$ if $4 < h$, and $\emptyset$ otherwise.
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
/-- Options for a single heap of size h in the quaternary game 0.3102. -/ def quaternary_03102_heap_options (h : ℕ) : Finset ℕ := (if h = 1 ∨ h = 2 then {0} else ∅) ∪ (if 1 < h then {h - 1} else ∅) ∪ (if 4 < h then {h - 4} else ∅)