Skip to main content
QUICK REVIEW

[Paper Review] On CNF Conversion for Disjoint SAT Enumeration

Gabriele Masina, Giuseppe Spallitta|arXiv (Cornell University)|Jan 1, 2023
DNA and Biological ComputingBiochemistry, Genetics and Molecular Biology2 citations
TL;DR

This paper investigates CNF conversion techniques for SAT and SMT enumeration, showing that standard transformations like Tseitin and Plaisted-Greenbaum hinder short partial assignment generation. It proposes and empirically validates that preprocessing with Negation Normal Form (NNF) before Plaisted-Greenbaum transformation drastically reduces both the number of partial assignments and execution time—improving performance by orders of magnitude in synthetic and real-world benchmarks.

ABSTRACT

Modern SAT solvers are designed to handle problems expressed in Conjunctive Normal Form (CNF) so that non-CNF problems must be CNF-ized upfront, typically by using variants of either Tseitin or Plaisted and Greenbaum transformations. When passing from solving to enumeration, however, the capability of producing partial satisfying assignments that are as small as possible becomes crucial, which raises the question of whether such CNF encodings are also effective for enumeration. In this paper, we investigate both theoretically and empirically the effectiveness of CNF conversions for disjoint SAT enumeration. On the negative side, we show that: (i) Tseitin transformation prevents the solver from producing short partial assignments, thus seriously affecting the effectiveness of enumeration; (ii) Plaisted and Greenbaum transformation overcomes this problem only in part. On the positive side, we show that combining Plaisted and Greenbaum transformation with NNF preprocessing upfront - which is typically not used in solving - can fully overcome the problem and can drastically reduce both the number of partial assignments and the execution time.

Motivation & Objective

  • To analyze how standard CNF transformations affect SAT and SMT enumeration performance.
  • To identify why Tseitin and Plaisted-Greenbaum transformations hinder the generation of short partial assignments in enumeration.
  • To evaluate whether NNF preprocessing can mitigate these issues and improve enumeration efficiency.
  • To empirically validate the proposed method across diverse synthetic and real-world benchmarks, including disjoint and non-disjoint AllSAT and AllSMT settings.

Proposed method

  • The authors formally prove that Tseitin transformation prevents short partial assignments due to double-implication label definitions.
  • They show that Plaisted-Greenbaum partially mitigates this by using one-way implications for single-polarity sub-formulas but fails when sub-formulas occur with both polarities.
  • The core method introduces NNF preprocessing before applying the Plaisted-Greenbaum transformation to eliminate structural impediments to short assignment generation.
  • The approach is evaluated using both synthetic benchmarks (SMT(LRA)) and real-world-inspired WMI instances, across multiple solvers including MathSAT and TabularAllSMT.
  • Execution time and number of partial assignments are measured under extended timeouts (3600s) to ensure robust comparison.
  • The method is validated using both AllSAT and AllSMT solvers, including novel enumerators like TabularAllSAT and TabularAllSMT.

Experimental results

Research questions

  • RQ1Does the Tseitin transformation hinder the generation of short partial assignments in SAT and SMT enumeration?
  • RQ2To what extent does the Plaisted-Greenbaum transformation improve over Tseitin in supporting short partial assignments?
  • RQ3Can NNF preprocessing prior to Plaisted-Greenbaum transformation fully resolve the limitations of existing CNF encodings in enumeration?
  • RQ4How does the proposed method scale across disjoint and non-disjoint AllSAT and AllSMT problems?

Key findings

  • The Tseitin transformation severely limits the generation of short partial assignments due to double-implication label definitions, which must be satisfied.
  • Plaisted-Greenbaum transformation improves over Tseitin but still fails to fully support short assignments when sub-formulas occur with both polarities.
  • NNF preprocessing before Plaisted-Greenbaum transformation enables the solver to generate significantly shorter partial assignments, drastically reducing the number of assignments to enumerate.
  • The proposed method reduces execution time by up to orders of magnitude on both synthetic and real-world benchmarks.
  • The performance gains are consistent across different solvers, including MathSAT and TabularAllSMT, and are observed in both disjoint and non-disjoint enumeration settings.
  • The results confirm theoretical analysis, with NNF + Plaisted-Greenbaum outperforming all other CNF conversion strategies in both TA size and runtime.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.