summaryrefslogtreecommitdiff
path: root/src/theory/arith/nonlinear_extension.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-10-01 11:57:52 -0500
committerGitHub <noreply@github.com>2017-10-01 11:57:52 -0500
commited8c4f9a3dc6339b6418da4d0673e57e08e5060f (patch)
tree762063acf303bc74b89d12b476f7b490d06b8581 /src/theory/arith/nonlinear_extension.h
parent59de53bf6fd95bcf1e51aeb1ea9ce3dc42af4357 (diff)
Refactor check function in last call effort of non-linear extension. (#1175)
Diffstat (limited to 'src/theory/arith/nonlinear_extension.h')
-rw-r--r--src/theory/arith/nonlinear_extension.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/theory/arith/nonlinear_extension.h b/src/theory/arith/nonlinear_extension.h
index e8cfae1d7..dcaa91dc5 100644
--- a/src/theory/arith/nonlinear_extension.h
+++ b/src/theory/arith/nonlinear_extension.h
@@ -85,9 +85,10 @@ class NonlinearExtension {
// Check assertions for consistency in the effort LAST_CALL with a subset of
// the assertions, false_asserts, evaluate to false in the current model.
- void checkLastCall(const std::vector<Node>& assertions,
- const std::set<Node>& false_asserts,
- const std::vector<Node>& xts);
+ // Returns the number of lemmas added on the output channel.
+ int checkLastCall(const std::vector<Node>& assertions,
+ const std::set<Node>& false_asserts,
+ const std::vector<Node>& xts);
static bool isArithKind(Kind k);
static Node mkLit(Node a, Node b, int status, int orderType = 0);
@@ -203,7 +204,7 @@ class NonlinearExtension {
std::map<Node, unsigned> d_order_vars;
std::vector<Node> d_order_points;
- //transcendent functions
+ //transcendental functions
std::map<Node, Node> d_trig_base;
std::map<Node, bool> d_trig_is_base;
std::map< Node, bool > d_tf_initial_refine;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback