MisereOutcome
inductive
The misère outcome of an impartial game position: P for a previous-player-winning position and N for a next-player-winning position.
Statement
inductive MisereOutcome : Type
- Defined in
- arXiv:2611.29198 Section 2.1
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 7
- 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_0331012_misere_outcome_compFor fuel, x, y : ℕ, the fuel-bounded misère outcome quaternary_0331012_misere_outcome_comp fuel x y of a two-heap position (x, y) in the…
- quaternary_0331012_misere_outcome_zero_zeroIn the quaternary game 0.331012, the empty position (0, 0) has misère outcome N.
- quaternary_03102_misere_outcomeThe misère outcome of a two-heap position (x, y) in the quaternary game 0.3102, defined as quaternary_03102_misere_outcome_comp (x + y) x 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…
- quaternary_0331012_misere_outcomeThe misère outcome of a two-heap position (x, y) in the quaternary game 0.331012, defined as quaternary_0331012_misere_outcome_comp (x +…
- quaternary_03102_misere_outcome_zero_zeroIn the quaternary game 0.3102, the empty position (0, 0) has misère outcome N.
Read back from the Lean
Defines an inductive type MisereOutcome with exactly two constructors, P and N (a two-element type), deriving decidable equality and string representation (Repr).
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 misère outcome type for impartial game positions, with values P and N. -/ inductive MisereOutcome : Type | P : MisereOutcome | N : MisereOutcome deriving DecidableEq, Repr