Skip to content

Commit

Permalink
[proofs] [alethe] Alethe format requires at least THEORY_REWRITE gran…
Browse files Browse the repository at this point in the history
…ularity
  • Loading branch information
HanielB committed Feb 16, 2024
1 parent 8730888 commit 75b2079
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/smt/set_defaults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,15 @@ void SetDefaults::setDefaultsPre(Options& opts)
options::UnsatCoresMode::SAT_PROOF,
"enabling proofs");
}
if (opts.proof.proofFormatMode == options::ProofFormatMode::ALETHE
&& opts.proof.proofGranularityMode
< options::ProofGranularityMode::THEORY_REWRITE)
{
SET_AND_NOTIFY(Proof,
proofGranularityMode,
options::ProofGranularityMode::THEORY_REWRITE,
"Alethe requires granularity at least theory-rewrite");
}
}
if (!opts.smt.produceProofs)
{
Expand Down

0 comments on commit 75b2079

Please sign in to comment.