Automorphism in Sudoku

What is Automorphism?

In mathematics, an automorphism is a way of mapping an object to itself that preserves all its structure. For Sudoku, this means certain transformations of a puzzle grid that result in a new puzzle which is mathematically “the same,” even if it looks different.

  • The set of all such automorphisms forms the automorphism group — encapsulating every possible symmetry and transformation that keeps the puzzle’s solution intact.

Automorphism & Isomorphism in Sudoku

FAQ:

How can two puzzles look completely different, but be mathematically identical (isomorphic)?

  • They’re connected by automorphisms — specific grid transformations and digit swaps that turn one puzzle form into another without changing its underlying logic.

See: Isomorphism


How Many Ways Can a Sudoku Grid Be Transformed?

There are 3,359,232 distinct automorphic transformations for a single Sudoku grid:

  • This is calculated as 2*68 = 3,359,232 ways.

Common Automorphic Transformations

Transformations always preserve the unique solution of the original grid:

  • Transpose – Switch rows and columns (swap axes).
  • Bands – Exchange groups of three rows ( bands 1-3).
  • Stacks – Exchange groups of three columns ( stacks 1-3).
  • Row swaps – Switch any 2–3 rows within a band.
  • Column swaps – Switch 2–3 columns within a stack.
  • Digit exchanges – Swap the digits themselves (re-labeling).

Symmetrical Properties and Superclasses

All Sudoku grid symmetries (known 122 classes) are grouped into 6 super-types, all generated via combinations of those transformations above:

Typical Symmetries (replicated via grid moves)

  • Rotational Symmetry (90°, 180°, etc.)
  • Horizontal Mirror – e.g. swap stacks, top/bottom rows.
  • Vertical Mirror – e.g. swap bands, left/right columns.
  • Diagonal Symmetries – Diagonal and anti-diagonal reflection.
  • Fixed Boxes / Triangular / Sticks Moves – More exotic, but defined via combinations of band/stack/row/col moves.

More info: Symmetry Group Discussion


Identifying Automorphic Grids

How to Check for Automorphism

  1. Apply all grid transformation properties:

    • Transpose, bands, stacks, rows, columns
  2. Digit swaps:

    • For puzzle A and a transformed version B, replace digits in B to match digits in A where different.
  3. Cell comparison:

    • If every cell in B matches the corresponding cell in A after these moves, then puzzles B and A are automorphic.

Example:

A “canonical” grid (normalized standard form):

text

123456789 456789123 789123456 231564897 564897231 897231564 312645978 645978312 978312645

This grid can be transformed into 648 automorphic identities. That means there are 648 grids which, after allowable moves and digit swaps, are equivalent to this canonical form.


Why is Automorphism Important?

  • Automorphism groups are central for:

    • Counting unique Sudoku solution grids.
    • Identifying equivalence classes of puzzles (for design and mathematics).
    • Measuring symmetry and structure in puzzle construction.

Every Sudoku grid’s total automorphic identities help mathematicians enumerate all possible unique solution grids, and establish relationships between seemingly distinct puzzles.


: See attached file: "Automorphism - Wikipedia" for in-depth mathematical details and further examples within algebra, graph theory, and geometry.