Table of Contents
Fetching ...

SAT-Based Techniques for Lexicographically Smallest Finite Models

Mikoláš Janota, Choiwah Chow, João Araújo, Michael Codish, Petr Vojtěchovský

TL;DR

The paper addresses canonicalizing finite algebraic structures by computing the lexicographically smallest isomorphic copy, enabling direct isomorphism checks and easy cataloging. It introduces a SAT-based framework that builds the lexmin magma in a black-box fashion, gradually constructing the target table via isomorphic copies and a permutation f, rather than materializing an explicit target representation. A suite of propagation techniques—including first-row identification, budgeting, row invariants, mid-row refinement, upper-bounds from partial models, and monotone search strategies—significantly reduces SAT calls and improves robustness. Empirical evaluation on diverse algebraic structures demonstrates that these enhancements yield strong performance, validating the practicality of SAT-based LexMin for routine algebraic cataloging and isomorphism-aware enumeration. The work opens avenues for tighter solver integration and extension to multi-table structures and constrained non-isomorphic enumerations.

Abstract

This paper proposes SAT-based techniques to calculate a specific normal form of a given finite mathematical structure (model). The normal form is obtained by permuting the domain elements so that the representation of the structure is lexicographically smallest possible. Such a normal form is of interest to mathematicians as it enables easy cataloging of algebraic structures. In particular, two structures are isomorphic precisely when their normal forms are the same. This form is also natural to inspect as mathematicians have been using it routinely for many decades. We develop a novel approach where a SAT solver is used in a black-box fashion to compute the smallest representative. The approach constructs the representative gradually and searches the space of possible isomorphisms, requiring a small number of variables. However, the approach may lead to a large number of SAT calls and therefore we devise propagation techniques to reduce this number. The paper focuses on finite structures with a single binary operation (encompassing groups, semigroups, etc.). However, the approach is generalizable to arbitrary finite structures. We provide an implementation of the proposed algorithm and evaluate it on a variety of algebraic structures.

SAT-Based Techniques for Lexicographically Smallest Finite Models

TL;DR

The paper addresses canonicalizing finite algebraic structures by computing the lexicographically smallest isomorphic copy, enabling direct isomorphism checks and easy cataloging. It introduces a SAT-based framework that builds the lexmin magma in a black-box fashion, gradually constructing the target table via isomorphic copies and a permutation f, rather than materializing an explicit target representation. A suite of propagation techniques—including first-row identification, budgeting, row invariants, mid-row refinement, upper-bounds from partial models, and monotone search strategies—significantly reduces SAT calls and improves robustness. Empirical evaluation on diverse algebraic structures demonstrates that these enhancements yield strong performance, validating the practicality of SAT-based LexMin for routine algebraic cataloging and isomorphism-aware enumeration. The work opens avenues for tighter solver integration and extension to multi-table structures and constrained non-isomorphic enumerations.

Abstract

This paper proposes SAT-based techniques to calculate a specific normal form of a given finite mathematical structure (model). The normal form is obtained by permuting the domain elements so that the representation of the structure is lexicographically smallest possible. Such a normal form is of interest to mathematicians as it enables easy cataloging of algebraic structures. In particular, two structures are isomorphic precisely when their normal forms are the same. This form is also natural to inspect as mathematicians have been using it routinely for many decades. We develop a novel approach where a SAT solver is used in a black-box fashion to compute the smallest representative. The approach constructs the representative gradually and searches the space of possible isomorphisms, requiring a small number of variables. However, the approach may lead to a large number of SAT calls and therefore we devise propagation techniques to reduce this number. The paper focuses on finite structures with a single binary operation (encompassing groups, semigroups, etc.). However, the approach is generalizable to arbitrary finite structures. We provide an implementation of the proposed algorithm and evaluate it on a variety of algebraic structures.
Paper Structure (15 sections, 1 theorem, 7 equations, 3 figures, 1 table, 1 algorithm)

This paper contains 15 sections, 1 theorem, 7 equations, 3 figures, 1 table, 1 algorithm.

Key Result

Proposition 12

Let $A=(D,*)$ be a magma with idempotents and idempotent apex $k$. Let $\mathcal{M}_k:=\{(M,\diamond)\in [(D,*)]\mid 1\diamond\{1,\ldots,k\}=\{1\}\}$. Then

Figures (3)

  • Figure 1: $(D, \ast)$ and its lexmin $(D,\diamond)$ for $D=\{1..7\}$.
  • Figure 2: Performance of mlex with different options.
  • Figure 3: Comparison of minisat and cadical in mlex.

Theorems & Definitions (9)

  • Definition 1: isomorphism
  • Definition 2: $\preceq$
  • Definition 3: LexMin
  • Definition 4: idempotent
  • Example 6
  • Definition 9: isomorphic copy
  • Definition 11
  • Proposition 12
  • proof