Documentation

LCS.Games.MagicSquare.SolutionGroup

Magic Square Solution Group #

This module builds the binary linear system of the Mermin-Peres magic square game from its layout/game data and attaches the generic SolutionGroup construction.

The #eval commands below print the matrix rows, right-hand side, and equation supports so the finite presentation can be inspected directly.

The explicit binary linear system underlying the Mermin-Peres magic square game.

Equations
Instances For
    @[reducible, inline]

    The generic solution group of the Mermin-Peres magic square system.

    Equations
    Instances For

      The magic square linear system, recovered from the support layout and game.

      Equations
      Instances For
        @[reducible, inline]

        The solution group of the magic square linear system.

        Equations
        Instances For

          The coefficient row of equation i, rendered as a list of 0/1 naturals.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            The right-hand side vector, rendered as a list of 0/1 naturals.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              The variables occurring in equation i, rendered as zero-based indices.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                The equation relators in presentation form: ([variables in the equation], parity), where parity 1 means the product is J.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The full solution-group relator list rendered with one-indexed generators.

                  Equations
                  Instances For