Documentation

CombinatorialGames.Game.Concrete

Combinatorial games from a type of states #

A "concrete" game is a type of states endowed with well-founded move relations for the left and right players. This is often a more convenient representation for a game, which can then be used to define a IGame.

class ConcreteGame (α : Type u_2) :
Type u_2

A "concrete" game is a type of states endowed with well-founded move relations for the left and right players.

  • relLeft : ααProp

    The move relation for the left player.

  • relRight : ααProp

    The move relation for the right player.

  • isWellFounded_rel : IsWellFounded α fun (a b : α) => relLeft a b relRight a b

    The move relation is well-founded.

Instances
    def ConcreteGame.ofImpartial {α : Type u_1} (r : ααProp) [h : IsWellFounded α r] :

    Defines a concrete game from a single relation, to be used for both players.

    Equations
    Instances For
      @[irreducible]
      def ConcreteGame.toIGame {α : Type u_1} [ConcreteGame α] (a : α) :

      Turns a state of a ConcreteGame into an IGame.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem ConcreteGame.toIGame_def {α : Type u_1} [ConcreteGame α] (a : α) :
        @[simp]
        theorem ConcreteGame.leftMoves_toIGame {α : Type u_1} [ConcreteGame α] (a : α) :
        @[simp]
        @[irreducible]
        theorem ConcreteGame.neg_toIGame {α : Type u_1} [ConcreteGame α] (h : relLeft = relRight) (a : α) :
        @[irreducible]
        def ToImpartial (α : Type u_2) :
        Type u_2

        A type alias to turn a concrete game impartial, by allowing both players to perform each other's moves.

        Equations
        Instances For
          def toImpartial {α : Type u_1} :
          Equations
          Instances For
            def ofImpartial {α : Type u_1} :
            Equations
            Instances For
              @[simp]
              theorem ofImpartial_toImpartial {α : Type u_1} (x : α) :
              @[simp]
              Equations
              • One or more equations did not get rendered due to their size.