This updates all regressions that pass check-unsat-cores to enable check-unsat-cores. This includes any incremental benchmark, which was disabled in run_regression.py previously.
It adds --no-check-unsat-cores to a few corner benchmarks that were previously disabled based on --incremental.
It also reverts a change to when proofs are disabled: options like sygus-inference should not permit proofs (or unsat cores).
|| options::sygusInference() || options::sygusRewSynthInput())
{
// since we are trying to recast as sygus, we assume the input is sygus
+ isSygus = true;
usesSygus = true;
}
else if (options::sygusInst())
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFNRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LIRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LIRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LIRA)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LIA)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFLIA)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFLIA)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: sat
(set-logic QF_UFLIA)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFLIA)
(set-info :smt-lib-version 2.6)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_ALIA)
(declare-fun a () (Array Int Int))
; EXPECT: unsat
-; COMMAND-LINE: --incremental --repeat-simp
+; COMMAND-LINE: --incremental --repeat-simp --no-check-unsat-cores
(set-logic QF_LIA)
(declare-fun i () Int)
(assert (ite (= i 0) false true))
-; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
-; COMMAND-LINE: --bitblast=eager --bv-solver=simple --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --no-check-models
+; COMMAND-LINE: --bitblast=eager --bv-solver=simple --no-check-models
; EXPECT: sat
(set-logic QF_UFBV)
(set-info :smt-lib-version 2.6)
-; COMMAND-LINE: --bitblast=eager --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager
; REQUIRES: cryptominisat
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat
; EXPECT: unsat
(set-logic QF_UFBV)
(set-info :smt-lib-version 2.6)
-; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --no-check-models
; EXPECT: sat
(set-logic QF_UFBV)
(set-info :smt-lib-version 2.6)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: sat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: sat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-unsat-cores
+; COMMAND-LINE: --ackermann
; EXPECT: unsat
(set-logic QF_UFBV)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic ALL_SUPPORTED)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic ALL_SUPPORTED)
(set-info :status unsat)
; REQUIRES: cryptominisat
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat
; EXPECT: unsat
(set-option :incremental false)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
(set-logic QF_BV)
(set-info :status unsat)
(declare-const x (_ BitVec 4))
-; COMMAND-LINE: --no-check-unsat-cores
-; COMMAND-LINE: --bv-solver=simple --no-check-unsat-cores
+; COMMAND-LINE:
+; COMMAND-LINE: --bv-solver=simple
(set-logic QF_BV)
(set-info :status unsat)
(declare-const x (_ BitVec 4))
-% COMMAND-LINE: --no-check-unsat-cores
+% COMMAND-LINE:
%
OPTION "incremental";
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic ALL_SUPPORTED)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_BVLIA)
(set-info :status unsat)
-; COMMAND-LINE: --finite-model-find --no-check-unsat-cores
+; COMMAND-LINE: --finite-model-find
; EXPECT: unsat
;%------------------------------------------------------------------------------
;% File : PUZ001+1 : TPTP v5.4.0. Released v2.0.0.
-; COMMAND-LINE: --incremental --produce-models --block-models=values
+; COMMAND-LINE: --incremental --produce-models --block-models=values --no-check-unsat-cores
; EXPECT: sat
; EXPECT: sat
; if we only block models restricted to (a,b), then there are only 2 models
-; COMMAND-LINE: --no-check-unsat-cores --decision=justification
+; COMMAND-LINE: --decision=justification
(set-logic QF_UFNIA)
(set-info :status unsat)
(declare-fun c (Int) Int)
-; COMMAND-LINE: --incremental --fmf-fun --macros-quant --macros-quant-mode=ground --no-check-models
+; COMMAND-LINE: --incremental --fmf-fun --macros-quant --macros-quant-mode=ground --no-check-models --no-check-unsat-cores
(set-logic UFLIA)
(define-fun f ((x Int)) Int x)
-; COMMAND-LINE: --dump-instantiations --produce-proofs --print-inst-full --no-check-unsat-cores
+; COMMAND-LINE: --dump-instantiations --produce-proofs --print-inst-full
; EXPECT: unsat
; EXPECT: (instantiations (forall ((x Int)) (or (P x) (Q x)))
; EXPECT: ( 2 )
; EXPECT: unsat
-; COMMAND-LINE: --sygus-inference --sygus-qe-preproc --no-check-unsat-cores -q
+; COMMAND-LINE: --sygus-inference --sygus-qe-preproc -q
(set-logic ALL)
(declare-fun a () Real)
(declare-fun b () Real)
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=5 --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=value --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=sum --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=bv --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=5
+; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=value
+; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=sum
+; COMMAND-LINE: --solve-bv-as-int=bv
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun s () (_ BitVec 4))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=value --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=sum --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=bv --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1
+; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=value
+; COMMAND-LINE: --solve-bv-as-int=iand --iand-mode=sum
+; COMMAND-LINE: --solve-bv-as-int=bv
; EXPECT: unsat
(set-logic ALL)
(declare-fun A () (Array Int Int))
-% COMMAND-LINE: --uf-ho --full-saturate-quant --ho-elim --no-check-unsat-cores
+% COMMAND-LINE: --uf-ho --full-saturate-quant --ho-elim
% EXPECT: % SZS status Theorem for partial_app_interpreted_SWW474^2
%------------------------------------------------------------------------------
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE:
; EXPECT: unsat
(set-logic QF_LIA)
(set-option :ite-simp true)
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-unsat-cores
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2 --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun a () (_ BitVec 4))
-; COMMAND-LINE: --solve-bv-as-int=bv --no-check-unsat-cores
-; COMMAND-LINE: --cegqi-all --full-saturate-quant --bvand-integer-granularity=1 --solve-bv-as-int=sum --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=bv
+; COMMAND-LINE: --cegqi-all --full-saturate-quant --bvand-integer-granularity=1 --solve-bv-as-int=sum
; EXPECT: unsat
(set-logic BV)
(declare-fun s () (_ BitVec 4))
-; COMMAND-LINE: --cegqi-all --full-saturate-quant --bvand-integer-granularity=1 --solve-bv-as-int=sum --no-check-unsat-cores
+; COMMAND-LINE: --cegqi-all --full-saturate-quant --bvand-integer-granularity=1 --solve-bv-as-int=sum
; EXPECT: unsat
(set-logic BV)
(declare-fun s () (_ BitVec 4))
-; COMMAND-LINE: --sygus-inst --no-check-unsat-cores
+; COMMAND-LINE: --sygus-inst
; times out during unsat core checking since 6b673474
(set-info :smt-lib-version 2.6)
'--no-produce-unsat-cores' not in all_args and \
'--no-check-unsat-cores' not in all_args and \
'--check-unsat-cores' not in all_args and \
- '--incremental' not in all_args and \
+ 'sygus-inference' not in benchmark_content and \
'--unconstrained-simp' not in all_args:
extra_command_line_args += ['--check-unsat-cores']
if check_proofs and \