Remove bv divide by zero option (#5672)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 15 Dec 2020 20:04:27 +0000 (14:04 -0600)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 20:04:27 +0000 (14:04 -0600)
commit002955063ecf1b4b190717a7a0b2aec79ac7b6d9
tree9a26231f484a76f8373541c67e3c1e7156b12a6a
parentaa1b0e19f9ccfc5338a1d056f03b36c0bec6b4b4
Remove bv divide by zero option (#5672)

This is required to avoid failures in the planned refactoring of check-models.

This removes the SMT-LIB 2.5 semantics option for bvdiv/bvrem.

It still remains to merge the BITVECTOR_UDIV / BITVECTOR_UDIV_TOTAL kinds, calling the total version "BITVECTOR_UDIV", and analogously for UREM.

FYI @barrettcw
12 files changed:
src/options/bv_options.toml
src/smt/set_defaults.cpp
src/theory/bv/theory_bv.cpp
src/theory/bv/theory_bv_rewrite_rules_operator_elimination.h
src/theory/bv/theory_bv_rewrite_rules_simplification.h
src/theory/bv/theory_bv_rewriter.cpp
test/regress/regress0/bv/divtest_2_5.smt2
test/regress/regress0/bv/pr4993-bvugt-bvurem-a.smt2
test/regress/regress0/bv/pr4993-bvugt-bvurem-b.smt2
test/regress/regress1/ho/issue4065-no-rep.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-1-neq.smt2
test/regress/regress1/quantifiers/qbv-test-invert-bvudiv-1.smt2