Latin squares without proper subsquares from blocks of cyclic groups

Primarily AI-generated textHuman understanding: some partsmath.CO — Combinatorics

Contributed by Nils Juenemann ↗

Version 1 / Dec 03, 2026 / CC BY 4.0

Abstract

For n=kmn = km I study Latin squares of order nn built from blocks of the Cayley table of Zm\mathbb{Z}_m, with the columns permuted inside 2k2k sectors. For prime kk and splits satisfying an orbit condition I give an exact criterion: the square has no proper subsquare if and only if it has no intercalate of a particular kind, no residue on which the column permutation is the same in all blocks, and no coset of a nontrivial proper subgroup of Zm\mathbb{Z}_m that all blocks map into one of its cosets. For the mirror rule the criterion becomes a condition on shifts; for k=2k = 2 and even mm it says that the four shifts are pairwise different and their differences generate Zm/2\mathbb{Z}_{m/2}. Three simple rules satisfy it. With five explicit squares of orders 88 to 1414 this gives a new proof, without recursion, of the theorem of Allsop and Wanless that such squares exist for every order except 44 and 66. For k=2k = 2 they have the cyclic pattern of a square of order 88 on Wanless's home page. The criterion, the classification and the existence proof are formalised in Lean.

Author comments: 18 pages. The Lean 4 formalisation and the search programs are available at https://github.com/totallyunknown/subsquare-free-even-orders.

Provenance statement

The construction, the proofs, the computations and the text were developed with AI assistance (Claude by Anthropic and Codex by OpenAI), starting from a Latin square of order 8 on Ian Wanless's home page. I chose the problem, directed the work and checked the statements, the construction and the overall structure of the proofs; I have not checked every case of the proofs line by line. The main results rest on a Lean 4 formalisation with Mathlib, checked by the Lean kernel with only the standard axioms (propext, Classical.choice, Quot.sound). It covers the existence theorem for all orders except 4 and 6, the criterion of Section 3 in both directions, the rules of Section 4 together with the classification of the shifts, and the five explicit squares of orders 8 to 14, which are checked by a closure test whose correctness is proved in Lean. Not formalised are the description of the square of order 12 by the opposite class field and the computer search showing that the family itself contains no square of order 8 or 12 without proper subsquares. The search programs and their output are in the repository.

Tools used

Anthropic
Claude Opus

References

  1. Jack Allsop and Ian M. Wanless. Latin squares without proper subsquares. Preprint, arXiv:2310.01923, 2023. URL: https://arxiv.org/abs/2310.01923.arXiv
  2. Lars Døvling Andersen and Eric Mendelsohn. A direct construction for L atin squares without proper subsquares. In Algebraic and Geometric Combinatorics , volume 65 of North-Holland Mathematics Studies , pages 27--53. North-Holland, 1982. doi:10.1016/S0304-0208(08)73251-1 (https://doi.org/10.1016/S0304-0208(08)73251-1).DOI
  3. J. R. Elliott and P. B. Gibbons. The construction of subsquare free L atin squares by simulated annealing. Australasian Journal of Combinatorics , 5:209--228, 1992. URL: https://ajc.maths.uq.edu.au/v5.p209.link
  4. Katherine Heinrich. Latin squares with no proper subsquares. Journal of Combinatorial Theory, Series A , 29(3):346--353, 1980. doi:10.1016/0097-3165(80)90029-1 (https://doi.org/10.1016/0097-3165(80)90029-1).DOI
  5. Katherine Heinrich. Latin squares with and without subsquares of prescribed type. In J. D é nes and A. D. Keedwell, editors, Latin Squares: New Developments in the Theory and Applications , volume 46 of Annals of Discrete Mathematics , pages 101--147. North-Holland, 1991. doi:10.1016/S0167-5060(08)70964-6 (https://doi.org/10.1016/S0167-5060(08)70964-6).DOI
  6. Thomas Lesgourgues and Luke Postle. A combinatorial proof of H ilton's conjecture and beyond. Preprint, arXiv:2609.28966, 2026. URL: https://arxiv.org/abs/2609.28966.arXiv
  7. Barbara Maenhaut, Ian M. Wanless, and Bridget S. Webb. Subsquare-free L atin squares of odd order. European Journal of Combinatorics , 28(1):322--336, 2007. doi:10.1016/j.ejc.2005.07.002 (https://doi.org/10.1016/j.ejc.2005.07.002).DOI
  8. Ian M. Wanless. Home page. https://users.monash.edu.au/~iwanless/. Accessed 1 December 2026.link
  9. Ian M. Wanless. Latin squares with one subsquare. Journal of Combinatorial Designs , 9(2):128--146, 2001. doi:10.1002/1520-6610(2001)9:2<128::AID-JCD1003>3.0.CO;2-C (https://doi.org/10.1002/1520-6610(2001)9:2<128::AID-JCD1003>3.0.CO;2-C).DOI
  10. Ian M. Wanless. Diagonally cyclic L atin squares. European Journal of Combinatorics , 25(3):393--413, 2004. doi:10.1016/j.ejc.2003.09.014 (https://doi.org/10.1016/j.ejc.2003.09.014).DOI

Version history

  1. v1 · 19 pagesSubmitted by Nils Juenemann18 pages. The Lean 4 formalisation and the search programs are available at https://github.com/totallyunknown/subsquare-free-even-orders.CurrentDec 03, 2026