diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-27 19:53:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 17:53:59 -0700 |
commit | 8ee4da5904e15c7900109a82ec126ce87715e548 (patch) | |
tree | 7548cb80531009655b31ec579853671fb0559d8f /src/theory/arith/arith_utilities.cpp | |
parent | 97f1e4592b617a5682a8e990b4f82d3cbb6ee037 (diff) |
Split transcendental solver to its own file (#4156)
* Attempting to split transcendental function solver
* Clean
* Format
* More
* Format
* Attempt link
* Format
* Fix
* Another refactor
* More
* More
* Rename
* Format
Co-authored-by: Ahmed Irfan <43099566+ahmed-irfan@users.noreply.github.com>
Co-authored-by: Aina Niemetz <aina.niemetz@gmail.com>
Diffstat (limited to 'src/theory/arith/arith_utilities.cpp')
-rw-r--r-- | src/theory/arith/arith_utilities.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/arith/arith_utilities.cpp b/src/theory/arith/arith_utilities.cpp index cbb27197f..cb8524a58 100644 --- a/src/theory/arith/arith_utilities.cpp +++ b/src/theory/arith/arith_utilities.cpp @@ -272,6 +272,12 @@ Node arithSubstitute(Node n, std::vector<Node>& vars, std::vector<Node>& subs) return visited[n]; } +Node mkBounded(Node l, Node a, Node u) +{ + NodeManager* nm = NodeManager::currentNM(); + return nm->mkNode(AND, nm->mkNode(GEQ, a, l), nm->mkNode(LEQ, a, u)); +} + } // namespace arith } // namespace theory } // namespace CVC4 |