3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00
Commit graph

3648 commits

Author SHA1 Message Date
Alex Horn bd57994f78 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into minimum
Signed-off-by: Alex Horn <t-alexh@microsoft.com>

Conflicts:
	src/test/dl_table.cpp
2015-06-10 20:35:28 +01:00
Alex Horn 132f984d51 Add syntactical min checker
The purpose of this patch is to find out more about the "shape" of
the constraints in our benchmarks. In particular, we would like to
determine whether aggregation and negation, together, appear in
recursive rules.

Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 20:19:14 +01:00
Alex Horn 9b7c5658c8 Ignore min aggregation functions in compiler for now
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 20:06:09 +01:00
Nikolaj Bjorner e0068e4065 C/right on python scripts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 12:01:47 -07:00
Alex Horn e6ffa5d2a5 Enable datalog plugin for AST extensions
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 19:59:57 +01:00
Nikolaj Bjorner d469a16bb8 add more Copyright notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:59:21 -07:00
Nikolaj Bjorner b08ccc7816 added missing Copyright forms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:54:02 -07:00
Alex Horn 140fb7942d Add datalog infrastructure for min aggregation function
This patch adds an instruction to the datalog interpreter and
constructs a new AST node for min aggregation functions.

The compiler is currently still work in progress and depends on
changes made to the handling of simple joins and the preprocessor.

Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 18:14:14 +01:00
Christoph M. Wintersteiger 004bf1471f Added conversion function for Goal to Expr conversion in .NET, Java, ML 2015-06-10 13:17:34 +01:00
Christoph M. Wintersteiger 98f2de3216 Added Z3_fpa_get_numeral_significand_uint64 to .NET, Java, and ML APIs. 2015-06-09 12:57:19 +01:00
Christoph M. Wintersteiger da3243fb07 FPA API bugfix 2015-06-09 12:29:05 +01:00
Christoph M. Wintersteiger eb3d499888 documentation fix 2015-06-09 12:28:52 +01:00
Christoph M. Wintersteiger d39969f0a0 Added extraction of uint64 significand bits from FP numerals. 2015-06-09 12:28:23 +01:00
Christoph M. Wintersteiger 624cc8a874 Bugfixes for FPA API. Thanks to Christian Dernehl for reporting these. 2015-06-09 11:53:43 +01:00
Nikolaj Bjorner fd0c86ec7d remove tests
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-08 08:44:30 -07:00
Christoph M. Wintersteiger f920644892 Parameter fix for the qflia default tactic 2015-06-08 15:37:17 +01:00
Christoph M. Wintersteiger 24a5ff825a Fixed collect_param_descrs in pb2bv tactic. 2015-06-08 15:36:00 +01:00
Christoph M. Wintersteiger 3e1042c680 Exported the quasi-pb probe as per user request. 2015-06-08 15:35:29 +01:00
Nuno Lopes 0997d0d2b5 add new C API function: Z3_finalize_memory()
Useful to debug memory leaks in Z3 and in client applications

Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-07 14:55:15 +01:00
Nuno Lopes 6217804ed5 fix another UB in bit_vector
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-07 12:07:24 +01:00
Nuno Lopes 2733899c01 remove unused var
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-05 09:30:44 +01:00
Nuno Lopes b65d5797f8 optimize expr_safe_replace for when a subexpression has no substitutions
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-03 17:21:01 +01:00
Nikolaj Bjorner 9734407cde disable throttle on unbounded objectives in shared theories. It may violate an interface equality, to fix issue #120
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-02 11:14:59 -07:00
Nikolaj Bjorner 171ef5c8e3 Merge pull request #117 from mschlaipfer/unstable
Missing input format option "-dl" and non-deterministic behaviour in fixpoint engine
2015-06-02 10:48:17 -07:00
Nikolaj Bjorner c09ac5422b fix by anomaly detection, issue #118
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-02 10:42:03 -07:00
Nikolaj Bjorner bb210d225a Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-06-02 10:38:50 -07:00
Nikolaj Bjorner d06207f072 remove ite terms from objectives to synchronize values in tableau with objective value. Fixes part of (three repros) from issue #120
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-02 10:38:22 -07:00
Christoph M. Wintersteiger 81218c0983 Bugfix for fp.fma 2015-06-02 18:36:19 +01:00
Christoph M. Wintersteiger 3f32732ec9 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-06-02 18:31:31 +01:00
Christoph M. Wintersteiger a7b12e6321 Bugfix for fp.fma with sbits <= 3 2015-06-02 18:31:09 +01:00
Nikolaj Bjorner ffff006945 remove old files
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-02 09:15:08 -07:00
Nikolaj Bjorner 7161d6c150 fixes crash from issue #119
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-02 08:48:37 -07:00
Matthias Schlaipfer bc94007207 Fixed non-deterministic behaviour in relation_map
Use of ptr_hash and subsequent iteration led to non-deterministic behaviour in Datalog engine.

Signed-off-by: Matthias Schlaipfer <t-matsch@microsoft.com>
2015-06-02 14:58:31 +01:00
Christoph M. Wintersteiger 17c06199a8 Relaxed BV type checking, follow up to issue #116 2015-06-02 12:46:30 +01: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
Matthias Schlaipfer aee1813056 Added missing input format option "-dl"
Signed-off-by: Matthias Schlaipfer <t-matsch@microsoft.com>
2015-06-02 09:49:08 +01:00
Nikolaj Bjorner d4dd608bad improve type checking and reporting, fixes issue #116
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 14:11:31 -07:00
Nikolaj Bjorner 46a5aeaef1 improve type checking and reporting, fixes issue #116
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 14:10:22 -07:00
Nikolaj Bjorner 168ea2e948 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-06-01 09:22:27 -07:00
Nikolaj Bjorner 6f42cbd325 remove std-out
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 09:22:19 -07:00
Christoph M. Wintersteiger 8d55159dc8 Proper declaration of locals to make clang happy. 2015-05-30 15:23:30 +01:00
Christoph M. Wintersteiger 5ae2dd9c74 Bugfix for QF_FP default tactic. 2015-05-30 15:20:07 +01:00
Christoph M. Wintersteiger fde873ac09 Bugfix for rounding in FP to_sbv.
Fixes #113
2015-05-30 14:50:15 +01:00
Christoph M. Wintersteiger d47832d69c Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-05-30 12:12:37 +01:00
Christoph M. Wintersteiger e240e6c430 Bugfix for variable renamings (fec815b41e) 2015-05-30 12:12:23 +01:00
Nikolaj Bjorner 2d409c6042 revert bug introduced to avoid stack overflow in arrays
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-29 14:32:24 -07: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
Nikolaj Bjorner f8e2fa0337 fixes issue #93
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-29 11:11:13 -07:00
Nikolaj Bjorner 1714182c38 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-05-29 11:08:25 -07:00