Nikolaj Bjorner
a1928a2438
update expected
2020-04-28 15:55:21 -07:00
Nikolaj Bjorner
f9193809ea
add recfun rewriting, remove quantifier based recfun
2020-04-26 12:59:51 -07:00
Nikolaj Bjorner
a884201d62
remove using insert_if_not_there2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-25 15:08:51 -07:00
Nikolaj Bjorner
51eaf84eed
fix #3931
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-12 15:37:18 -07:00
Nikolaj Bjorner
e246f6649e
tidy
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 13:31:48 -07:00
Nikolaj Bjorner
4842c71019
fix #3537
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 00:38:14 -07:00
Nikolaj Bjorner
426e4cc75c
fix #3557
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-03 16:37:59 -07:00
Shaoyuan CHEN
a119953676
z3py: fix And/Or context deduction ( #3687 )
2020-04-03 13:13:51 -07:00
Nikolaj Bjorner
145ec8f248
pick up log configuration consistently #3513
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 10:51:55 -07:00
rashchedrin
b34f72dd00
Fix #3439 , print type of value in exception msg ( #3498 )
2020-03-23 12:36:36 -07:00
Nikolaj Bjorner
0f5cc2ec70
add missing API call for solverInterrupt to Java. Fix #3382
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-18 14:52:59 -07:00
ahumenberger
de9bc930e9
Extract defining components of algebraic number via C and C++ API ( #3321 )
...
* First steps toward adding Julia bindings
* Simplifications
* Streamlining
* Friends of tactic and probe
* Add missing functions
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Changes for CxxWrap v0.9.0
* Wrap enumeration and tuple sort
* Wrap z3::fixedpoint
* Wrap z3::optimize
* Wrap missing functions
* Fix aux types
* Add some missing functions
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 5aab9f9240
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit cfccd7ca2c
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit f24740c595
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 592499eaa0
.
* Checkout current version of pipeline
* Build Julia bindings on macOS
* Extract components of algebraic number
* Add type to C API function name
* Remove blank line
* Typo in doc
* Return Z3_ast_vector containing coefficients
2020-03-17 09:09:02 -07:00
Nikolaj Bjorner
a6fcdecfd7
Add accessor for lower/upper bounds of algebraic numerals #3245
...
The pretty printer for algebraic numerals prints a polynomial root expression, however, polynomial root expressions are not exposed over the API. The C API contains methods for approximating root objects from above and below with arbitrary precision. These functions are now exposed over the C++ API.
Note that algebraic numbers are also disjoint from rcf (real closed field) objects.
Thus, z3 doesn't support adding "pi" as an extension field to algebraic numbers that are used by the nlsat solver. It operats on algebraic numbers formed by roots over polynomial with rational coefficients
2020-03-12 14:23:45 -07:00
ahumenberger
df1b308dd0
Julia bindings ( #3228 )
...
* First steps toward adding Julia bindings
* Simplifications
* Streamlining
* Friends of tactic and probe
* Add missing functions
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Changes for CxxWrap v0.9.0
* Wrap enumeration and tuple sort
* Wrap z3::fixedpoint
* Wrap z3::optimize
* Wrap missing functions
* Fix aux types
* Add some missing functions
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 5aab9f9240
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit cfccd7ca2c
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit f24740c595
.
* Revert "Update azure-pipelines.yml for Azure Pipelines"
This reverts commit 592499eaa0
.
* Checkout current version of pipeline
* Build Julia bindings on macOS
2020-03-10 09:16:34 -07:00
Nikolaj Bjorner
a7b3dfb3af
try now #3202
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-08 14:17:04 +01:00
Nikolaj Bjorner
dd5744a357
fix #3202
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-07 15:12:20 +01:00
Phillip Schanely
a20d4fa362
Use the latin-1 codec instead of ascii in Python bindings.
...
The latin-1 codec maps byte values 0-255 to unicode codepoints 0-255.
The ascii codec only maps the lower half of that range.
2020-03-05 21:52:22 -08:00
Nikolaj Bjorner
f0689546f3
return non-escaped string value for Python #3080
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-26 09:16:23 -08:00
Nikolaj Bjorner
dcd4fff284
fixes to cuts
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-21 18:06:57 -08:00
Nikolaj Bjorner
41ab578593
remove assert, remove brittle pydoc example
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-17 00:35:47 -10:00
Alexey Vishnyakov
fdc27d61e4
Down compatibility for C++03
2020-02-12 10:36:36 -08:00
Nikolaj Bjorner
f161bdaf8f
fix #2898
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-28 10:30:57 -08:00
Olaf Tomalka
876d7c92fb
Added FreshFunction to Python bindings.
...
All other declarations can be done use appropriate Fresh*() call,
or FreshConst() with a desired sort, except Functions.
I've added the abillity to do that in Python bindings using already existing APIs
2020-01-23 10:00:36 -06:00
Nikolaj Bjorner
93d1091ad9
bcd
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-16 20:37:22 -08:00
Nikolaj Bjorner
dc5d8819cd
add const refs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-15 08:56:46 -08:00
Nikolaj Bjorner
773b27296f
translate optimize from c++ API #2859
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-15 04:24:51 -08:00
Nikolaj Bjorner
541658fe02
move to abstract symbols
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-10 12:14:13 -08:00
Nikolaj Bjorner
78a1736bd2
prepare symbols to be more abstract, update mbi, delay initialize some modules
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-10 12:02:08 -08:00
Andrew V. Jones
74d3493d74
Ensuring consistency and correctness of exception messages for BV and FP checks within z3.py
...
Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>
2020-01-10 10:27:05 -08:00
Christoph M. Wintersteiger
580faa72aa
Fix FPA rounding mode for FP string numerals. Fixes #2851 .
2020-01-09 17:11:08 +00:00
Nikolaj Bjorner
a432fd71d3
update ocaml doc per #2843
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 20:26:06 -08:00
Nikolaj Bjorner
f70696d8e7
reduce contention #2842
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 20:10:11 -08:00
Nikolaj Bjorner
2920ee56e9
fix #2837 - expose test function that determines whether an AST is a string literal
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 11:43:16 -08:00
Andreas Humenberger
58f3dce2be
Make z3::exception a subclass of std::exception
2019-11-25 11:55:37 -08:00
Christoph M. Wintersteiger
ba03d99526
Fix forward declaration of fma in C++ API. Fixes #2735 .
2019-11-25 11:32:50 +00:00
Nikolaj Bjorner
53a01a07bd
rename additional build options #2709
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 21:32:35 -08:00
Nikolaj Bjorner
05ad90c976
fix for null symbol #2712
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 12:55:24 -08:00
Nikolaj Bjorner
cb600a9329
consolidate model.compact and model_compress #2704
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-15 11:07:08 -08:00
Nikolaj Bjorner
779183da06
fixing smtfd
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-10 18:23:32 -08:00
Nikolaj Bjorner
984db3047b
deal with warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-08 13:18:56 -08:00
philzook58
ed03c1d9e6
Removed incorrect include directories flag in ocaml META file
2019-10-25 18:05:13 -07:00
Nuno Lopes
423e084cda
remove unused var
2019-10-19 17:36:57 +01:00
philzook58
5eead52cc0
Fixed linkopts -lstdc++ for ocaml bindings
2019-10-17 10:52:38 -07:00
Nikolaj Bjorner
5122b2da7e
add solver.timeout as another entry point #2354
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-16 09:01:11 -07:00
Nicola Mometto
77c3f1fb82
fix ocaml build by moving to Zarith methods
2019-10-14 09:48:51 -07:00
Nikolaj Bjorner
09523a4bca
temporary remove delete from nightly
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-14 01:44:40 -07:00
Nikolaj Bjorner
5a1003f6ed
remove platform dependent copy routine
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-13 23:19:41 -07:00
Nikolaj Bjorner
66339b73f4
update setup.py to include redist x64 #2265
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-13 23:09:43 -07:00
Nikolaj Bjorner
a990e7f02e
add visitor example, fix double conversion
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-11 12:37:26 -07:00
Nikolaj Bjorner
ecba7b3cde
fix #1006
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-09 21:47:43 -07:00