Nikolaj Bjorner
b572639fcd
fix #1545
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-17 17:49:33 -07:00
Filipe Gonçalves
e4cab7bc83
Fix #1540 Remove extraneous function
...
Remove extra __deepcopy__ function definition that shadows working implementation.
2018-03-16 22:04:39 +10:00
Bruce Mitchener
878a6ca14f
Fix typos.
2018-03-09 14:30:43 +07:00
Nikolaj Bjorner
eb1122c5cb
delay updating parameters to ensure rewriting in asserted_formulas is applied using configuration overrides. Fixes build regression for tree_interpolation documentation test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-04 21:57:08 -08:00
Nikolaj Bjorner
0199c7515f
fix z3.py
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-26 19:49:13 +09:00
Nikolaj Bjorner
ce1b135ec3
address accessor inconsistencies between - and from #1506
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-26 14:57:17 +09:00
Nikolaj Bjorner
d5f83205ac
Merge pull request #1495 from AngusL/master
...
Fix Python FiniteDomainSortRef.size()
2018-02-25 13:16:17 +09:00
Nikolaj Bjorner
24f56fd74c
try another build fix
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-21 22:29:22 +09:00
Nikolaj Bjorner
7b6f51941c
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-21 22:18:47 +09:00
Nikolaj Bjorner
54b00f357b
fix rule inlining, add WithParams to pass parameters directly to python API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-21 21:57:54 +09:00
Angus Lepper
7b91195770
Fix Python FiniteDomainSortRef.size()
2018-02-20 19:37:17 +00:00
Nikolaj Bjorner
3f7453f5c5
fixing build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:23:31 -08:00
Bruce Mitchener
ae8027e594
Fix typos.
2018-02-01 19:39:43 +07:00
Bruce Mitchener
73b3da37d8
Typo fixes.
2018-01-02 22:48:06 +07:00
Nikolaj Bjorner
f0a30ded7d
add shorthand for translating models #1407
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-01 19:25:09 -08:00
Nikolaj Bjorner
8dadd30db5
add __copy__, __deepcopy__ as alias to translate on same context #1427 . Add generalized Gaussian elimination as an option to first-pass NL solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-01 17:11:43 -08:00
bannsec
d695767f61
Allowing slices and negative index in assertions
2017-12-18 21:48:54 +00:00
Nikolaj Bjorner
399b27fda3
add Python facility for int2bv, fix #1398
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-18 12:20:44 -08:00
Nikolaj Bjorner
5ee30a3cd9
include special functionality in parsers for solvers and opt for additional file formats
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-03 20:00:24 +01:00
Nikolaj Bjorner
92b4b9e7a7
fix error messaging for parsers
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 11:14:00 -08:00
Nikolaj Bjorner
56cc0a9018
remove redundant argument #1364
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-21 15:47:27 -08:00
Nikolaj Bjorner
2597ac6756
fix argument validation to new overflow/underflow functions #1364
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-21 15:44:15 -08:00
Nikolaj Bjorner
18200f55ed
add bit-vector over/underflow checks to Python API, #1364
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-21 15:14:49 -08:00
Christoph M. Wintersteiger
17bcb37cf1
Fixed error handlers in Python API.
2017-11-08 20:09:18 +00:00
Christoph M. Wintersteiger
d2c5e0e76a
Fixed problems arising from unfortunate object destruction order in the Python API. Fixes #989 .
2017-11-08 16:36:47 +00: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
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
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
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