General Boolean Formula Minimization with QBF Solvers

03/12/2023
by   Eduardo Calò, et al.
0

The minimization of propositional formulae is a classical problem in logic, whose first algorithms date back at least to the 1950s with the works of Quine and Karnaugh. Most previous work in the area has focused on obtaining minimal, or quasi-minimal, formulae in conjunctive normal form (CNF) or disjunctive normal form (DNF), with applications in hardware design. In this paper, we are interested in the problem of obtaining an equivalent formula in any format, also allowing connectives that are not present in the original formula. We are primarily motivated in applying minimization algorithms to generate natural language translations of the original formula, where using shorter equivalents as input may result in better translations. Recently, Buchfuhrer and Umans have proved that the (decisional version of the) problem is Σ_2^p-complete. We analyze three possible (practical) approaches to solving the problem. First, using brute force, generating all possible formulae in increasing size and checking if they are equivalent to the original formula by testing all possible variable assignments. Second, generating the Tseitin coding of all the formulae and checking equivalence with the original using a SAT solver. Third, encoding the problem as a Quantified Boolean Formula (QBF), and using a QBF solver. Our results show that the QBF approach largely outperforms the other two.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/18/2018

Quantified boolean formula problem

This paper is devoted to the complexity of the quantified boolean formul...
research
05/02/2022

Superredundancy: A tool for Boolean formula minimization complexity analysis

A superredundant clause is a clause that is redundant in the resolution ...
research
11/22/2002

Redundancy in Logic I: CNF Propositional Formulae

A knowledge base is redundant if it contains parts that can be inferred ...
research
07/24/2018

Expansion-Based QBF Solving Without Recursion

In recent years, expansion-based techniques have been shown to be very p...
research
10/29/2018

An Optimal Construction for the Barthelmann-Schwentick Normal Form on Classes of Structures of Bounded Degree

Building on the locality conditions for first-order logic by Hanf and Ga...
research
02/15/2021

On synthesizing Skolem functions for first order logic formulae

Skolem functions play a central role in logic, from eliminating quantifi...
research
09/22/2022

A First Complete Algorithm for Real Quantifier Elimination in Isabelle/HOL

We formalize a multivariate quantifier elimination (QE) algorithm in the...

Please sign up or login with your details

Forgot password? Click here to reset