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.cpp | |
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.cpp')
-rw-r--r-- | src/theory/theory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp index 9ab20e6cb..5bea454e8 100644 --- a/src/theory/theory.cpp +++ b/src/theory/theory.cpp @@ -424,6 +424,11 @@ void Theory::getCareGraph(CareGraph* careGraph) { d_careGraph = NULL; } +bool Theory::proofsEnabled() const +{ + return d_pnm != nullptr; +} + EqualityStatus Theory::getEqualityStatus(TNode a, TNode b) { // if not using an equality engine, then by default we don't know the status |