Notice() << "SmtEngine: setting unsatCores" << std::endl;
options::unsatCores.set(true);
}
- if (options::checkUnsatCoresNew())
+ if (options::checkProofs() || options::checkUnsatCoresNew())
{
+ Notice() << "SmtEngine: setting proof" << std::endl;
options::proof.set(true);
}
if (options::bitvectorAigSimplifications.wasSetByUser())
|| options::produceAbducts()
|| options::produceInterpols() != options::ProduceInterpols::NONE
|| options::modelCoresMode() != options::ModelCoresMode::NONE
- || options::blockModelsMode() != options::BlockModelsMode::NONE)
+ || options::blockModelsMode() != options::BlockModelsMode::NONE
+ || options::proof())
&& !options::produceAssertions())
{
Notice() << "SmtEngine: turning on produce-assertions to support "
"division. "
"Try --bv-div-zero-const to interpret division by zero as a constant.");
}
- // !!!!!!!!!!!!!!!! temporary, until proofs are functional
- if (options::proof())
- {
- throw OptionException("--proof is not yet supported.");
- }
if (logic == LogicInfo("QF_UFNRA"))
{
|| id == PfRule::THEORY_PREPROCESS_LEMMA
|| id == PfRule::THEORY_EXPAND_DEF || id == PfRule::WITNESS_AXIOM
|| id == PfRule::THEORY_LEMMA || id == PfRule::THEORY_REWRITE
- || id == PfRule::TRUST_SUBS || id == PfRule::TRUST_SUBS_MAP)
+ || id == PfRule::TRUST_REWRITE || id == PfRule::TRUST_SUBS
+ || id == PfRule::TRUST_SUBS_MAP)
{
// "trusted" rules
Assert(children.empty());