Throw warning instead of error for non-constant values in check-model stages (#3844)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Sat, 29 Feb 2020 16:28:27 +0000 (10:28 -0600)
committerGitHub <noreply@github.com>
Sat, 29 Feb 2020 16:28:27 +0000 (10:28 -0600)
commitee75ebf00e1aa463656cd192e52d3aec224345c0
tree5b34e2133c6d19f2264e4994379f5dc81209239e
parent31efb570a9d5811fd88a34d4915d7d08c81d13fa
 Throw warning instead of error for non-constant values in check-model stages (#3844)

Fixes #3729 and fixes #3720.

This updates two more stages of check-model (checking whether values assigned to terms are constants and internally checking whether assertions belonging to theories) to only throw warnings when a term/assertion has a non-constant value in the model. This is to accommodate cases where check-model is infeasible.
src/smt/smt_engine.cpp
src/theory/theory_engine.cpp
test/regress/CMakeLists.txt
test/regress/regress0/nl/issue3729-cm-solved-tf.smt2 [new file with mode: 0644]
test/regress/regress0/sep/issue3720-check-model.smt2 [new file with mode: 0644]