Skip to main content

Showing 1–27 of 27 results for author: Codish, M

Searching in archive cs. Search in all archives.
.
  1. arXiv:2506.02903  [pdf, ps, other

    cs.LO

    Breaking Symmetries with Involutions

    Authors: Michael Codish, Mikoláš Janota

    Abstract: Symmetry breaking for graphs and other combinatorial objects is notoriously hard. On the one hand, complete symmetry breaks are exponential in size. On the other hand, current, state-of-the-art, partial symmetry breaks are often considered too weak to be of practical use. Recently, the concept of graph patterns has been introduced and provides a concise representation for (large) sets of non-can… ▽ More

    Submitted 3 June, 2025; originally announced June 2025.

  2. arXiv:2502.10155  [pdf, other

    cs.LO

    Complete Symmetry Breaking for Finite Models

    Authors: Marek Dančo, Mikoláš Janota, Michael Codish, João Jorge Araújo

    Abstract: This paper introduces a SAT-based technique that calculates a compact and complete symmetry-break for finite model finding, with the focus on structures with a single binary operation (magmas). Classes of algebraic structures are typically described as first-order logic formulas and the concrete algebras are models of these formulas. Such models include an enormous number of isomorphic, i.e. symme… ▽ More

    Submitted 14 February, 2025; originally announced February 2025.

  3. arXiv:2502.10056  [pdf, other

    cs.LO

    Breaking Symmetries from a Set-Covering Perspective

    Authors: Michael Codish, Mikoláš Janota

    Abstract: We formalize symmetry breaking as a set-covering problem. For the case of breaking symmetries on graphs, a permutation covers a graph if applying it to the graph yields a smaller graph in a given order. Canonical graphs are those that cannot be made smaller by any permutation. A complete symmetry break is then a set of permutations that covers all non-canonical graphs. A complete symmetry break wi… ▽ More

    Submitted 14 February, 2025; originally announced February 2025.

  4. SAT-Based Techniques for Lexicographically Smallest Finite Models

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

    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 st… ▽ More

    Submitted 14 January, 2025; originally announced January 2025.

  5. arXiv:1807.00507  [pdf, other

    cs.DM

    A SAT Encoding for the $n$-Fractions Problem

    Authors: Michael Codish

    Abstract: This note describes a SAT encoding for the $n$-fractions puzzle which is problem 041 of the CSPLib. Using a SAT solver we obtain a solution for two of the six remaining open instances of this problem.

    Submitted 2 July, 2018; originally announced July 2018.

  6. arXiv:1607.04829  [pdf, other

    cs.DS

    Logic Programming with Graph Automorphism: Integrating naut with Prolog (Tool Description)

    Authors: Michael Frank, Michael Codish

    Abstract: This paper presents the plnauty~library, a Prolog interface to the nauty graph-automorphism tool. Adding the capabilities of nauty to Prolog combines the strength of the "generate and prune" approach that is commonly used in logic programming and constraint solving, with the ability to reduce symmetries while reasoning over graph objects. Moreover, it enables the integration of nauty in existing t… ▽ More

    Submitted 1 August, 2016; v1 submitted 17 July, 2016; originally announced July 2016.

    Comments: Paper presented at the 32nd International Conference on Logic Programming (ICLP 2016), New York City, USA, 16-21 October 2016

  7. arXiv:1511.08205  [pdf, other

    cs.AI cs.DM

    Breaking Symmetries in Graph Search with Canonizing Sets

    Authors: Avraham Itzhakov, Michael Codish

    Abstract: There are many complex combinatorial problems which involve searching for an undirected graph satisfying given constraints. Such problems are often highly challenging because of the large number of isomorphic representations of their solutions. This paper introduces effective and compact, complete symmetry breaking constraints for small graph search. Enumerating with these symmetry breaks generate… ▽ More

    Submitted 3 February, 2016; v1 submitted 25 November, 2015; originally announced November 2015.

  8. arXiv:1510.08266  [pdf, other

    cs.AI cs.DM

    Computing the Ramsey Number R(4,3,3) using Abstraction and Symmetry breaking

    Authors: Michael Codish, Michael Frank, Avraham Itzhakov, Alice Miller

    Abstract: The number $R(4,3,3)$ is often presented as the unknown Ramsey number with the best chances of being found "soon". Yet, its precise value has remained unknown for almost 50 years. This paper presents a methodology based on \emph{abstraction} and \emph{symmetry breaking} that applies to solve hard graph edge-coloring problems. The utility of this methodology is demonstrated by using it to compute t… ▽ More

    Submitted 1 November, 2015; v1 submitted 28 October, 2015; originally announced October 2015.

    Comments: arXiv admin note: text overlap with arXiv:1409.5189

  9. arXiv:1508.05737  [pdf, other

    cs.CC

    When Six Gates are Not Enough

    Authors: Michael Codish, Luís Cruz-Filipe, Michael Frank, Peter Schneider-Kamp

    Abstract: We apply the pigeonhole principle to show that there must exist Boolean functions on 7 inputs with a multiplicative complexity of at least 7, i.e., that cannot be computed with only 6 multiplications in the Galois field with two elements.

    Submitted 24 August, 2015; originally announced August 2015.

    Comments: IMADA-preprint-cs

  10. Sorting Networks: to the End and Back Again

    Authors: Michael Codish, Luís Cruz-Filipe, Thorsten Ehlers, Mike Müller, Peter Schneider-Kamp

    Abstract: This paper studies new properties of the front and back ends of a sorting network, and illustrates the utility of these in the search for new bounds on optimal sorting networks. Search focuses first on the "outsides" of the network and then on the inner part. All previous works focus only on properties of the front end of networks and on how to apply these to break symmetries in the search. The ne… ▽ More

    Submitted 6 July, 2015; originally announced July 2015.

    Comments: IMADA-preprint-cs. arXiv admin note: text overlap with arXiv:1411.6408

  11. Applying Sorting Networks to Synthesize Optimized Sorting Libraries

    Authors: Michael Codish, Luís Cruz-Filipe, Markus Nebel, Peter Schneider-Kamp

    Abstract: This paper shows an application of the theory of sorting networks to facilitate the synthesis of optimized general purpose sorting libraries. Standard sorting libraries are often based on combinations of the classic Quicksort algorithm with insertion sort applied as the base case for small fixed numbers of inputs. Unrolling the code for the base case by ignoring loop conditions eliminates branchin… ▽ More

    Submitted 16 October, 2015; v1 submitted 8 May, 2015; originally announced May 2015.

    Comments: IMADA-preprint-cs

  12. Optimal-Depth Sorting Networks

    Authors: Daniel Bundala, Michael Codish, Luís Cruz-Filipe, Peter Schneider-Kamp, Jakub Závodný

    Abstract: We solve a 40-year-old open problem on the depth optimality of sorting networks. In 1973, Donald E. Knuth detailed, in Volume 3 of "The Art of Computer Programming", sorting networks of the smallest depth known at the time for n =< 16 inputs, quoting optimality for n =< 8. In 1989, Parberry proved the optimality of the networks with 9 =< n =< 10 inputs. In this article, we present a general techni… ▽ More

    Submitted 17 December, 2014; originally announced December 2014.

  13. Sorting Networks: the End Game

    Authors: Michael Codish, Luís Cruz-Filipe, Peter Schneider-Kamp

    Abstract: This paper studies properties of the back end of a sorting network and illustrates the utility of these in the search for networks of optimal size or depth. All previous works focus on properties of the front end of networks and on how to apply these to break symmetries in the search. The new properties help shed understanding on how sorting networks sort and speed-up solvers for both optimal size… ▽ More

    Submitted 24 November, 2014; originally announced November 2014.

  14. arXiv:1409.5189  [pdf, other

    cs.AI cs.DM

    Solving Graph Coloring Problems with Abstraction and Symmetry

    Authors: Michael Codish, Michael Frank, Avraham Itzhakov, Alice Miller

    Abstract: This paper introduces a general methodology, based on abstraction and symmetry, that applies to solve hard graph edge-coloring problems and demonstrates its use to provide further evidence that the Ramsey number $R(4,3,3)=30$. The number $R(4,3,3)$ is often presented as the unknown Ramsey number with the best chances of being found "soon". Yet, its precise value has remained unknown for more than… ▽ More

    Submitted 26 March, 2015; v1 submitted 18 September, 2014; originally announced September 2014.

  15. Twenty-Five Comparators is Optimal when Sorting Nine Inputs (and Twenty-Nine for Ten)

    Authors: Michael Codish, Luís Cruz-Filipe, Michael Frank, Peter Schneider-Kamp

    Abstract: This paper describes a computer-assisted non-existence proof of nine-input sorting networks consisting of 24 comparators, hence showing that the 25-comparator sorting network found by Floyd in 1964 is optimal. As a corollary, we obtain that the 29-comparator network found by Waksman in 1969 is optimal when sorting ten inputs. This closes the two smallest open instances of the optimal size sortin… ▽ More

    Submitted 24 June, 2014; v1 submitted 22 May, 2014; originally announced May 2014.

    Comments: 18 pages

  16. The Quest for Optimal Sorting Networks: Efficient Generation of Two-Layer Prefixes

    Authors: Michael Codish, Luis Cruz-Filipe, Peter Schneider-Kamp

    Abstract: Previous work identifying depth-optimal $n$-channel sorting networks for $9\leq n \leq 16$ is based on exploiting symmetries of the first two layers. However, the naive generate-and-test approach typically applied does not scale. This paper revisits the problem of generating two-layer prefixes modulo symmetries. An improved notion of symmetry is provided and a novel technique based on regular lang… ▽ More

    Submitted 23 September, 2014; v1 submitted 3 April, 2014; originally announced April 2014.

  17. Boolean Equi-propagation for Concise and Efficient SAT Encodings of Combinatorial Problems

    Authors: Amit Metodi, Michael Codish, Peter James Stuckey

    Abstract: We present an approach to propagation-based SAT encoding of combinatorial problems, Boolean equi-propagation, where constraints are modeled as Boolean functions which propagate information about equalities between Boolean literals. This information is then applied to simplify the CNF encoding of the constraints. A key factor is that considering only a small fragment of a constraint model at one… ▽ More

    Submitted 3 February, 2014; originally announced February 2014.

    Comments: arXiv admin note: text overlap with arXiv:1206.3883

    Journal ref: Journal Of Artificial Intelligence Research, Volume 46, pages 303-341, 2013

  18. arXiv:1308.3937  [pdf, other

    cs.PL

    Compiling Finite Domain Constraints to SAT with BEE: the Director's Cut

    Authors: Michael Codish, Yoav Fekete, Amit Metodi

    Abstract: BEE is a compiler which facilitates solving finite domain constraints by encoding them to CNF and applying an underlying SAT solver. In BEE constraints are modeled as Boolean functions which propagate information about equalities between Boolean literals. This information is then applied to simplify the CNF encoding of the constraints. We term this process equi-propagation. A key factor is that co… ▽ More

    Submitted 19 August, 2013; originally announced August 2013.

    Comments: Part of WLPE 2013 proceedings (arXiv:1308.2055)

    Report number: WLPE/2013/1

  19. arXiv:1206.3883  [pdf, ps, other

    cs.LO

    Compiling Finite Domain Constraints to SAT with BEE

    Authors: Amit Metodi, Michael Codish

    Abstract: We present BEE, a compiler which enables to encode finite domain constraint problems to CNF. Using BEE both eases the encoding process for the user and also performs transformations to simplify constraints and optimize their encoding to CNF. These optimizations are based primarily on equi-propagation and on partial evaluation, and also on the idea that a given constraint may have various possible… ▽ More

    Submitted 18 June, 2012; originally announced June 2012.

  20. arXiv:1107.5980  [pdf, ps, other

    cs.LO

    SAT-Based Termination Analysis Using Monotonicity Constraints over the Integers

    Authors: Michael Codish, Igor Gonopolskiy, Amir M. Ben-Amram, Carsten Fuhs, Jürgen Giesl

    Abstract: We describe an algorithm for proving termination of programs abstracted to systems of monotonicity constraints in the integer domain. Monotonicity constraints are a non-trivial extension of the well-known size-change termination method. While deciding termination for systems of monotonicity constraints is PSPACE complete, we focus on a well-defined and significant subset, which we call MCNP, desig… ▽ More

    Submitted 29 July, 2011; originally announced July 2011.

    Journal ref: Theory and Practice of Logic Programming, 27th International Conference on Logic Programming (ICLP'11) Special Issue, volume 11, issue 4-5, pages 503-520, 2011

  21. arXiv:1104.4617  [pdf, ps, other

    cs.AI cs.DS cs.LO

    Boolean Equi-propagation for Optimized SAT Encoding

    Authors: Amit Metodi, Michael Codish, Vitaly Lagoon, Peter J. Stuckey

    Abstract: We present an approach to propagation based solving, Boolean equi-propagation, where constraints are modelled as propagators of information about equalities between Boolean literals. Propagation based solving applies this information as a form of partial evaluation resulting in optimized SAT encodings. We demonstrate for a variety of benchmarks that our approach results in smaller CNF encodings an… ▽ More

    Submitted 24 April, 2011; originally announced April 2011.

  22. arXiv:1007.4935  [pdf, other

    cs.DM

    Optimal Base Encodings for Pseudo-Boolean Constraints

    Authors: Michael Codish, Yoav Fekete, Carsten Fuhs, Peter Schneider-Kamp

    Abstract: This paper formalizes the optimal base problem, presents an algorithm to solve it, and describes its application to the encoding of Pseudo-Boolean constraints to SAT. We demonstrate the impact of integrating our algorithm within the Pseudo-Boolean constraint solver MINISAT+. Experimentation indicates that our algorithm scales to bases involving numbers up to 1,000,000, improving on the restriction… ▽ More

    Submitted 1 January, 2011; v1 submitted 28 July, 2010; originally announced July 2010.

  23. arXiv:cs/0702072  [pdf, ps, other

    cs.PL cs.AI

    Logic Programming with Satisfiability

    Authors: Michael Codish, Vitaly Lagoon, Peter J. Stuckey

    Abstract: This paper presents a Prolog interface to the MiniSat satisfiability solver. Logic program- ming with satisfiability combines the strengths of the two paradigms: logic programming for encoding search problems into satisfiability on the one hand and efficient SAT solving on the other. This synergy between these two exposes a programming paradigm which we propose here as a logic programming pearl.… ▽ More

    Submitted 12 February, 2007; originally announced February 2007.

    Comments: 8 pages, 3 figures, 1 table

    Journal ref: Theory and Practice of Logic Programming: 8(1):121-128, 2008

  24. arXiv:cs/0605074  [pdf, ps, other

    cs.LO

    SAT Solving for Argument Filterings

    Authors: Michael Codish, Peter Schneider-Kamp, Vitaly Lagoon, René Thiemann, Jürgen Giesl

    Abstract: This paper introduces a propositional encoding for lexicographic path orders in connection with dependency pairs. This facilitates the application of SAT solvers for termination analysis of term rewrite systems based on the dependency pair method. We address two main inter-related issues and encode them as satisfiability problems of propositional formulas that can be efficiently handled by SAT s… ▽ More

    Submitted 17 May, 2006; originally announced May 2006.

  25. arXiv:cs/0512067  [pdf, ps, other

    cs.PL cs.LO cs.SC

    Solving Partial Order Constraints for LPO Termination

    Authors: Michael Codish, Vitaly Lagoon, Peter J. Stuckey

    Abstract: This paper introduces a new kind of propositional encoding for reasoning about partial orders. The symbols in an unspecified partial order are viewed as variables which take integer values and are interpreted as indices in the order. For a partial order statement on n symbols each index is represented in log2 n propositional variables and partial order constraints between symbols are modeled on… ▽ More

    Submitted 15 December, 2005; originally announced December 2005.

    Comments: 15 pages, 2 figures, 2 tables

    ACM Class: F.3.1; F.4.1

    Journal ref: Journal of Satisfiability, Boolean Modeling and Computation, 5:193-215: 2008

  26. arXiv:cs/0405101  [pdf, ps, other

    cs.PL

    Worst-Case Groundness Analysis Using Definite Boolean Functions

    Authors: Samir Genaim, Michael Codish, Jacob M. Howe

    Abstract: This note illustrates theoretical worst-case scenarios for groundness analyses obtained through abstract interpretation over the abstract domains of definite (Def) and positive (Pos) Boolean functions. For Def, an example is given for which any Def-based abstract interpretation for groundness analysis follows a chain which is exponential in the number of argument positions as well as in the numb… ▽ More

    Submitted 26 May, 2004; originally announced May 2004.

    Comments: Appeared in Theory and Practice of Logic Programming, vol. 1, no. 5, 2001

    ACM Class: D.1.6; D.3.2

    Journal ref: Theory and Practice of Logic Programming, vol. 1, no. 5, 2001

  27. arXiv:cs/0312023  [pdf, ps, other

    cs.PL

    Inferring Termination Conditions for Logic Programs using Backwards Analysis

    Authors: Samir Genaim, Michael Codish

    Abstract: This paper focuses on the inference of modes for which a logic program is guaranteed to terminate. This generalises traditional termination analysis where an analyser tries to verify termination for a specified mode. Our contribution is a methodology in which components of traditional termination analysis are combined with backwards analysis to obtain an analyser for termination inference. We id… ▽ More

    Submitted 12 December, 2003; originally announced December 2003.

    ACM Class: D.1.6,F.3.1