Nikolaj Bjorner
2746528aab
fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-07 17:16:36 -08:00
Nikolaj Bjorner
7c743b3d16
add direct FromFile method to solvers so that model transformations are loaded along with assertions.
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-02 09:25:18 -05:00
Nikolaj Bjorner
3de8c193ea
implementing model updates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-30 16:11:51 -05:00
Miguel Angelo Da Terra Neves
3a05313c67
Python API context fix
2017-10-27 12:36:09 -07:00
Nikolaj Bjorner
c1b243a8e3
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 19:24:30 +01:00
Miguel Angelo Da Terra Neves
6c7a82edce
update to _get_args to convert arguments from AstVector to a python list
...
Signed-off-by: Miguel Angelo Da Terra Neves <t-mineve@microsoft.com>
2017-10-02 09:20:59 -07:00
Nikolaj Bjorner
a625301a41
expose incremental cubing over API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-28 15:05:10 -07:00
Nikolaj Bjorner
260c27d58a
fix python parsing API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-28 01:56:12 -07:00
Nikolaj Bjorner
651587ce01
merge with master branch
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-19 09:39:22 -07:00
Nikolaj Bjorner
2ea9bfaa41
remove unstable sequence interpolant from doc test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 13:34:41 -07:00
Nikolaj Bjorner
93474c0263
aligning simplifier and rewriter for regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-04 09:43:25 -07:00
Nikolaj Bjorner
09386e43e3
doctest fix
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-03 19:07:02 -07:00
Arie Gurfinkel
86db446afa
python spacer-specific API
2017-07-31 17:03:18 -04:00
Nikolaj Bjorner
b482dbd589
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-27 17:02:27 -07:00
Jack Feser
0e45777104
add get_num_scopes to python solver api
2017-07-11 14:42:34 -04:00
Nikolaj Bjorner
2b0106c199
doc fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-09 11:26:27 +02:00
Dennis Yurichev
345c0c796b
Merge branch 'master' of github.com:dennis714/z3
2017-06-19 13:56:52 +03:00
Dennis Yurichev
e547000bcf
typo
2017-06-19 13:52:30 +03:00
Dan Liew
4b517b96df
[CMake] Move CMake files into their intended location so the
...
`contrib/cmake/bootstrap.py` script no longer needs to be executed.
The previous location of the CMake files was a compromise proposed
by @agurfinkel in #461 . While this has served us well (allowing progress
to be made) over time limitations of this approach have appeared.
The main problem is that doing many git operations (e.g. pull, rebase)
means the CMake files don't get updated unless the user remembers to
run the script. This can lead to broken and confusing build system
behaviour.
This commit only does the file moving and necessary changes to
`.gitignore`. Other changes will be done in subsequent commits.
2017-06-12 11:59:00 +01:00
Christoph M. Wintersteiger
0137104683
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-06-06 16:04:45 +01:00
Christoph M. Wintersteiger
83e9c40265
Added __deepcopy__ operators to ref-counted objects in the Python API
2017-06-06 16:04:38 +01:00
Nikolaj Bjorner
4e65c13726
adding lookahead and lemmas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-01 14:49:54 -07:00
Nikolaj Bjorner
b782ec35cc
avoid print statements from assertions when the assertion does not trigger. Stackoverflow question http://stackoverflow.com/questions/44094927/creating-formula-taking-too-much-time-in-z3py
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-21 10:35:59 -07:00
Owlz
aad186f6a5
Fixing z3 binary setup to data_files
2017-05-14 15:25:17 -04:00
Nikolaj Bjorner
a048d74bae
adding interval designator to output of non-optimal objectives, fix python doc test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-26 14:05:33 -07:00
Nikolaj Bjorner
8f798fef1a
fix python interface for string extract to take symbolic indices per bug report from Kun Wei
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-31 08:24:12 -07:00
James Bornholt
559c5e5ae6
z3py: With tactical should not try to use context as a parameter
2017-03-11 16:09:25 -08:00
Nikolaj Bjorner
e02160c674
expose bounds as vector expressions instead of containing ad-hoc expressions. Issue #911
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-24 11:07:40 -08:00
Nikolaj Bjorner
c67cf1653c
use non _ method from z3printer module so to be resilient against how _ is handled as indicator of private functions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-15 08:46:58 -08:00
Nikolaj Bjorner
6fcba26ea6
make parameters accessible from expressions. Issue #896
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-12 09:56:49 -08:00
Nikolaj Bjorner
3a0e9e8f53
add itos/stoi conversion to API. Issue #895
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-11 11:31:13 -05:00
Nikolaj Bjorner
60783e5696
fix regression for z3num
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-01-25 13:26:58 -08:00
Nikolaj Bjorner
4ec4abd7e3
fix test for int-value
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-01-23 13:31:43 -08:00
Nikolaj Bjorner
e23509797a
access parameters from Python API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-01-19 19:28:20 -08:00
Nikolaj Bjorner
8d09b6e4a8
add at-least and pbge to API, fix for issue #864
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-01-09 21:23:00 -08:00
Nikolaj Bjorner
8e6600c6be
add python API for newly exposed regex constructors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 09:09:03 +01:00
Christoph M. Wintersteiger
9053e6eba6
Resolved merge conflicts. Added FPA API input validity checks.
2016-11-15 20:19:40 +00:00
Christoph M. Wintersteiger
a3e4629996
fixed hard-coded version number in setup.py
2016-11-08 15:12:04 +00:00
Christoph M. Wintersteiger
889e5e9388
Bumped version number.
2016-11-07 23:19:59 +00:00
Christoph M. Wintersteiger
d57a2a6dce
Bumped version to 4.5.0
2016-11-07 22:02:30 +00:00
Christoph M. Wintersteiger
253cfeb0af
Added FPA numeral accessors/predicates to Python API
2016-10-27 15:07:34 +01:00
Christoph M. Wintersteiger
ead970b477
Bugfix for Python API.
...
Thanks to John D. Ramsdell for reporting this issue (http://stackoverflow.com/questions/39584779/why-is-the-sort-of-a-bound-variable-forced-not-to-be-a-finite-domain-sort ).
2016-10-26 14:08:33 +01:00
Nikolaj Bjorner
461e88e34c
additional robustness check for incremental sat solver core when it recieves interpreted constants, added PB equality to interface and special handling of equalities to adddress performance gap documented in #755
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-25 20:32:13 -07:00
Christoph M. Wintersteiger
abcb6040d4
Refactored FPA numeral accessors.
2016-10-24 12:53:57 +01:00
Christoph M. Wintersteiger
6b474adc8a
Added accessors to extract sign/exponent/significand BV numerals from FP numerals.
2016-10-24 12:50:05 +01:00
Nikolaj Bjorner
6d3430c689
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-22 21:51:11 -07:00
Nikolaj Bjorner
e32e0d460d
fix at-most-1 constraint compiler bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-22 21:50:45 -07:00
Nikolaj Bjorner
23b9d3ef55
fix at-most-1 constraint compiler bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-22 18:50:16 -07:00
Christoph M. Wintersteiger
5bd00d3f83
Bugfixes for the FPA API
2016-10-21 15:39:02 +01:00
Andrew Dutcher
bd80f7b4d5
fix some issues with the windows build
2016-10-10 15:38:08 -07:00