summaryrefslogtreecommitdiff
path: root/docs/theories/sets-and-relations.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/theories/sets-and-relations.rst')
-rw-r--r--docs/theories/sets-and-relations.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/theories/sets-and-relations.rst b/docs/theories/sets-and-relations.rst
index 423a5d4b1..8bce6b72c 100644
--- a/docs/theories/sets-and-relations.rst
+++ b/docs/theories/sets-and-relations.rst
@@ -42,7 +42,9 @@ a `cvc5::api::Solver solver` object.
| | | |
| | | ``Term t = solver.mkTerm(Kind::SET_UNION, X, Y);`` |
+----------------------+----------------------------------------------+-------------------------------------------------------------------------+
-| Intersection | ``(set.minus X Y)`` | ``Term t = solver.mkTerm(Kind::SET_MINUS, X, Y);`` |
+| Intersection | ``(set.inter X Y)`` | ``Term t = solver.mkTerm(Kind::SET_INTER, X, Y);`` |
++----------------------+----------------------------------------------+-------------------------------------------------------------------------+
+| Minus | ``(set.minus X Y)`` | ``Term t = solver.mkTerm(Kind::SET_MINUS, X, Y);`` |
+----------------------+----------------------------------------------+-------------------------------------------------------------------------+
| Membership | ``(set.member x X)`` | ``Term x = solver.mkConst(solver.getIntegerSort(), "x");`` |
| | | |
@@ -76,7 +78,7 @@ Semantics
^^^^^^^^^
The semantics of most of the above operators (e.g., ``set.union``,
-``set.intersection``, difference) are straightforward.
+``set.inter``, difference) are straightforward.
The semantics for the universe set and complement are more subtle and explained
in the following.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback