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

88 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
7c36846d39 Fixed import problems in z3util.py.
Fixes #67
2015-05-04 14:09:38 +01: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
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
Christoph M. Wintersteiger
5619f6b583 FPA Python API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:18:12 +00:00
Christoph M. Wintersteiger
2f81b6c6b5 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2015-01-15 19:26:03 +00:00
Nikolaj Bjorner
ec384d3d31 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2015-01-15 17:23:37 +05:30
Nikolaj Bjorner
dbc9bebd18 fix instance test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-01-15 16:47:10 +05:30
Christoph M. Wintersteiger
6c971b1301 Beginnings of a Python API for FPA
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-11 18:29:40 +00:00
Christoph M. Wintersteiger
9dd4d7b011 Python API bugfix. Thanks to Tom Ball for reporting this one.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 20:43:26 +00:00
Christoph M. Wintersteiger
d53fdb2848 typo
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 15:36:31 +00:00
Christoph M. Wintersteiger
1244d5a22e Python API: Added BVRedAnd, BVRedOr
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 15:28:52 +00:00
Nikolaj Bjorner
45755bbd14 fix context sensitivity. Codeplex issue 148, thanks to clockish
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-03 08:55:14 +09:00
Christoph M. Wintersteiger
59dfd2abe4 fixed problem with Python 3.4.x complainging of inconsistent use of spaces/tabs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-25 14:54:47 +00:00
Christoph M. Wintersteiger
6a496a1bfb Merge branch 'pure' of https://git01.codeplex.com/z3 into contrib 2014-10-24 21:17:57 +01:00
Christoph M. Wintersteiger
4d62ff6b9f Spelling. Thanks to codeplex user regehr for reporting this.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 15:53:52 +01:00
Nuno Lopes
5adfbe8857 Z3Py: Fix test output
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-22 21:57:57 +01:00
Nuno Lopes
ae6121525a Z3Py: improve readability of Z3 exceptions
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-22 13:57:07 +01:00
Nikolaj Bjorner
f3a04734d9 add pretty printing to SMT2 from solver, add get_id to Ast objects
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-21 12:48:49 -07:00
Nikolaj Bjorner
8cf21dc242 fix tactic parameter checking to API, deal with compiler warnings in api_interp
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 13:47:55 -07:00
Christoph M. Wintersteiger
b03a9d3f0a Interpolation API: infrastructure fixes and .NET API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-08 21:01:27 +01:00
Nikolaj Bjorner
4995ce1fde disable unstable interpolation sample
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 22:22:26 -07:00
Nikolaj Bjorner
a85f1784db updated answer to binary interpolant
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 23:25:39 -07:00
Nuno Lopes
919e0a5ea2 Z3Py: fix bug in substitute() with a list of on variable
e.g. print substitute(Int('x'), [(Int('x'), Int('y'))])

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 14:56:59 +01:00
Ken McMillan
e17af8a5de doc fix for interpolation bindings for python 2014-08-06 15:34:58 -07:00
Ken McMillan
6880945435 added simple interpolation bindings for python 2014-08-06 15:30:24 -07:00
Ken McMillan
5a107095c9 removing python changes for interp 2014-08-06 11:32:51 -07:00
Ken McMillan
ab13987884 working on python interp 2014-08-06 11:16:24 -07:00
Ken McMillan
c007a5e5bd merged with unstable 2014-08-06 11:16:06 -07:00
Nikolaj Bjorner
7d16ed9fdc fix exception class in python API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-04-23 14:13:01 +02:00
Leonardo de Moura
e077fc5cb4 fix(api/python): make sure Z3 compiles using Python3
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-20 14:09:55 -08:00
Nikolaj Bjorner
61385c8489 a.ctx -> self.ctx, thanks gario
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-11-20 09:54:37 -08:00
Christoph M. Wintersteiger
5e6a47e2d3 Example fixed (substitute does not include a rewriter call anymore).
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-09-26 11:35:08 +01:00
Nikolaj Bjorner
c1384095f3 fix default argument identification
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-23 21:44:24 +03:00
Nikolaj Bjorner
fd1f4b9191 fix bugs reported by Anvesh
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-23 04:07:08 +03:00
Nikolaj Bjorner
3b64265c27 remove duplicated definition of is_store and is_select
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-09 09:15:04 -07:00
Leonardo de Moura
d2a2dbb4b6 Merge branch 'unstable' into contrib 2013-06-05 14:00:59 -07:00
Nikolaj Bjorner
622484929f postpone rule flushing dependent on engine
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-05-06 01:33:40 +02:00
Leonardo de Moura
b4d57e0ab1 Merge branch 'unstable' into contrib 2013-02-19 15:35:05 -08:00
Leonardo de Moura
4624919786 Improve html pretty printer for RCF package
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-27 11:24:23 -08:00
Leonardo de Moura
77f58269ed Add html pretty printing mode for RCF package
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-27 10:19:54 -08:00
Leonardo de Moura
799fe073db Add API for extracting numerator/denominator of RCF numerals. Add field to store the original isolating interval before refinement.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-14 18:29:08 -08:00
Leonardo de Moura
742f2b07dd Add support for compact string representation in the RCF API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-14 11:08:32 -08:00
Leonardo de Moura
4879b8db7a Merge branch 'unstable' into contrib 2013-01-13 09:51:22 -08:00
Leonardo de Moura
4cd2998743 Add power operator to C and Python RCF APIs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-10 13:05:47 -08:00