diff options
author | Alex Ozdemir <aozdemir@hmc.edu> | 2021-01-19 14:25:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 16:25:02 -0600 |
commit | 3c754308f66d92cd4b03d5f159464585c315b528 (patch) | |
tree | 5dccdb0cad66968888b30b652c89ee45a1ac9979 /src/theory/theory.h | |
parent | de79f1ad325036ca90be9144a74606310b5dab9b (diff) |
Implement proofs for arith BRAB lemmas (#5784)
All changes:
Add a Pf type alias for std::shared_ptr to
expr/proof_rule.h
Add an eager proof generator to TheoryArith for preprocessing
rewrites. Right now those are proven with INT_TRUST. Will eventually
fix.
Generate proved lemmas in TheoryArithPrivate::branchIntegerVariable.
Same for TheoryArithPrivate::roundRobinBranch
Add EagerProofGenerator::mkTrustedRewrite.
Add some proofsEnabled methods.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index a9783c19c..0eb3d9a33 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -238,6 +238,13 @@ class Theory { ProofNodeManager* d_pnm; /** + * Are proofs enabled? + * + * They are considered enabled if the ProofNodeManager is non-null. + */ + bool proofsEnabled() const; + + /** * Returns the next assertion in the assertFact() queue. * * @return the next assertion in the assertFact() queue |