projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6adff75
)
Add the first example for z3pycompat (#7722)
author
Gereon Kremer
<gkremer@stanford.edu>
Wed, 1 Dec 2021 16:32:16 +0000
(08:32 -0800)
committer
GitHub
<noreply@github.com>
Wed, 1 Dec 2021 16:32:16 +0000
(16:32 +0000)
This PR adds the first example for the z3py compat API.
docs/examples/lineararith.rst
patch
|
blob
|
history
diff --git
a/docs/examples/lineararith.rst
b/docs/examples/lineararith.rst
index f6914c88e76df1423c384aaacb91266cd0e70925..bcc7b9a997b0bdc451f5b1c3018a52f26146b25a 100644
(file)
--- a/
docs/examples/lineararith.rst
+++ b/
docs/examples/lineararith.rst
@@
-9,5
+9,6
@@
The two checks are separated by using :code:`push` and :code:`pop`.
.. api-examples::
<examples>/api/cpp/linear_arith.cpp
<examples>/api/java/LinearArith.java
+ <z3pycompat>/test/pgms/example_linear_arith.py
<examples>/api/python/linear_arith.py
<examples>/api/smtlib/linear_arith.smt2