pith. machine review for the scientific record. sign in

arxiv: 2605.09617 · v1 · submitted 2026-05-10 · 🧮 math.CO · cs.IT· math.IT

Recognition: 2 theorem links

· Lean Theorem

Symmetric Sudoku-Type Games from Perfect Codes

Haeun Lim, Jae-Hyun Baek, Jon-Lark Kim, Junmin An, Keon-Hwi Kim

Pith reviewed 2026-05-12 03:54 UTC · model grok-4.3

classification 🧮 math.CO cs.ITmath.IT
keywords Sudoku variantsperfect codesLee distancediameter metrictilingsenumerationLatin squaressymmetry
0
0 comments X

The pith

Lee-distance and diameter perfect codes tile grids to define symmetric Sudoku-type games.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

This paper demonstrates that the tiling properties of perfect codes can define the block structure for new Sudoku-type games that preserve the symmetry found in the standard 9x9 version. The approach is applied to two small cases over finite rings, yielding complete lists of inequivalent grids after accounting for rotations and reflections. The 5x5 case produces 17 distinct solutions while the 8x8 cases produce hundreds of thousands, and a solver confirms playable difficulty levels.

Core claim

The tiling property of Lee-distance perfect codes and diameter perfect codes can be used to define the subgrid constraints of Sudoku-type games that inherit the symmetric properties of Sudoku, with complete enumeration yielding 17 inequivalent 5x5 solutions and 232735 and 304014 inequivalent 8x8 solutions for the two variants.

What carries the argument

Tiling property of perfect codes in the Lee metric and diameter metric that partitions the grid into subgrids for the puzzle constraints.

If this is right

  • The constructed games are valid Latin squares with the added block constraints.
  • There exist thousands of distinct symmetric Sudoku puzzles on these small grids.
  • The 5x5 versions can be solved at varying difficulty levels by human-like algorithms.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • This construction could extend to other grid sizes where perfect codes exist in the respective metrics.
  • The symmetry might allow for efficient generation of new puzzle instances without manual design.

Load-bearing premise

The subgrids induced by the perfect-code tilings automatically satisfy the global Latin-square condition without additional verification or adjustment.

What would settle it

An explicit grid generated from one of these perfect-code tilings in which a row or column contains repeated symbols would show the construction does not always produce valid games.

Figures

Figures reproduced from arXiv: 2605.09617 by Haeun Lim, Jae-Hyun Baek, Jon-Lark Kim, Junmin An, Keon-Hwi Kim.

