Make CVC/API BV div/mod semantics match SMT-LIB (#4997)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 8 Sep 2020 17:33:59 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 17:33:59 +0000 (10:33 -0700)
commit7b36dc4ee0f4fa5c1d73b0f648c74b9736a5f626
treee8b7631755e92c80536e9a146bbd6c5e53a99787
parentbe3543ef7e01eb32aab3161fa2778953fabc988d
Make CVC/API BV div/mod semantics match SMT-LIB (#4997)

This commit changes the semantics of the CVC language and with the
default semantics of the API for `BVUDIV`, `BVUREM`, `BVSDIV`, `BVSREM`,
and `BVSMOD` to match the semantics of SMT-LIB >=2.6. Relatedly, the
commit also adds comments to our API documentation for the different
semantics enabled by the `bv-div-zero-const` option.
NEWS
src/api/cvc4cppkind.h
src/options/bv_options.toml
src/smt/set_defaults.cpp
test/regress/CMakeLists.txt
test/regress/regress0/bv/div_mod.cvc [new file with mode: 0644]