Special games #
This file defines some simple yet notable combinatorial games:
⋆ = {0 | 0}½ = {0 | 1}↑ = {0 | ⋆}↓ = {⋆ | 0}.
Star #
The game ⋆ = {0 | 0}, which is fuzzy with zero.
Conventions for notations in identifiers:
- The recommended spelling of
⋆in identifiers isstar.
Equations
- IGame.«term⋆» = Lean.ParserDescr.node `IGame.«term⋆» 1024 (Lean.ParserDescr.symbol "⋆")
Instances For
Half #
The game ½ = {0 | 1}, which we prove satisfies ½ + ½ = 1.
Conventions for notations in identifiers:
- The recommended spelling of
½in identifiers ishalf.
Equations
- IGame.«term½» = Lean.ParserDescr.node `IGame.«term½» 1024 (Lean.ParserDescr.symbol "½")
Instances For
Up and down #
The game ↑ = {0 | ⋆}.
Conventions for notations in identifiers:
- The recommended spelling of
↑in identifiers isup.
Equations
- IGame.«term↑» = Lean.ParserDescr.node `IGame.«term↑» 1024 (Lean.ParserDescr.symbol "↑")
Instances For
The game ↓ = {⋆ | 0}.
Conventions for notations in identifiers:
- The recommended spelling of
↓in identifiers isdown.
Equations
- IGame.«term↓» = Lean.ParserDescr.node `IGame.«term↓» 1024 (Lean.ParserDescr.symbol "↓")
Instances For
Tiny and miny #
A tiny game ⧾x is defined as {0 | {0 | -x}}, and is amongst the smallest of the
infinitesimals.
Conventions for notations in identifiers:
- The recommended spelling of
⧾in identifiers istiny.
Equations
- IGame.«term⧾_» = Lean.ParserDescr.node `IGame.«term⧾_» 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⧾") (Lean.ParserDescr.cat `term 75))
Instances For
A miny game ⧿x is defined as {{x | 0} | 0}.
Conventions for notations in identifiers:
- The recommended spelling of
⧿in identifiers isminy.
Equations
- IGame.«term⧿_» = Lean.ParserDescr.node `IGame.«term⧿_» 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⧿") (Lean.ParserDescr.cat `term 75))
Instances For
Switches #
A switch ±x is defined as {x | -x}: switches are their own confusion interval!
Conventions for notations in identifiers:
- The recommended spelling of
±in identifiers isswitch.
Equations
- IGame.«term±_» = Lean.ParserDescr.node `IGame.«term±_» 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "±") (Lean.ParserDescr.cat `term 75))