3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00
Commit graph

598 commits

Author SHA1 Message Date
Nikolaj Bjorner
e9315af0d9 remove tabs from z3.py to fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-08 04:22:44 -08:00
Nikolaj Bjorner
4685a5f8ba add array-ext to externally exposed functions to enable interpolants with arrays to be usable in feedback loops with Z3. Addresses one issue raised in #292
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-07 16:42:13 -08:00
Nikolaj Bjorner
b4cb51cdb3 working on Forking/Serializing a z3 Solver #209
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-06 17:29:24 -08:00
Nikolaj Bjorner
63ea2c4d8f Merge pull request #295 from pazz/AstRef-hash
add __hash__ to AstRef
2015-11-05 16:20:10 -08:00
Patrick Totzke
d4242e16c5 add __hash__ to AstRef
AstRef objects needs to be hashable in order
to be used as keys in python dictionaries
2015-11-05 16:28:02 +00:00
Nikolaj Bjorner
b75780ce2b Merge pull request #280 from NikolajBjorner/master
Add PB operators to Python API
2015-10-30 14:15:24 -07:00
Nikolaj Bjorner
d83f8d08f3 Merge pull request #276 from kenmcmil/issue260
issue #260 -- support timeout in Z3_compute_interpolant
2015-10-28 20:30:15 -07:00
Ken McMillan
d4dff70f39 issue #260 -- support timeout in Z3_compute_interpolant 2015-10-28 18:02:14 -07:00
Nikolaj Bjorner
559f373588 adding PB operators to Python API. remove tabs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-28 17:13:24 -07:00
Nikolaj Bjorner
7f5495b134 adding PB operators to Python API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-28 17:09:42 -07:00
Christoph M. Wintersteiger
15be8d424c Fixed Python 3.x issues. 2015-10-28 14:19:23 +00:00
Christoph M. Wintersteiger
97d97f4694 Fixed Python 3.x doctest problems 2015-10-27 16:39:07 +00:00
Christoph M. Wintersteiger
7324ef7c39 Fixed FP function names in Python API.
Fixes #264
2015-10-27 12:02:38 +00:00
Christoph M. Wintersteiger
df1c84c182 fixed indentation (Python 3.x problem) 2015-10-26 16:08:55 +00:00
Christoph M. Wintersteiger
e2f2708a9c Fixed array default operator 2015-10-19 21:12:43 +01:00
Christoph M. Wintersteiger
9d505ec7ff Merge branch 'unstable' of https://github.com/jmgrosen/z3 into jmgrosen 2015-10-19 14:53:06 +01:00
Christoph M. Wintersteiger
bd3775e878 Merge branch 'master' of https://github.com/npricci/z3 into npricci-master
# Conflicts:
#	src/api/python/z3.py
2015-10-19 14:22:56 +01:00
Christoph M. Wintersteiger
b9f66c545a Merge pull request #11 from Confusion/patch-1
Corrected typo: interger -> integer
2015-10-19 14:07:02 +01:00
Christoph M. Wintersteiger
95dea3922d Merge branch 'pure' of https://github.com/Z3Prover/z3
Conflicts:
	src/api/ml/z3.ml
	src/api/ml/z3.mli
	src/api/python/z3util.py
2015-10-02 19:47:24 +01:00
Nikolaj Bjorner
1f9d5249a3 fix build break regarind z3test.py and added rlimit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-28 14:05:57 -07:00
Nuno Lopes
980a0e97f8 Python 3 compat for z3.py; patch by Sarah Winkler
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-09-10 09:32:45 +01:00
Nikolaj Bjorner
eb5af100bd adding optimize bindings for ML, adding get_reason_unknown to optimize, mentioned in pull request issue #188, second edition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-09 17:49:20 +02:00
Nikolaj Bjorner
0e886cfe5e add default constructor and tester to python API, fixes issue #168
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-28 22:54:37 -03:00
vhalros
68c086c589 Added default operator to array interface. 2015-07-24 15:24:23 -04:00
Nikolaj Bjorner
ed806b67fb update unit tests for num allocs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-22 13:20:59 +02:00
Nikolaj Bjorner
3af545784b add missing copyright
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-17 12:48:16 -07:00
Christoph M. Wintersteiger
c7fd74e8ad Fixed FPA Python doctest 2015-06-02 12:45:55 +01:00
Christoph M. Wintersteiger
d6398c4fdc Fixed FPA Python doctest 2015-06-02 11:59:55 +01:00
Nikolaj Bjorner
894d6cb11b fix build break to support new statistics items
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-29 13:38:54 -07:00
John Grosen
64b46f2310 Fix the Python FPRef.__lt__ implementation 2015-05-25 00:31:04 -07:00
Nuno Lopes
8ff7735a20 python 3 fixes
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-19 13:47:43 +01:00
Christoph M. Wintersteiger
7232877d92 tabs, indentation 2015-05-19 11:01:27 +01:00
Nikolaj Bjorner
ab5022888c Merge branch 'opt' of https://github.com/Z3Prover/z3 into unstable 2015-05-14 12:11:17 +01:00
Nikolaj Bjorner
901d8a9f5b change exception test to take into account new coercion operation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-08 00:38:26 -07:00
Nikolaj Bjorner
ad39811dc0 allow coercion from Boolean to Int/Real, fixes #78
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:36:37 -07:00
Nikolaj Bjorner
45eda4bee7 allow coercion from Boolean to Int/Real, fixes #78
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:33:36 -07:00
Nikolaj Bjorner
99861ffc32 allow coercion from Boolean to Integers and reals
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:32:02 -07:00
Christoph M. Wintersteiger
7c36846d39 Fixed import problems in z3util.py.
Fixes #67
2015-05-04 14:09:38 +01:00
Nikolaj Bjorner
9377779e58 merge with unstable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Christoph M. Wintersteiger
1d49f61b9a Merge branch 'unstable' of https://github.com/Z3Prover/z3 into contrib
Conflicts:
	README
	src/api/ml/build-lib.sh
	src/api/ml/z3.ml
	src/api/ml/z3.mli
	src/api/ml/z3_stubs.c
2015-04-28 15:19:08 +01:00
Christoph M. Wintersteiger
f1a1267d4c Added missing notes on fpToIEEEBV in Python. 2015-04-17 16:08:53 +01:00
Christoph M. Wintersteiger
e1303e1eab Python API: Fixed expression types for floating point conversion functions.
Partially fixes #39
2015-04-15 12:07:53 +01:00
Nikolaj Bjorner
52619b9dbb pull unstable
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Ivo Wever
d4ba3a8864 Corrected typo: interger -> integer 2015-03-28 23:08:46 +01:00
unknown
f020b7c7b8 Merge branch 'opt' of https://git01.codeplex.com/z3 into opt 2015-01-28 17:54:26 -08:00
Christoph M. Wintersteiger
8cd69acaca build fix 2015-01-23 11:34:08 +00:00
Christoph M. Wintersteiger
c3ff342bea Bugfixes for the Python FPA API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-22 18:31:30 +00:00
Christoph M. Wintersteiger
079204d1aa FPA Python API cosmetics
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 14:22:47 +00:00
Jens Steinhauser
7317ceb2c9 Use python3 compatible syntax.
Tuple parameter unpacking was removed from python3, see PEP 3113.
2015-01-21 01:28:22 +01:00
Jens Steinhauser
e5b6b6d1d3 Replace tabs with spaces in python files. 2015-01-21 00:58:03 +01:00