RUS  ENG
Full version
JOURNALS // Bulletin of Irkutsk State University. Series Mathematics // Archive

Bulletin of Irkutsk State University. Series Mathematics, 2019 Volume 28, Pages 3–20 (Mi iigum369)

On propositional encoding of distinction property in finite sets

E. G. Beleya, A. A. Semenovb

a Irkutsk National Research Technical University, Irkutsk, Russian Federation
b Matrosov Institute for System Dynamics and Control Theory of SB RAS, Irkutsk, Russian Federation

Abstract: In the paper we describe a new propositional encoding procedure for the property that all objects comprising some finite set are distinct. For the considered class of combinatorial problems it is sufficient to represent the elements of such set by their natural numbers. Thus, there is a problem of constructing a satisfiable Boolean formula, the satisfying assignments of which encode the first $n$ natural numbers without taking into account their order. The necessity to encode such sets into Boolean logic is motivated by the desire to apply to the corresponding combinatorial problems the state-of-the-art algorithms for solving the Boolean satisfiability problem (SAT). In the paper we propose the new approach to defining the Boolean formula for the characteristic function of the predicate which takes the value of True only on the sets of binary words encoding the numbers from $0$ to $n-1$. The corresponding predicate was named OtO (from One-to-One). The propositional encoding of the OtO-predicate has a better lower bound compared to the propositional encoding of a relatively similar predicate known as OOC-predicate (from Only One Cardinality). The proposed OtO-predicate is used to reduce to SAT a number of problems related to Latin squares. In particular, using the OtO-predicate we constructed the SAT encodings for the problems of finding orthogonal pairs and quasi-orthogonal triples of Latin squares of order $10$. We used the multi-threaded SAT solvers and the resources of a computing cluster to solve these problems.

Keywords: propositional encoding, SAT, latin squares.

UDC: 519.7

MSC: 94С10

Received: 30.04.2019

DOI: 10.26516/1997-7670.2019.28.3



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024