3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 08:35:31 +00:00
Commit graph

2654 commits

Author SHA1 Message Date
Murphy Berzish
4085db9990 recursive descent through all assertions to discover all String terms
set up axioms on these terms to be asserted during propagation
2015-09-26 23:35:23 -04:00
Murphy Berzish
f6affe64d0 deferred addition of basic string axioms
no longer crashes the solver and got our first correct UNSAT!
2015-09-26 21:02:56 -04:00
Murphy Berzish
4d5a0ea53f WIP add axioms 2015-09-26 18:51:02 -04:00
Murphy Berzish
992fff8ba8 set up theory of arithmetic correctly
closes #1
2015-09-10 18:43:14 -04:00
Murphy Berzish
799fd07c85 optimization: return integer consts for strlen() over constant strings 2015-09-07 19:51:52 -04:00
Murphy Berzish
9b04f1570f instantiate length axiom for concatenation 2015-09-07 19:40:25 -04:00
Murphy Berzish
dc86385e7f add Length function to theory of strings 2015-09-07 16:13:48 -04:00
Murphy Berzish
7f0d9157ac at least for now, Concat is no longer associative
this means that we'll always have (Concat a b)
instead of variadic forms
2015-09-06 21:47:57 -04:00
Murphy Berzish
f0c301e920 register Concat function
now reaches str_decl_plugin::mk_func_decl()
2015-09-06 21:05:32 -04:00
Murphy Berzish
8137e022e3 load str decl plugin; recognize String sorted constants 2015-09-06 20:53:08 -04:00
Murphy Berzish
744d2e3c9c pretty-printing of string constants in AST
spec2 looks good now
2015-09-03 01:12:08 -04:00
Murphy Berzish
02345ee5f1 fix string constant representation in parser
spec1 loopback OK
2015-09-03 00:17:05 -04:00
Murphy Berzish
e48ac4a97a create and register string theory plugin
the parser gets a little bit further now!
rejects input with "unexpected character"
2015-09-02 21:12:03 -04:00
Murphy Berzish
1f96e19211 failing test case: SMT2 parse string constants 2015-09-02 18:55:45 -04:00
Murphy Berzish
b30d4f757d ignore Z3-str source 2015-09-02 18:08:58 -04:00
Murphy Berzish
f39773f15b update readme 2015-08-30 15:23:31 -04:00
Nikolaj Bjorner
a7a0deed3f Merge pull request #164 from mlr-msft/master
clarified README with information provided in issue #163.
2015-07-16 10:40:52 -07:00
Michael Lowell Roberts
e5b702b3f1 clarified README with information provided in issue #163. 2015-07-16 10:38:17 -07:00
Christoph M. Wintersteiger
7f6ef0b6c0 Merge branch 'unstable' of https://github.com/wintersteiger/z3 into contrib 2015-04-29 15:40:46 +01:00
Christoph M. Wintersteiger
4e082eae6e Version number adjustment. 2015-04-29 15:16:25 +01:00
Christoph M. Wintersteiger
78cc1e0703 Remove temporary files created during configuration tests. 2015-04-29 15:15:57 +01:00
Christoph M. Wintersteiger
d1aef7facd Merge branch 'contrib' of https://github.com/wintersteiger/z3 2015-04-28 15:20:20 +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
1abeb825a3 Fixed python 3.x problems.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-04-28 14:58:58 +01:00
Nikolaj Bjorner
620c11932b type check distinct operator. fixes #62
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-27 11:10:37 -07:00
Nuno Lopes
f7d9438e7b add failing test for issue #62 (mk_distinct doesnt type check)
Signed-off-by: Nuno Lopes <nlopes@MSRC-3617536.europe.corp.microsoft.com>
2015-04-27 17:44:38 +01:00
Christoph M. Wintersteiger
abe73db702 FP: bugfix for get_some_value which couldn't produce rounding-mode values. 2015-04-25 15:19:48 +01:00
Christoph M. Wintersteiger
4768a360f8 FP: Fix for conversion functions from non-FP 0 to +0.0 even when the rounding mode is ToNegative. 2015-04-25 15:01:20 +01:00
Christoph M. Wintersteiger
b58d3f4335 Bugfix for MPF unpacking 2015-04-25 14:26:18 +01:00
Christoph M. Wintersteiger
8c3fc574d1 comments fix 2015-04-24 15:37:45 +01:00
Ken McMillan
9bff93279f merging into unstable 2015-04-20 12:31:16 -07:00
Ken McMillan
5f37b1d32f fixed interp api bug (github issue #47) 2015-04-20 12:30:15 -07:00
Nikolaj Bjorner
6c1a5390ef fix big-int bug for shift amounts, github issue 44, reported by Dejan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 10:20:06 +02:00
Nikolaj Bjorner
7d88d04514 fix crash reported by Jojanovich, github issue 45'
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 00:55:30 +02:00
Christoph M. Wintersteiger
7e6ab736c0 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-04-17 16:10:13 +01:00
Christoph M. Wintersteiger
f1a1267d4c Added missing notes on fpToIEEEBV in Python. 2015-04-17 16:08:53 +01:00
Ken McMillan
af444beb2e re-indenting interp and duality 2015-04-15 12:22:50 -07: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
80a13977fc fix race condition from cancellation exposed by build regression tests
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-15 05:44:10 +01:00
Christoph M. Wintersteiger
a5036769b3 ML API doc fix 2015-04-13 17:46:18 +01:00
Christoph M. Wintersteiger
2948e47240 Java API doc fix 2015-04-13 17:43:29 +01:00
Christoph M. Wintersteiger
bf00723d37 Updated links in the documentation 2015-04-13 17:37:58 +01:00
Christoph M. Wintersteiger
f993d3df15 Documentation generator bugfixes and updates. 2015-04-13 17:33:26 +01:00
Christoph M. Wintersteiger
dd0d0a9075 Merge branch 'unstable' of https://github.com/wintersteiger/z3 into unstable 2015-04-09 14:53:00 +01:00
Christoph M. Wintersteiger
8862cb4833 Java example: Removed throws declarations for Z3Exception. 2015-04-09 14:52:50 +01:00
Christoph M. Wintersteiger
3cd018bd6c Java API: Removed throws declarations for Z3Exception. 2015-04-09 14:46:59 +01:00
Christoph M. Wintersteiger
b7bb53406f Turned Z3Exception into a RuntimeException such that throws declarations are not needed anymore. Thanks to codeplex user steimann for this suggestion. 2015-04-08 13:16:32 +01:00
Christoph M. Wintersteiger
2f4c923216 Bugfix; InterpolationContext deleted Z3_config objects (inconsistent with non-Interpolation mk_context).
Fixes #25
2015-04-08 13:09:27 +01:00
Christoph M. Wintersteiger
03020b9f96 Build system bugfixes.
Partially fixes #27
2015-04-08 12:09:14 +01:00
Christoph M. Wintersteiger
ba066ff899 Bugfix for build scripts.
Partially fixes #27
2015-04-08 11:54:25 +01:00