summaryrefslogtreecommitdiff
path: root/src/theory/theory_model.cpp
diff options
context:
space:
mode:
authormudathirmahgoub <mudathirmahgoub@gmail.com>2020-05-19 16:24:59 -0500
committerGitHub <noreply@github.com>2020-05-19 16:24:59 -0500
commitc8f149fa83fa16f821f37687fedfa778808809bd (patch)
tree8808ec522b58c0d8273280923b984a72e0b7bb29 /src/theory/theory_model.cpp
parent6bb98062a5578d126db6a3e8cdca083881893b32 (diff)
Renamed operator CHOICE to WITNESS (#4207)
Renamed operator CHOICE to WITNESS, and removed it from the front end
Diffstat (limited to 'src/theory/theory_model.cpp')
-rw-r--r--src/theory/theory_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index 10e57e794..f24e4fc66 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -266,10 +266,10 @@ Node TheoryModel::getModelValue(TNode n) const
if (ita != d_approximations.end())
{
// If the value of n is approximate based on predicate P(n), we return
- // choice z. P(z).
+ // witness z. P(z).
Node v = nm->mkBoundVar(n.getType());
Node bvl = nm->mkNode(BOUND_VAR_LIST, v);
- Node answer = nm->mkNode(CHOICE, bvl, ita->second.substitute(n, v));
+ Node answer = nm->mkNode(WITNESS, bvl, ita->second.substitute(n, v));
d_modelCache[n] = answer;
return answer;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback