Canonical labelling of Latin squares in average-case polynomial time
arXiv:2402.06205
Abstract
A Latin square of order is an matrix in which each row and column contains each of symbols exactly once. For , we show that with high probability a uniformly random Latin square of order has no proper subsquare of order larger than . Using this fact we present a canonical labelling algorithm for Latin squares of order that runs in average time bounded by a polynomial in . The algorithm can be used to solve isomorphism problems for many combinatorial objects that can be encoded using Latin squares, including quasigroups, Steiner triple systems, Mendelsohn triple systems, -factorisations, nets, affine planes and projective planes.
New reference added, minor typos fixed