1
$\begingroup$

An autotopism of a Latin square $L$ of order $n$ is a triple of permutations $(\alpha,\beta,\gamma)$ for which $L$ is stabilized after permuting the rows by $\alpha$, the columns by $\beta$, and the symbols by $\gamma$.

Question: Is there a way to estimate the number of Latin squares with a given autotopism?

Basically I want an algorithm for the following problem:

  • Input: order $n$, and permutations $\alpha$, $\beta$, $\gamma$ of $\{1,2,\ldots,n\}$.

  • Output: Estimate for the number Latin squares of order $n$ for which $(\alpha,\beta,\gamma)$ is an autotopism.

Estimates for the number of Latin squares have been computed in:

I compare these estimates in my survey paper, Figure 2. These papers therefore answer the $\theta=(\mathrm{id},\mathrm{id},\mathrm{id})$ case.

I plan to use this number for analysing a cryptographic application (as described in A Latin square autotopism secret sharing scheme, 2016). Informally, I want to say "the number is really big, around [this big] according to estimates, therefore successful attacks are highly improbable".

$\endgroup$
2
  • $\begingroup$ It may be that Raul Falcon has anticipated some of this. arxiv.org/abs/1105.1088v1 does not address this question directly, but may link to something that does. Gerhard "Or Try A Citation Search" Paseman, 2017.04.18. $\endgroup$ Commented Apr 19, 2017 at 0:00
  • $\begingroup$ Indeed, he refers to a 2007 paper which uses Groebner bases to do an exact enumeration which depends only on the cycle structure of the autotopism. You may want to check out that paper, and then perhaps ask a question on how to estimate quickly the desired number. Gerhard "Will Dumb Down For Now" Paseman, 2017.04.18. $\endgroup$ Commented Apr 19, 2017 at 0:45

1 Answer 1

1
$\begingroup$

This is a dumb answer, and will not yield information quickly. I give it in hopes that it inspires smarter answers.

I use the triple form of representation for a Latin square, which is a collection of $n^2$ triples (a,b,c) whose properties you can guess or read about on Wikipedia. I am using symbols 1 through n, thus every Latin square in this post has a triple of the form (1,1,c) for c being one of the $n$ symbols.

The algorithm essentially builds partial transversals until "it feels good" about estimating the remaining number resulting from information gathered so far. I use a, b and c to represent both the permutations above (so I don't keep typing $\alpha,\beta,\gamma$) and the result when applying it to a triple. So for each of the triples (1,1,c), I apply the permutation to get (a,b,c'), another triple. I repeat this operation (so apply the permutation to (a,b,c') to get (a',b',c''), and iterate) until I get a clash (I produce something like (1,1,c'') for c'' different from c ) or I return to the triple I started with, namely (1,1,c).

If I got a clash, then I toss out (1,1,c), otherwise I have an orbit size, which is a number $m$ depending on $c$ which shows how the input permutation when iterated acted on (1,1,c). I now start with a triple distinct from all of the allowed orbits computed thus far, (if there is one) and compute its orbit size if it has one, say $m'$.

If the orbit sizes are large (approaching some fraction of $n^2$), then there will be few if any Latin squares preserved under the permutation. If the orbit sizes are small (say less than n), then there will be many. Since an estimate is wanted for output, I would stop after computing a few orbits and use a look-up table or some other heuristic for producing an estimate.

This is a dumb answer partly because for permutations close to the identity or well synchronized, the orbits will be small and the estimate is likely to be very poor or take a very long time. For a random triple, it is conceivable the orbits will be large and that the estimate will show very few Latin squares are preserved. Thus one might be able to tell after $n^3$ operations what situation you are in, and then run a more expensive and discriminating algorithm once this simple minded test has been applied.

Gerhard "Tis Giftly To Be Simple" Paseman, 2017.04.18.

$\endgroup$
4
  • $\begingroup$ If you have the processing power, a smarter way is to compute the orbits induced on n-cubed by the input permutation (a,b,c). Throw out all orbits which clash, and see if what remains projects onto all three squares to make sure you have coverage. Now use this information on remaining orbits to make your estimate. Gerhard "This Is Really The Question" Paseman, 2017.04.18. $\endgroup$ Commented Apr 18, 2017 at 16:59
  • $\begingroup$ This idea of orbits in n-cubed may help you visualize estimates. For example, suppose you have all orbits are size 1, except in a corner region of size (n-k) cubed for k bigger than 1. Then an estimate of L(k), the number of Latin squares of size k, seems to me to be a good lower bound for what you want. Gerhard "But Do The Theory First" Paseman, 2017.04.18. $\endgroup$ Commented Apr 18, 2017 at 17:09
  • $\begingroup$ I think it would be instructive to do an exhaustive computation to gather statistics on n-cubed over all triples of permutations for n up to 5 and beyond. You might determine a structure of those triples of permutations which have no Latin squares that are so autotopic. That characterization my be a smart and cheap test to run before the dumb test above. Gerhard "Unless There's Another Smart Test" Paseman, 2017.04.18. $\endgroup$ Commented Apr 18, 2017 at 19:21
  • $\begingroup$ If I have not confused myself, one quick test uses fixed points: if a and b fix 1, and c moves 1, then (a,b,c) will be an autotopism of no Latin squares. There may be other quick tests to find clashes without moving elements in the cube. Gerhard "Often A Fan Of Quick" Paseman, 2017.04.18. $\endgroup$ Commented Apr 18, 2017 at 21:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .