Distinguish proof mode from unsat core mode (#8062)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 8 Feb 2022 16:55:18 +0000 (10:55 -0600)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 16:55:18 +0000 (16:55 +0000)
commitd2bc889a6df05f0c984983192ed1aca129931df7
treeca0c2f5b0d3c2be3e666f0d7988c48d0b5c07b4a
parentd61130f800aa7307642080f7a12c99b8d9de046f
Distinguish proof mode from unsat core mode (#8062)

Previously, we were making unsat cores mode the source of our configuration for unsat cores and proofs at the same time.

This led to a lot of unnecessary complication in the logic, and would allow bugs e.g. if produce-difficulty but not produce-unsat-cores was enabled.

Fixes cvc5/cvc5-projects#406.
src/options/smt_options.toml
src/prop/minisat/core/Solver.cc
src/prop/theory_proxy.cpp
src/smt/env.cpp
src/smt/set_defaults.cpp
src/smt/solver_engine.cpp
test/regress/CMakeLists.txt
test/regress/regress1/proj-issue406-diff-unsat-core.smt2 [new file with mode: 0644]