regress0/bv/bv-abstr-bug2.smt2
regress0/bv/bv-int-collapse1.smt2
regress0/bv/bv-int-collapse2.smt2
- regress0/bv/bv-options1.smt2
- regress0/bv/bv-options2.smt2
- regress0/bv/bv-options3.smt2
regress0/bv/bv-options4.smt2
regress0/bv/bv-to-bool1.smtv1.smt2
regress0/bv/bv-to-bool2.smt2
regress0/printer/let_shadowing.smt2
regress0/printer/symbol_starting_w_digit.smt2
regress0/printer/tuples_and_records.cvc
- regress0/proof_no_support.smt2
regress0/push-pop/boolean/fuzz_12.smt2
regress0/push-pop/boolean/fuzz_13.smt2
regress0/push-pop/boolean/fuzz_14.smt2
-; COMMAND-LINE: --check-proofs
(set-option :incremental false)
(set-info :status unsat)
(set-info :category "crafted")
-; COMMAND-LINE: --no-check-proofs
; EXPECT: unsat
(set-option :incremental false)
(set-info :status unsat)
; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
; REQUIRES: cryptominisat
; REQUIRES: drat2er
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=lrat --check-proofs --no-check-unsat-cores
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=drat --check-proofs --no-check-unsat-cores
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=er --check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=lrat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=drat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=er --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_UFBV)
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_ABV)
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
; EXPECT: sat
(set-logic QF_UFBV)
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE: --ackermann --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --ackermann --no-check-models --no-check-unsat-cores
; EXPECT: sat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --ackermann --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --ackermann --no-check-models --no-check-unsat-cores
; EXPECT: sat
(set-logic QF_UFBV)
-; COMMAND-LINE: --ackermann --no-check-models --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --ackermann --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_UFBV)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores
; EXPECT: unsat
(set-logic ALL_SUPPORTED)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores
; EXPECT: unsat
(set-logic ALL_SUPPORTED)
(set-info :status unsat)
+++ /dev/null
-; SCRUBBER: sed -e 's/(error \"Error.in.option.parsing.*$/Error in option parsing/'
-; EXPECT: Error in option parsing
-; COMMAND-LINE: --check-proofs --bv-algebraic-solver
-; EXIT: 1
-(set-logic QF_BV)
-(set-info :smt-lib-version 2.0)
-(set-info :category "crafted")
-(declare-fun v0 () (_ BitVec 16))
-(declare-fun v1 () (_ BitVec 16))
-(declare-fun v2 () (_ BitVec 16))
-(declare-fun v3 () (_ BitVec 16))
-(declare-fun v4 () (_ BitVec 16))
-(declare-fun v5 () (_ BitVec 16))
-(assert (and
- (bvult v2 v4)
- (bvult v3 v4)
- (bvult v0 v1)
- (bvult v1 v2)
- (bvult v1 v3)
- (bvult v4 v5)
- (bvult v5 v1)
- ))
-(check-sat)
-(exit)
+++ /dev/null
-; SCRUBBER: sed -e 's/(error \"Error.in.option.parsing.*$/Error in option parsing/'
-; EXPECT: Error in option parsing
-; COMMAND-LINE: --check-proofs --bv-eq-solver
-; EXIT: 1
-(set-logic QF_BV)
-(set-info :smt-lib-version 2.0)
-(set-info :category "crafted")
-(declare-fun v0 () (_ BitVec 16))
-(declare-fun v1 () (_ BitVec 16))
-(declare-fun v2 () (_ BitVec 16))
-(declare-fun v3 () (_ BitVec 16))
-(declare-fun v4 () (_ BitVec 16))
-(declare-fun v5 () (_ BitVec 16))
-(assert (and
- (bvult v2 v4)
- (bvult v3 v4)
- (bvult v0 v1)
- (bvult v1 v2)
- (bvult v1 v3)
- (bvult v4 v5)
- (bvult v5 v1)
- ))
-(check-sat)
-(exit)
+++ /dev/null
-; SCRUBBER: sed -e 's/(error \"Error.in.option.parsing.*$/Error in option parsing/'
-; EXPECT: Error in option parsing
-; COMMAND-LINE: --check-proofs --bv-inequality-solver
-; EXIT: 1
-(set-logic QF_BV)
-(set-info :smt-lib-version 2.0)
-(set-info :category "crafted")
-(declare-fun v0 () (_ BitVec 16))
-(declare-fun v1 () (_ BitVec 16))
-(declare-fun v2 () (_ BitVec 16))
-(declare-fun v3 () (_ BitVec 16))
-(declare-fun v4 () (_ BitVec 16))
-(declare-fun v5 () (_ BitVec 16))
-(assert (and
- (bvult v2 v4)
- (bvult v3 v4)
- (bvult v0 v1)
- (bvult v1 v2)
- (bvult v1 v3)
- (bvult v4 v5)
- (bvult v5 v1)
- ))
-(check-sat)
-(exit)
; SCRUBBER: sed -e 's/unsat.*/unsat/'
; EXPECT: unsat
-; COMMAND-LINE: --check-proofs
; EXIT: 0
(set-logic QF_BV)
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=3 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=4 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=3 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=4 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun x () (_ BitVec 4))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=5 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=5 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun s () (_ BitVec 4))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun T4_180 () (_ BitVec 32))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun T1_31078 () (_ BitVec 8))
-;COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-produce-models --no-produce-unsat-cores --no-check-proofs
+;COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-produce-models --no-produce-unsat-cores
;EXPECT: unsat
(set-logic QF_UFBV)
; REQUIRES: cryptominisat
; REQUIRES: drat2er
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=lrat --check-proofs --no-check-unsat-cores
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=drat --check-proofs --no-check-unsat-cores
-; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=er --check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=lrat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=drat --no-check-unsat-cores
+; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --bv-proof-format=er --no-check-unsat-cores
; EXPECT: unsat
(set-option :incremental false)
(set-info :status unsat)
-; COMMAND-LINE: --bv-intro-pow2 --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --bv-intro-pow2 --no-check-unsat-cores
(set-info :smt-lib-version 2.6)
(set-logic QF_BV)
(set-info :status unsat)
-% COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+% COMMAND-LINE: --no-check-unsat-cores
%
OPTION "incremental";
-; COMMAND-LINE: --sort-inference --finite-model-find --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --sort-inference --finite-model-find --no-check-unsat-cores
; EXPECT: unsat
(set-logic ALL)
(assert (not (exists ((X Int)) (not (= X 12)) )))
-; COMMAND-LINE:
; EXPECT: sat
; EXPECT: ((pos 1) (zero 0) (neg (- 6)))
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE:
; EXPECT: sat
; EXPECT: ((pos_int 5) (pos_real_int_value (/ 3 1)) (pos_rat (/ 1 3)) (zero (/ 0 1)) (neg_rat (/ (- 2) 3)) (neg_real_int_value (/ (- 2) 1)) (neg_int (- 6)))
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE:
; EXPECT: sat
; EXPECT: ((pos_int (/ 3 1)) (pos_rat (/ 1 3)) (zero (/ 0 1)) (neg_rat (/ (- 2) 3)) (neg_int (/ (- 2) 1)))
(set-info :smt-lib-version 2.0)
-; COMMAND-LINE:
(set-option :incremental false)
(set-info :source "The Formal Verification of a Reintegration Protocol. Author: Lee Pike. Website: http://www.cs.indiana.edu/~lepike/pub_pages/emsoft.html.
-; COMMAND-LINE:
; EXPECT: sat
; EXPECT: ((x #b0001))
(set-option :produce-models true)
+++ /dev/null
-;COMMAND-LINE: --check-proofs
-;EXIT: 1
-;EXPECT: (error "Error in option parsing: Proofs are only supported for sub-logics of QF_AUFBVLIA.")
-(set-logic ALL)
-
-(declare-const a Int)
-
-(assert (and
- (=
- a
- (* a a)
- )
- (not (= a 0))
- (not (= a 1))
- )
-)
-
-(check-sat)
-
-
-
-; COMMAND-LINE: --global-negate --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --global-negate --no-check-unsat-cores
; EXPECT: unsat
(set-logic LRA)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs
(set-option :incremental false)
(set-info :status unsat)
(set-info :category "crafted")
-; COMMAND-LINE: --no-check-proofs
(set-option :incremental false)
(set-info :source "MathSat group")
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs
(set-option :incremental false)
(set-info :source "MathSat group")
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BVLIA)
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores --decision=justification
+; COMMAND-LINE: --no-check-unsat-cores --decision=justification
; EXPECT: unsat
(set-logic AUFLIRA)
-; COMMAND-LINE: --finite-model-find --no-check-proofs --no-check-unsat-core
+; COMMAND-LINE: --finite-model-find --no-check-unsat-core
; EXPECT: unsat
;%------------------------------------------------------------------------------
;% File : PUZ001+1 : TPTP v5.4.0. Released v2.0.0.
-; COMMAND-LINE: --uf-ho --no-check-unsat-cores --no-check-proofs --no-produce-models
+; COMMAND-LINE: --uf-ho --no-check-unsat-cores --no-produce-models
; EXPECT: unsat
(set-logic ALL)
-; COMMAND-LINE:
(set-option :incremental false)
(set-info :source "SAL benchmark suite. Created at SRI by Bruno Dutertre, John Rushby, Maria
Sorea, and Leonardo de Moura. Contact demoura@csl.sri.com for more
-; COMMAND-LINE:
(set-option :incremental false)
(set-info :source "TTA Startup. Bruno Dutertre (bruno@csl.sri.com)")
(set-info :status unsat)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores
(set-logic QF_UFNIA)
(set-info :status unsat)
(declare-fun c (Int) Int)
-; COMMAND-LINE:
; SCRUBBER: sed -e 's/(not (>= (+ .* (\* (- 1) .*)) 1))$/(not (>= (+ TERMA (\* (- 1) TERMB)) 1))/'
; EXPECT: (not (>= (+ TERMA (* (- 1) TERMB)) 1))
(set-logic LIA)
-; COMMAND-LINE:
; EXPECT: (not (>= (+ a (* (- 1) b)) 1))
(set-logic LIA)
(declare-fun a () Int)
-; COMMAND-LINE: --no-check-proofs --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores
(set-logic AUFLIRA)
(set-info :source | Example extracted from Peter Baumgartner's talk at CADE-21: Logical Engineering with Instance-Based Methods.
-; COMMAND-LINE: --no-check-proofs
(set-option :incremental false)
(set-info :source "SAL benchmark suite. Created at SRI by Bruno Dutertre, John Rushby, Maria
Sorea, and Leonardo de Moura. Contact demoura@csl.sri.com for more
-; COMMAND-LINE: --no-check-proofs
(set-option :incremental false)
(set-info :source "SAL benchmark suite. Created at SRI by Bruno Dutertre, John Rushby, Maria
Sorea, and Leonardo de Moura. Contact demoura@csl.sri.com for more
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=8 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=8 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun a () (_ BitVec 8))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic ALL)
(declare-fun A () (Array Int Int))
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
; EXPECT: sat
(set-logic ALL)
(declare-fun A () (Array Int Int))
-% COMMAND-LINE: --uf-ho --full-saturate-quant --ho-elim --no-check-unsat-cores --no-check-proofs
+% COMMAND-LINE: --uf-ho --full-saturate-quant --ho-elim --no-check-unsat-cores
% EXPECT: % SZS status Theorem for partial_app_interpreted_SWW474^2
%------------------------------------------------------------------------------
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores --no-check-proofs
-; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2 --no-check-models --no-check-unsat-cores --no-check-proofs
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=1 --no-check-models --no-check-unsat-cores
+; COMMAND-LINE: --solve-bv-as-int=sum --bvand-integer-granularity=2 --no-check-models --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_BV)
(declare-fun a () (_ BitVec 4))
'# Skipped command line options ({}): unsat cores not supported without proof support'
.format(all_args))
continue
- if not proofs and ('--check-proofs' in all_args
- or '--dump-proofs' in all_args):
+ if not proofs and '--dump-proofs' in all_args:
print(
- '# Skipped command line options ({}): checking proofs not supported without LFSC support'
+ '# Skipped command line options ({}): proof production not supported without LFSC support'
.format(all_args))
continue
'--no-check-models' not in all_args and \
'--debug-check-models' not in all_args:
extra_command_line_args = ['--debug-check-models']
- if proofs and re.search(r'^(unsat|valid)$', expected_output):
- if '--no-check-proofs' not in all_args and \
- '--check-proofs' not in all_args and \
- '--incremental' not in all_args and \
- '--unconstrained-simp' not in all_args and \
- logic_supported_with_proofs(logic) and \
- not cvc4_binary.endswith('pcvc4'):
- extra_command_line_args = ['--check-proofs']
if unsat_cores and re.search(r'^(unsat|valid)$', expected_output):
if '--no-check-unsat-cores' not in all_args and \
'--check-unsat-cores' not in all_args and \
'--incremental' not in all_args and \
- '--unconstrained-simp' not in all_args and \
- not cvc4_binary.endswith('pcvc4'):
+ '--unconstrained-simp' not in all_args:
extra_command_line_args += ['--check-unsat-cores']
if '--no-check-abducts' not in all_args and \
- '--check-abducts' not in all_args and \
- not cvc4_binary.endswith('pcvc4'):
+ '--check-abducts' not in all_args:
extra_command_line_args += ['--check-abducts']
if extra_command_line_args:
command_line_args_configs.append(all_args +