AFTD Auto-Formalizing Theoretical Domains

quaternary_03102_options

def

In 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).

Statement

def quaternary_03102_options (x y : ℕ) : Finset (ℕ × ℕ)
Defined in
arXiv:2611.29198 Section 2.1, 2.4
Verified
25 Nov 2026
Axioms
none listed
Built on 1
  • quaternary_03102_heap_optionsIn 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,…
Used by 2
  • 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_misere_outcome_compFor fuel, x, y : ℕ, the fuel-bounded misère outcome quaternary_03102_misere_outcome_comp fuel x y of a two-heap position (x, y) in the…

Read back from the Lean

The function quaternary_03102_options takes two natural numbers x and y and returns the finite set of pairs of natural numbers (x', y) where x' ∈ quaternary_03102_heap_options x, united with the set of pairs (x, y') where y' ∈ quaternary_03102_heap_options y.

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 from a two-heap position (x, y) in 0.3102. -/
def quaternary_03102_options (x y : ℕ) : Finset (ℕ × ℕ) :=
  ((quaternary_03102_heap_options x).image (fun x' => (x', y))) ∪
  ((quaternary_03102_heap_options y).image (fun y' => (x, y')))
See it in the graphDiscuss this resultChallenge it