Documentation

MIPRE.LCS.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, together with helpers rendering the presentation data (coefficient matrix, right-hand side, and equation supports) as plain lists.

The explicit binary linear system underlying the Mermin-Peres magic square 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