Documentation

LeanPool.MisereGames.Misere.Preservation

Misere combinatorial games.

Preservation of closure properties #

There are some preservation properties between the closure operators of CombinatorialGames.Misere.Closures: for example, the hereditary closure of a conjugate closed set is still conjugate closed. In particular, the four closure properties can be chained together to obtain a universe (closureChain_universe), and this chain in fact computes the universal closure (closureChain_eq_universeClosure).

The closures preservations #

The hereditary closure of a conjugate closed set is conjugate closed.

The conjugate closure of a hereditary set is hereditary.

The additive closure of a hereditary set is hereditary.

The additive closure of a conjugate closed set is conjugate closed.

The dicotic closure of a hereditary set is hereditary.

The dicotic closure of a conjugate closed set is conjugate closed (when the ambient set is conjugate closed).

Dicotic closure preserves addition #

This is slightly delicate: a sum need not be dicotic, so we consider cases where it is end-like and recurse on options otherwise.

The dicotic closure of an additively closed hereditary set is additively closed.

The closure chain #

@[reducible, inline]
noncomputable abbrev MisereGames.Form.Misere.Preservation.closureChain {G : Type (u + 1)} [Form G] (IsAmbient A : GProp) :
GProp

The set obtained by applying the conjugate, hereditary, additive, and dicotic closures in that order.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MisereGames.Form.Misere.Preservation.closureChain_universe {G : Type (u + 1)} [Form G] {IsAmbient A : GProp} [Universe IsAmbient IsAmbient] (hA : A IsAmbient) (h0 : A 0) :
    Universe IsAmbient (closureChain IsAmbient A)

    The conjugate–hereditary–additive–dicotic closure chain yields a universe.

    theorem MisereGames.Form.Misere.Preservation.closureChain_eq_universeClosure {G : Type (u + 1)} [Form G] {IsAmbient A : GProp} [Universe IsAmbient IsAmbient] (hA : A IsAmbient) (h0 : A 0) :
    closureChain IsAmbient A = Universe.closure IsAmbient A hA

    The closure chain agrees with the universal closure operator.

    The conjugate–hereditary–additive–dicotic closure chain yields a long universe.

    The long closure chain agrees with the long universal closure operator.

    The conjugate–hereditary–additive–dicotic closure chain yields a short universe.

    The short closure chain agrees with the short universal closure operator.

    Seed correspondence #

    A universe is recovered from its p end-like positions: the universal closure gives a bijection between the bounded p seeds and the universes within a fixed ambient set.

    def MisereGames.Form.Misere.Preservation.endLikePart {G : Type (u + 1)} [Form G] (p : Player) (A : GProp) :
    GProp

    The p end-like part of a set of games.

    Equations
    Instances For
      theorem MisereGames.Form.Misere.Preservation.endLikePart_le_ambient {G : Type (u + 1)} [Form G] (p : Player) {IsAmbient A : GProp} [Universe IsAmbient A] :
      endLikePart p A IsAmbient
      class MisereGames.Form.Misere.Preservation.EndLikeClosed {G : Type (u + 1)} [Form G] (p : Player) (A : GProp) :

      A set of games closed under taking relevant end-like subpositions for player p.

      • neg_mem_of_isEndLike_neg {g : G} (hg : A g) (hEnd : IsEndLike (-p) g) : A (-g)
      • mem_of_subposition_isEndLike {g h : G} (hg : A g) (hsub : Subposition h g) (hEnd : IsEndLike p h) : A h
      • neg_mem_of_subposition_isEndLike_neg {g h : G} (hg : A g) (hsub : Subposition h g) (hEnd : IsEndLike (-p) h) : A (-h)
      Instances

        A p seed: an additive set of p end-like games containing zero and its relevant end-like subpositions.

        Instances
          theorem MisereGames.Form.Misere.Preservation.endLikePart_universeClosure_eq_of_seed {G : Type (u + 1)} [Form G] {p : Player} {IsAmbient A : GProp} [Universe IsAmbient IsAmbient] [EndLikeSeed p A] (hA : A IsAmbient) :
          endLikePart p (Universe.closure IsAmbient A hA) = A

          The p end-like part of the universe closure of a bounded p seed is the seed.

          theorem MisereGames.Form.Misere.Preservation.endLikePart_seed_of_universe {G : Type (u + 1)} [Form G] {p : Player} {IsAmbient A : GProp} [Universe IsAmbient A] :

          The p end-like part of a universe is a p seed.

          theorem MisereGames.Form.Misere.Preservation.universeClosure_endLikePart_eq_of_universe {G : Type (u + 1)} [Form G] {p : Player} {IsAmbient A : GProp} [Universe IsAmbient IsAmbient] [Universe IsAmbient A] :
          Universe.closure IsAmbient (endLikePart p A) = A

          A universe is the universal closure of its p end-like part.

          The seed–universe bijection #

          def MisereGames.Form.Misere.Preservation.AmbientEndLikeSeed (G : Type (u + 1)) [Form G] (IsAmbient : GProp) (p : Player) :
          Type (u + 1)

          The type of p seeds contained in an ambient set.

          Equations
          Instances For
            def MisereGames.Form.Misere.Preservation.AmbientUniverse (G : Type (u + 1)) [Form G] (IsAmbient : GProp) :
            Type (u + 1)

            The type of universes with a fixed ambient set.

            Equations
            Instances For
              noncomputable def MisereGames.Form.Misere.Preservation.endLikeSeedToUniverse (G : Type (u + 1)) [Form G] (IsAmbient : GProp) [Universe IsAmbient IsAmbient] (p : Player) :
              AmbientEndLikeSeed G IsAmbient pAmbientUniverse G IsAmbient

              Sending a bounded p seed to its universe closure.

              Equations
              Instances For
                noncomputable def MisereGames.Form.Misere.Preservation.universeToEndLikeSeed (G : Type (u + 1)) [Form G] (IsAmbient : GProp) (p : Player) :
                AmbientUniverse G IsAmbientAmbientEndLikeSeed G IsAmbient p

                Sending a universe to its p end-like part.

                Equations
                Instances For
                  noncomputable def MisereGames.Form.Misere.Preservation.endLikeSeedEquivUniverse {G : Type (u + 1)} [Form G] {IsAmbient : GProp} [Universe IsAmbient IsAmbient] (p : Player) :
                  AmbientEndLikeSeed G IsAmbient p AmbientUniverse G IsAmbient

                  Universe closure is an equivalence from bounded p seeds to universes, with inverse taking the p end-like part.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem MisereGames.Form.Misere.Preservation.endLikeSeedToUniverse_bijective {G : Type (u + 1)} [Form G] {IsAmbient : GProp} [Universe IsAmbient IsAmbient] (p : Player) :

                    Universal closure gives a bijection from bounded p seeds to universes.

                    The p end-like part of the long universal closure of a p seed is the seed.

                    The p end-like part of a long universe is a p seed.

                    A long universe is the long universal closure of its p end-like part.

                    Long universal closure gives a bijection from p seeds to long universes.

                    The p end-like part of the short universal closure of a short p seed is the seed.

                    The p end-like part of a short universe is a p seed.

                    A short universe is the short universal closure of its p end-like part.

                    Short universal closure gives a bijection from short p seeds to short universes.