Figure 1
Figure 1. Figure 1: Action of GS on a perfect Sudoku grid S ∈ S with respect to C The action of GS on a perfect Sudoku grid S with respect to the code C = (2, 2) + C0, where C0 is the code given in Example 4.1, is illustrated in [PITH_FULL_IMAGE:figures/full_fig_p010_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: Action of GS on a diameter perfect Sudoku grid with respect to C ′ over Z8 (i) If C is of Case I and GS = ⟨τ t+1 1 τ t+1 2 , τ 2(t+1) 2 , τ 2x2+1 2 s, τ 2x1+2 1 τ 2x2+1 2 r 2 ⟩, then each equivalence class in S¯ under the action of GS has a size which is a divisor of 4n. (ii) If C is of Case II and GS = ⟨τ a 1 τ b 2 , τ 2x1+2 1 τ 2x2+1 2 r 2 ⟩ where G0 = [a b], then, each equivalence class in S¯ has a size… view at source ↗
Figure 3
Figure 3. Figure 3: All equivalence classes under the action of [PITH_FULL_IMAGE:figures/full_fig_p015_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: Examples of minimal Sudoku from a perfect code over [PITH_FULL_IMAGE:figures/full_fig_p016_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Palette grids IC , IC′ of the 3-diameter perfect codes Next, we classify the diameter perfect Sudoku grids according to the equivalence relations induced by ⟨τ 2 1 τ 2 2 , τ 4 2 ⟩, ⟨τ2s⟩, ⟨τ 2 1 τ2r 2 ⟩, and ⟨τ 2 1 τ 2 2 , τ 4 2 , τ2s, τ 2 1 τ2r 2 ⟩ [PITH_FULL_IMAGE:figures/full_fig_p018_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: Examples of minimal Sudoku from diameter perfect codes over [PITH_FULL_IMAGE:figures/full_fig_p020_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Difficulty score of 5 × 5 minimal Sudoku In [PITH_FULL_IMAGE:figures/full_fig_p021_7.png] view at source ↗
read the original abstract

This paper presents a novel construction method for symmetric Sudoku-type games based on Lee distance perfect codes and diameter perfect codes. The proposed method utilizes the tiling property of these codes to define the structure of the subgrid constraints of Sudoku-type games. In this way, our games inherit the symmetric properties of Sudoku. We provide a detailed analysis of two small cases: a $5 \times 5$ Sudoku in $\mathbb{Z}_5^2$, and an $8 \times 8$ Sudoku in $\mathbb{Z}_8^2$. By defining equivalence relations via rigid motions, we provide a complete enumeration of valid grids, identifying 17 inequivalent solutions for $5\times 5$ Sudoku. For two different types of $8\times 8$ Sudoku, we characterize 232,735 and 304,014 inequivalent solutions, respectively. Furthermore, to verify practical playability, we implement a human-like solver that assesses the difficulty of the generated games. The analysis confirms that our $5\times5$ Sudoku games offer a balanced distribution of difficulty levels, ranging from Easy to Hard, making them a viable alternative to traditional $9 \times 9$ Sudoku.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 3 minor

Summary. The paper proposes a construction of symmetric Sudoku-type games by using the tiling properties of Lee-distance perfect codes and diameter perfect codes to define subgrid (block) constraints in Z_5^2 and Z_8^2. It performs complete enumerations of valid grids under equivalence by rigid motions, reporting 17 inequivalent 5x5 solutions and 232735/304014 inequivalent solutions for the two 8x8 variants, and implements a human-like solver to classify the difficulty of generated puzzles.

Significance. If the enumerated grids are confirmed to be Latin squares satisfying both the row/column uniqueness and the code-derived block constraints, the work supplies a mathematically structured family of Sudoku variants together with concrete combinatorial counts and playability data. The explicit enumerations and solver-based difficulty assessment constitute verifiable contributions that could support further study of code-based designs in combinatorial puzzle theory.

major comments (2)
  1. [construction section (Section 2)] The central construction (detailed in the section on the method using perfect-code tilings) asserts that the induced subgrids automatically yield Sudoku-type games inheriting symmetric properties. However, no explicit argument or verification is given that each row and each column intersects the subgrids so that the block uniqueness propagates to enforce exactly one occurrence of each symbol per row and per column. This verification is load-bearing for the validity of the reported solution counts and the claim that the games are Sudoku-type.
  2. [enumeration results (Section 4)] In the enumeration results for the 8x8 cases (Section 4), the counts 232735 and 304014 inequivalent solutions are presented without an accompanying description of how the rigid-motion equivalence classes were computed or whether an independent post-enumeration check confirmed that all listed grids satisfy the global Latin-square condition in addition to the block constraints.
minor comments (3)
  1. [Abstract] The abstract refers to 'a balanced distribution of difficulty levels' for the 5x5 games but does not include even summary percentages or a reference to the table or figure that supports this statement.
  2. [preliminaries] Notation for the Lee-distance and diameter perfect codes, as well as the precise definition of the induced subgrids, would benefit from an additional sentence or two of clarification or a pointer to standard references in coding theory.
  3. [solver implementation] The description of the human-like solver would be improved by the inclusion of pseudocode or a short algorithmic outline to aid reproducibility of the difficulty assessment.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the careful reading and constructive comments on our manuscript. We address each major comment point by point below and will revise the paper accordingly to improve clarity and completeness.

read point-by-point responses
  1. Referee: [construction section (Section 2)] The central construction (detailed in the section on the method using perfect-code tilings) asserts that the induced subgrids automatically yield Sudoku-type games inheriting symmetric properties. However, no explicit argument or verification is given that each row and each column intersects the subgrids so that the block uniqueness propagates to enforce exactly one occurrence of each symbol per row and per column. This verification is load-bearing for the validity of the reported solution counts and the claim that the games are Sudoku-type.

    Authors: We appreciate the referee drawing attention to this aspect of the construction. The perfect codes (Lee-distance and diameter) induce a tiling of Z_n^2 whose blocks are the cosets of the code; because the underlying space is an abelian group and the codes are subgroups or have regular translational symmetry, each row (fixed second coordinate) and each column (fixed first coordinate) intersects every block in precisely one cell. Consequently, the uniqueness of symbols within each block automatically enforces the Latin-square condition on rows and columns. We acknowledge that this implication was left implicit rather than stated as a short lemma. In the revised version we will insert an explicit verification paragraph (or lemma) in Section 2 that derives the row/column uniqueness directly from the tiling property. revision: yes

  2. Referee: [enumeration results (Section 4)] In the enumeration results for the 8x8 cases (Section 4), the counts 232735 and 304014 inequivalent solutions are presented without an accompanying description of how the rigid-motion equivalence classes were computed or whether an independent post-enumeration check confirmed that all listed grids satisfy the global Latin-square condition in addition to the block constraints.

    Authors: We agree that the enumeration section would benefit from additional methodological transparency. The grids were generated by a depth-first backtracking search that enforces the block constraints at each step; during generation we also maintained running checks that each row and column contained distinct symbols, thereby guaranteeing the Latin-square property by construction. Equivalence classes under the dihedral group of rigid motions were computed by generating the full orbit of each representative and using a canonical labeling (lexicographically smallest grid in the orbit) to deduplicate. We will add a concise subsection to Section 4 describing the backtracking procedure, the orbit computation, and the built-in Latin-square verification. revision: yes

Circularity Check

0 steps flagged

No circularity: construction from known code tilings with independent computational enumeration

full rationale

The paper constructs the Sudoku-type games by directly applying the established tiling properties of Lee-distance perfect codes and diameter perfect codes to partition the grid into subgrids that define the block constraints. It then computationally enumerates all grids satisfying the full set of Sudoku rules (including row/column uniqueness) under these partitions, yielding the reported counts of inequivalent solutions, and separately implements a solver to assess difficulty. No derivation step reduces by construction to its own inputs, no parameters are fitted and relabeled as predictions, and no load-bearing uniqueness theorem or ansatz is justified solely via self-citation. The central results are independent outputs of the enumeration process rather than tautological restatements of the code tilings.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The central claim rests on the known tiling properties of perfect codes in the Lee and diameter metrics and on the assumption that these tilings induce valid Sudoku blocks. No free parameters are introduced; the work is a direct construction rather than a fitted model.

axioms (1)
  • domain assumption Perfect codes in the Lee metric and diameter metric tile the space Z_n^2 such that the tiles can serve as Sudoku subgrids while preserving the Latin-square property.
    Invoked when the authors state that the tiling property defines the subgrid constraints and that the resulting games inherit Sudoku symmetry.

pith-pipeline@v0.9.0 · 5516 in / 1461 out tokens · 48244 ms · 2026-05-12T03:54:15.531099+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

Reference graph

Works this paper leans on

23 extracted references · 23 canonical work pages

  1. [1]

    R. A. Bailey, P. J. Cameron, and R. Connelly. Sudoku, gerechte designs, resolutions, affine space, spreads, reguli, and Hamming codes. The American Mathematical Monthly, 115(5), 383-404. (2008)

  2. [2]

    A. E. Brouwer. Sudoku games and how to solve them. European Mathematical Society Newsletter, 66, 13-17. (2007)

  3. [3]

    P. J. Cameron, and J. H. Van Lint.Graph theory, Coding Theory and Block Designs(Vol. 19). Cambridge University Press. (1975) 22

  4. [4]

    C. F. Daganzo. Minuet: A method to solve Sudoku games by hand. arXiv:1812.06778. (2018)

  5. [5]

    J. P. Delahaye. The science behind Sudoku. Scientific American, 294(6), 80-87. (2006)

  6. [6]

    Delsarte

    P. Delsarte. An Algebraic Approach to the Association Schemes of Coding Theory. Philips Research Reports: Supplements, 10. (1973)

  7. [7]

    Etzion.Perfect Codes and Related Structures

    T. Etzion.Perfect Codes and Related Structures. World Scientific Publishing. (2022)

  8. [8]

    Etzion, and A

    T. Etzion, and A. Vardy. On perfect codes and tilings: Problems and solutions. SIAM Journal on Discrete Mathematics, 11(2), 205-223. (1998)

  9. [9]

    Felgenhauer, and F

    B. Felgenhauer, and F. Jarvis. Mathematics of Sudoku I. Mathematical Spectrum, 39(1), 15-22. (2006)

  10. [10]

    Golomb and L.R

    S.W. Golomb and L.R. Welch. Perfect codes in the Lee Metric and the Packing of Polyno- mials. SIAM Journal on Applied Mathematics, 18(2), 302-317. (1970)

  11. [11]

    G¨ uzeltepe and O

    M. G¨ uzeltepe and O. Heden. Perfect Mannheim, Lipschitz and Hurwitz weight codes. Math- ematical Communications 19(2), 253-276. (2014)

  12. [12]

    Hedayat, N.J.A

    A.S. Hedayat, N.J.A. Sloane and J. Stufken.Orthogonal Arrays: Theory and Applications. Springer, New York, 1999

  13. [13]

    W. C. Huffman, and V. Pless.Fundamentals of Error-Correcting Codes. Cambridge univer- sity press. (2010)

  14. [14]

    Kim, and J.-H

    J.-L. Kim, and J.-H. Baek. Perfect Sudoku. [Online]. Available:https://cicagolab. pythonanywhere.com

  15. [15]

    D. S. Krotov. Projective tilings and full-rank perfect codes. Designs, Codes and Cryptogra- phy, 91(10), 3293-3303. (2023)

  16. [16]

    Kubota, S

    S. Kubota, S. Suda, and A. Urano. Mutually orthogonal Sudoku Latin squares and their graphs. Graphs and Combinatorics, 39(6), 122. (2023)

  17. [17]

    W. Lyu, D. Yin, Y. Zhang, and J. Deng. A reliable data hiding scheme using jigsaw Su- doku. 2018 International Conference on Network, Communication, Computer Engineering. Atlantis Press, 805-812. (2018)

  18. [18]

    McGuire, B

    G. McGuire, B. Tugemann, G. Civario. There is no 16-clue Sudoku: Solving the Sudoku minimum number of clues problem via hitting set enumeration. Experimental Mathematics, 23(2), 190-217. (2014)

  19. [19]

    Mushrraf and F

    U. Mushrraf and F. Zullo. On perfect symmetric rank-metric codes. Archiv der Mathematik, 125(3), 259-271. (2025)

  20. [20]

    Pel´ anek

    R. Pel´ anek. Difficulty rating of Sudoku puzzles by a computational model. Artificial Intel- ligence, 227, 107-124. (2014)

  21. [21]

    Russell, and F

    E. Russell, and F. Jarvis. Mathematics of Sudoku II. Mathematical Spectrum, 39(2), 54-58. (2006)

  22. [22]

    C. E. Shannon. A mathematical theory of communication. The Bell System Technical Jour- nal 27(3), 379-423. (1948) 23

  23. [23]

    Yato, and T

    T. Yato, and T. Seta. Complexity and completeness of finding another solution and its application to games. IEICE transactions on fundamentals of electronics, communications and computer sciences, 86(5), 1052-1060. (2003) 24