QRATPre+ is a novel preprocessor to simplify quantified Boolean formulas (QBFs) given in prenex conjunctive normal form (PCNF). For simplification, QRATPre+ tries to eliminate redundant clauses from the PCNF, or universal literals from clauses. It implements redundancy checking based on the QRAT+ proof system. QRAT+ is a generalisation of the QRAT proof system. QRAT was introduced by Heule, Seidl, and Biere:

M. Heule, M. Seidl, A. Biere: Solution Validation and Extraction for QBF Preprocessing. J. Autom. Reasoning 58(1), 2017.

M. Heule, M. Seidl, A. Biere: A Unified Proof System for QBF Preprocessing. JCAR 2014.
QRATPre+ is the first available implementation of the QRAT/QRAT+ proof systems for redundancy removal in QBF preprocessing.
For redundancy checking, the QRAT+ system relies on QBFspecific unit propagation with universal reduction to handle the literals of certain universal variables. This is in contrast to QRAT, which applies propositional unit propagation and treats every variable as existentially quantified. As a result, redundancy removal based on QRAT+ is more powerful than based on QRAT.
PUBLICATIONS
The theory behind QRATPre+ is described in our IJCAR 2018 paper:
 Florian Lonsing and Uwe Egly. QRAT+: Generalizing QRAT by a More Powerful QBF Redundancy Property. In Proc. of the 9th International Joint Conference on Automated Reasoning (IJCAR) 2018, Springer, LNCS.
A preprint of the above paper is available on arXiv:
SOURCE CODE
QRATPre+ is free software released under GPLv3:
https://www.gnu.org/copyleft/gpl.html
The latest release is available from GitHub.
 April 30 2018: Version 1.0
EXEMPLIFYING THE POWER OF THE QRAT+ SYSTEM
The following examples illustrate that redundancy removal based on QRAT+ as implemented in QRATPre+ is more powerful than based on QRAT.
Clause Elimination
Suppose that we have a file formula.qdimacs
containing the following QBF in QDIMACS format:
p cnf 12 14
e 1 2 7 8 0
a 3 9 0
e 4 10 0
a 5 11 0
e 6 12 0
1 3 4 0
2 3 4 0
1 3 4 0
2 3 4 0
3 4 6 0
5 6 0
1 5 6 0
7 9 10 0
8 9 10 0
7 9 10 0
8 9 10 0
9 10 12 0
11 12 0
7 11 12 0
QRATPre+ is able to remove all clauses in formula.qdimacs
. The call ./qratpre+ printformula ./formula.qdimacs
produces the following output (i.e., a formula with a quantifier prefix but not containing any clauses):
p cnf 12 0
e 1 2 7 8 0
a 3 9 0
e 4 10 0
a 5 11 0
e 6 12 0
Now we configure QRATPre+ to apply redundancy detection based on the QRAT system instead of QRAT+ by parameter noeabs
. The formula produced by calling ./qratpre+ printformula noeabs ./formula.qdimacs
is exactly the same as the given one, i.e., no redundant clauses can be detected using the QRAT system:
p cnf 12 14
e 1 2 7 8 0
a 3 9 0
e 4 10 0
a 5 11 0
e 6 12 0
1 3 4 0
2 3 4 0
1 3 4 0
2 3 4 0
3 4 6 0
5 6 0
1 5 6 0
7 9 10 0
8 9 10 0
7 9 10 0
8 9 10 0
9 10 12 0
11 12 0
7 11 12 0
Hence clause elimination based on the QRAT+ proof system is more powerful than based on QRAT (see also Proposition 4 in our related IJCAR 2018 paper).
Universal Literal Elimination
Like above, suppose that we have a file formula.qdimacs
containing the following QBF in QDIMACS format:
p cnf 6 8
a 1 2 0
e 3 4 0
a 5 0
e 6 0
2 3 4 0
1 3 4 0
1 3 4 0
2 3 4 0
3 4 6 0
5 6 0
3 4 6 0
5 6 0
We configure QRATPre+ to only eliminate universal literals by parameters noqbce noqrate noat
, thus switching off clause elimination techniques. QRATPre+ is able to remove all universal variables appearing in the first quantifier block a 1 2 0
from formula.qdimacs
. The call ./qratpre+ printformula noqbce noqrate noat ./formula.qdimacs
produces the following output (the quantifier prefix is not cleaned up):
p cnf 6 8
a 1 2 0
e 3 4 0
a 5 0
e 6 0
3 4 0
3 4 0
3 4 0
3 4 0
3 4 6 0
5 6 0
3 4 6 0
5 6 0
In contrast to that, if we apply the QRAT system instead of QRAT+ by parameter noeabs
, then no universal variables can be removed. The formula produced by calling ./qratpre+ printformula noqbce noqrate noat noeabs ./formula.qdimacs
is exactly the same as the given one:
p cnf 6 8
a 1 2 0
e 3 4 0
a 5 0
e 6 0
2 3 4 0
1 3 4 0
1 3 4 0
2 3 4 0
3 4 6 0
5 6 0
3 4 6 0
5 6 0
Hence universal literal elimination based on the QRAT+ proof system is more powerful than based on QRAT (see also Proposition 5 in our related IJCAR 2018 paper).
CONTACT INFORMATION
For comments, questions, bug reports etc. related to QRATPre+, please contact:
Florian Lonsing, TU Wien, Austria