SAT Solving Using XOR-OR-AND Normal Forms

被引:0
|
作者
Andraschko, Bernhard [1 ]
Danner, Julian [1 ]
Kreuzer, Martin [1 ]
机构
[1] Univ Passau, Fak Informat & Math, D-94030 Passau, Germany
关键词
SAT solving; XOR constraint; Algebraic normal form; Implication graph; Cryptographic attack; SOLVERS;
D O I
10.1007/s11786-024-00594-x
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
This paper introduces the XOR-OR-AND normal form (XNF) for logical formulas. It is a generalization of the well-known Conjunctive Normal Form (CNF) where literals are replaced by XORs of literals. As a first theoretic result, we show that every CNF formula is equisatisfiable to a formula in 2-XNF, i.e., a formula in XNF where each clause involves at most two XORs of literals. Subsequently, we present an algorithm which converts Boolean polynomials efficiently from their Algebraic Normal Form (ANF) to formulas in 2-XNF. Experiments with the cipher ASCON-128 show that cryptographic problems, which by design are based strongly on XOR-operations, can be represented using far fewer variables and clauses in 2-XNF than in CNF. In order to take advantage of this compact representation, new SAT solvers based on input formulas in 2-XNF need to be designed. By taking inspiration from graph-based 2-CNF SAT solving, we devise a new DPLL-based SAT solver for formulas in 2-XNF. Among others, we present advanced pre- and in-processing techniques. Finally, we give timings for random 2-XNF instances and instances related to key recovery attacks on round reduced ASCON-128, where our solver outperforms state-of-the-art alternative solving approaches.
引用
收藏
页数:26
相关论文
共 50 条
  • [1] SAT Solving Using XOR-OR-AND Normal FormsSAT Solving Using XOR-OR-AND Normal FormsB. Andraschko et al.
    Bernhard Andraschko
    Julian Danner
    Martin Kreuzer
    Mathematics in Computer Science, 2024, 18 (4)
  • [2] How to Apply SAT-Solving for the Equivalence Test of Monotone Normal Forms
    Mundhenk, Martin
    Zeranski, Robert
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2011, 2011, 6695 : 105 - 119
  • [3] On SAT Representations of XOR Constraints
    Gwynne, Matthew
    Kullmann, Oliver
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS (LATA 2014), 2014, 8370 : 409 - 420
  • [4] Solving trace equations using lexicographical normal forms
    Diekert, V
    Matiyasevich, Y
    Muscholl, A
    AUTOMATA, LANGUAGES AND PROGRAMMING, 1997, 1256 : 336 - 346
  • [5] Solving XOR
    Grand, C.
    Honey, R. C.
    JOURNAL OF EXPERIMENTAL PSYCHOLOGY-ANIMAL BEHAVIORAL PROCESSES, 2008, 34 (04): : 486 - 493
  • [6] Solving #SAT using vertex covers
    Naomi Nishimura
    Prabhakar Ragde
    Stefan Szeider
    Acta Informatica, 2007, 44 : 509 - 523
  • [7] Solving #SAT using extension rules
    Yin, Ming-Hao
    Lin, Hai
    Sun, Ji-Gui
    Ruan Jian Xue Bao/Journal of Software, 2009, 20 (07): : 1714 - 1725
  • [8] Solving String Constraints Using SAT
    Lotz, Kevin
    Goel, Amit
    Dutertre, Bruno
    Kiesl-Reiter, Benjamin
    Kong, Soonho
    Majumdar, Rupak
    Nowotka, Dirk
    COMPUTER AIDED VERIFICATION, CAV 2023, PT II, 2023, 13965 : 187 - 208
  • [9] Solving #SAT using vertex covers
    Nishimura, Naomi
    Ragde, Prabhakar
    Szeider, Stefan
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2006, PROCEEDINGS, 2006, 4121 : 396 - 409
  • [10] Solving #SAT using vertex covers
    Nishimura, Naomi
    Ragde, Prabhakar
    Szeider, Stefan
    ACTA INFORMATICA, 2007, 44 (7-8) : 509 - 523