summaryrefslogtreecommitdiff
path: root/src/theory/strings/term_registry.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-06 13:47:22 -0600
committerGitHub <noreply@github.com>2020-11-06 13:47:22 -0600
commit6476c8c75ed7fd584b5afa658dd2c8ba277c59e2 (patch)
treee1d4d934e133d4222e676fafab6f33c37be61d23 /src/theory/strings/term_registry.cpp
parent04dc5b60462dc367fe1b99254c215957006f7b21 (diff)
(proof-new) Miscellaneous changes to strings for proofs (#5362)
This includes all minor remaining changes from proof-new for strings that were not merged to master. This includes mostly minor changes to make proofs pass, including reordering assertions. It also removes some non-standard pedantic checks as these are now subsumed by standard ones. It also makes the strings rewriter slightly more safe when checking arithmetic entailment under assumptions. This code used substitution, which was not safe when quantifiers were involved. This is replaced by capture avoiding substitution here.
Diffstat (limited to 'src/theory/strings/term_registry.cpp')
-rw-r--r--src/theory/strings/term_registry.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/theory/strings/term_registry.cpp b/src/theory/strings/term_registry.cpp
index 76230bcff..8274b7dc0 100644
--- a/src/theory/strings/term_registry.cpp
+++ b/src/theory/strings/term_registry.cpp
@@ -462,11 +462,6 @@ TrustNode TermRegistry::getRegisterTermAtomicLemma(
Trace("strings-lemma") << "Strings::Lemma SK-GEQ-ONE : " << len_geq_one
<< std::endl;
Trace("strings-assert") << "(assert " << len_geq_one << ")" << std::endl;
- if (options::proofNewPedantic() > 0)
- {
- Unhandled() << "Unhandled lemma Strings::Lemma SK-GEQ-ONE : "
- << len_geq_one << std::endl;
- }
return TrustNode::mkTrustLemma(len_geq_one, nullptr);
}
@@ -476,11 +471,6 @@ TrustNode TermRegistry::getRegisterTermAtomicLemma(
Trace("strings-lemma") << "Strings::Lemma SK-ONE : " << len_one
<< std::endl;
Trace("strings-assert") << "(assert " << len_one << ")" << std::endl;
- if (options::proofNewPedantic() > 0)
- {
- Unhandled() << "Unhandled lemma Strings::Lemma SK-ONE : " << len_one
- << std::endl;
- }
return TrustNode::mkTrustLemma(len_one, nullptr);
}
Assert(s == LENGTH_SPLIT);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback