Closed asr closed 7 years ago
$ cat bug.fof fof(foo, conjecture, $true | $false).
Using tptp4X for translating the above file to smt2 we get
$ tptp4X -fsmt2 bug.fof > bug.smt2 $ cat bug.smt2 (set-logic UF) (declare-sort sort__smt2 0) ; functions ; predicates (declare-fun true__smt2_0 ( ) Bool) (declare-fun false__smt2_0 ( ) Bool) ;----This is the conjecture with negated conjecture ; foo conjecture (assert (not (or true__smt2_0 false__smt2_0))) (check-sat)
Note that $false and $true are incorrectly translated to false__smt2_0 and true__smt2_0, respectively. The correct translation is false and true. In consequence, Z3 fails for proving theorems including $false or $true.
$false
$true
false__smt2_0
true__smt2_0
false
true
Using tptp4X for translating the above file to smt2 we get
Note that
$false
and$true
are incorrectly translated tofalse__smt2_0
andtrue__smt2_0
, respectively. The correct translation isfalse
andtrue
. In consequence, Z3 fails for proving theorems including$false
or$true
.