Documentation

LeanPool.MisereGames.Outcome

Misere combinatorial games.

The four outcome classes of a short partizan game.

  • L : Outcome

    Left always wins, regardless of who starts.

  • N : Outcome

    The Next (first) player wins.

  • P : Outcome

    The Previous (second) player wins.

  • R : Outcome

    Right always wins, regardless of who starts.

Instances For
    @[implicit_reducible]
    Equations
    @[implicit_reducible]

    Game outcomes are partially ordered in favour of Left, as illustrated in the following Hasse diagram:

      L
     / \
    N   P
     \ /
      R
    
    Equations
    • One or more equations did not get rendered due to their size.
    @[implicit_reducible]
    Equations
    @[implicit_reducible]
    Equations
    • One or more equations did not get rendered due to their size.
    @[simp]
    @[simp]
    theorem MisereGames.Outcome.ge_P_ge_N_eq_L {o : Outcome} (hp : o P) (hn : o N) :
    o = L
    @[simp]
    theorem MisereGames.Outcome.le_N_eq_N_or_R {o : Outcome} (hp : o N) :
    o = N o = R