3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Commit graph

306 commits

Author SHA1 Message Date
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
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
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
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
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
841c1c2290 scope precedence of ||, github issue 24
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 12:06:31 -07:00
Nikolaj Bjorner
0e8a0822f1 fix used_vars reported by Daniel J. H, issue #24
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 11:59:27 -07:00
Christoph M. Wintersteiger
5911f788c3 Improved translation from reals to floats (fp.to_real).
Fixes #14
2015-03-29 14:39:47 +01:00
Christoph M. Wintersteiger
0ed16c09f9 Bugfix for fp.isNegative.
Fixes #13
2015-03-29 13:57:11 +01:00
Christoph M. Wintersteiger
690eb8eaca Bugfix for fp.isSubnormal.
Fixes #10
2015-03-29 13:31:44 +01:00
Christoph M. Wintersteiger
fc84461e31 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2015-03-26 14:49:45 +00:00
Christoph M. Wintersteiger
9cbf45f689 Added int to float conversion. 2015-03-26 14:48:55 +00:00
Nikolaj Bjorner
39892aae10 cache datatype util in context to avoid performance bug, codeplex issue 195
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-03-25 11:46:17 -07:00
Christoph M. Wintersteiger
a792790882 Fixed performance problems with enumeration sorts (Codeplex #190). 2015-03-25 18:08:56 +00:00
Nuno Lopes
5676fbbc9e compiler love: make a few symbols static and avoid unneeded relocations
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:13:51 +00:00
nikolajbjorner
7735a40752 fix bug in array simplification. Codeplex issue 173
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-19 07:01:55 -08:00
Christoph M. Wintersteiger
614caaca62 Fix for arrays with arity > 1 in static_features 2015-02-09 16:20:17 +00:00
Christoph M. Wintersteiger
3a8a62fc4c Added array index/element sort detection to static_features 2015-02-09 13:41:45 +00:00
Christoph M. Wintersteiger
0a22f1e0f5 array simplifier fix for a fix...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 18:07:10 +00:00
Christoph M. Wintersteiger
321c181fd8 Bugfix for array_simplifier_plugin. Thanks to codeplex user mtappler for reporting this.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 18:04:23 +00:00
Christoph M. Wintersteiger
0298519b4f Revert "Bugfix for array simplifier"
This reverts commit f9d38a97df.
2015-02-08 17:53:06 +00:00
Christoph M. Wintersteiger
f9d38a97df Bugfix for array simplifier
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 17:49:30 +00:00
Christoph M. Wintersteiger
4792c5fb7c Fixed bugs in static features and smt setup
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 16:53:08 +00:00
Christoph M. Wintersteiger
359c7e4da9 Removed unnecessary variables and added initialization to others to silence warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-07 14:47:26 +00:00
Christoph M. Wintersteiger
941d1063dd FPA rewriter and MPF bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-06 18:48:14 +00:00
Christoph M. Wintersteiger
5e60bcd920 FPA: fixes for the fpa_rewriter to enable model extraction and validation.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-06 16:53:31 +00:00
Christoph M. Wintersteiger
a4c599a435 typo
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-04 18:25:32 +00:00
Christoph M. Wintersteiger
3478cdb756 Added smt kernel setup for QF_FP(BV). Thanks to codeplex user smccamant for reporting this performance problem.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-03 12:30:42 +00:00
Christoph M. Wintersteiger
880cbb936e fixed portability issue 2015-01-21 19:37:49 +00:00
Christoph M. Wintersteiger
826d295981 build fixes and removed unused variables 2015-01-21 19:29:31 +00:00
Christoph M. Wintersteiger
95300e801d fixed build errors and warnings
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 18:24:36 +00:00
Christoph M. Wintersteiger
74e60fc955 disabled debug output
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 15:01:35 +00:00
Christoph M. Wintersteiger
052baaabe4 FPA API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 14:22:35 +00:00
Christoph M. Wintersteiger
c3247d7598 FPA: bugfix for rounding mode bv translation
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-17 16:36:33 +00:00
Christoph M. Wintersteiger
5344d6f3c0 various bugfixes and extensions for FPA
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-15 19:25:49 +00:00
Christoph M. Wintersteiger
caafee0033 Added simplifier plugin for FP 2015-01-15 19:18:18 +00:00
Christoph M. Wintersteiger
e0bc704106 FPA API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-11 18:29:12 +00:00
Christoph M. Wintersteiger
71912830f1 Formatting, mostly tabs
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:44 +00:00
Christoph M. Wintersteiger
0381e4317a Formatting, mostly tabs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:04 +00:00
Christoph M. Wintersteiger
cad841cff4 to_fp_real marked as NIY for now
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:23:13 +00:00
Christoph M. Wintersteiger
33dc6340e1 More renaming mk_value -> mk_numeral
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:23:13 +00:00
Christoph M. Wintersteiger
c0bc2518b0 Renaming for consistency mk_value -> mk_numeral
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:22:44 +00:00
Christoph M. Wintersteiger
c0a027fc80 FPA: Elminated nzero/pzero AST kinds
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:07:47 +00:00
Christoph M. Wintersteiger
0cedd32ea2 More renaming floats -> fpa
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:47:26 +00:00
Christoph M. Wintersteiger
5e5758bb25 More float -> fpa renaming
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:37:18 +00:00
Christoph M. Wintersteiger
dd17f3c7d6 Renaming floats, float, Floats, Float -> FPA, fpa
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:18:56 +00:00
Christoph M. Wintersteiger
5ff923f504 Added fp.to_sbv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-04 19:01:02 +00:00