A $k$-net($n$) is a combinatorial design equivalent to $k-2$ mutually orthogonal Latin squares of order $n$. A relation in a net is a linear dependency over $\mathbb{F}_2$ in the incidence matrix of the net. A computational enumeration of all orthogonal pairs of Latin squares of order 10 whose corresponding nets have at least two nontrivial relations was achieved by Delisle in 2010 and verified by an independent search of Myrvold. In this paper, we confirm the correctness of their exhaustive enumerations with a satisfiability (SAT) solver approach instead of using custom-written backtracking code. Performing the enumeration using a SAT solver has at least three advantages. First, it reduces the amount of trust necessary, as SAT solvers produce independently-verifiable certificates that their enumerations are complete. These certificates can be checked by formal proof verifiers that are relatively simple pieces of software, and therefore easier to trust. Second, it is typically more straightforward and less error-prone to use a SAT solver over writing search code. Third, it can be more efficient to use a SAT-based approach, as SAT solvers are highly optimized pieces of software incorporating backtracking-with-learning for improving the efficiency of the backtracking search. For example, the SAT solver completely enumerates all orthogonal pairs of Latin squares of order ten with two nontrivial relations in under 2 hours on a desktop machine, while Delisle's 2010 search used 11,700 CPU hours. Although computer hardware was slower in 2010, this alone cannot explain the improvement in the efficiency of our SAT-based search.
翻译:一个$k$网($n$)是一种组合设计,等价于$k-2$个相互正交的$n$阶拉丁方。网中的关系是指其关联矩阵在$\mathbb{F}_2$上的线性依赖关系。Delisle于2010年通过计算枚举了所有十阶正交拉丁方对,这些对对应的网至少具有两个非平凡关系,该结果后来由Myrvold的独立搜索验证。本文中,我们采用可满足性(SAT)求解器方法而非自定义回溯代码,确认了其穷举枚举的正确性。使用SAT求解器执行枚举至少具有三个优势。首先,它降低了所需的信任度,因为SAT求解器会生成可独立验证的证书,证明其枚举是完备的。这些证书可由形式化证明验证器检查,这些验证器是相对简单的软件,因此更易于信任。其次,使用SAT求解器通常比编写搜索代码更直接且不易出错。第三,基于SAT的方法可能更高效,因为SAT求解器是高度优化的软件,融合了回溯学习机制以提升回溯搜索效率。例如,SAT求解器在桌面计算机上完全枚举所有具有两个非平凡关系的十阶正交拉丁方对用时不足2小时,而Delisle在2010年的搜索消耗了11,700 CPU小时。尽管2010年的计算机硬件速度较慢,但这无法完全解释我们基于SAT的搜索在效率上的提升。