Nikolaj Bjorner
0a09d5ff52
check for non-nullness when handling optional info fields for marking. Fixes issue #719
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-23 11:33:40 -03:00
Nikolaj Bjorner
cb2d8d2107
add detection of non-fixed variables to consequence finding
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-30 19:12:41 -07:00
Nikolaj Bjorner
67c6f9be91
have the classifier revert to full arithmetic on non-difference logic, reported on http://stackoverflow.com/questions/38594208/changing-order-of-z3-fixepoint-queries-changes-the-result/38596187#3
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-26 10:32:54 -07:00
Fabian Wolff
6eaab00e83
Fix spelling errors
2016-07-09 11:46:43 +02:00
Nikolaj Bjorner
5b497b6249
reduce set of mainly verbose warnings raised by -Wmaybe-uninitialized and unused variable warnings from release mode builds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-22 20:25:47 -07:00
Nikolaj Bjorner
9253ca9d86
make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-14 08:10:10 -07:00
Nikolaj Bjorner
b11f9050e3
fix bugs exposed from bad indentation warnings, #650
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-13 18:20:25 -07:00
Nikolaj Bjorner
cb29c07f06
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-06-08 13:56:12 -07:00
Nikolaj Bjorner
5253f3a12b
internalize unsupported operations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-08 13:56:01 -07:00
Nikolaj Bjorner
e8d85f91d7
disable filtering on negated tails. Issue #634
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-04 20:08:13 -07:00
Nikolaj Bjorner
19db0c5f2c
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-06-03 10:13:27 -07:00
Nikolaj Bjorner
219b47822b
avoid qsat when formulas are quantifier-free. Go directly to SMT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-03 10:13:16 -07:00
Nikolaj Bjorner
c3f498a640
strengthen support for int.to.str and length reasoning. Issue #589
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-28 12:26:47 -07:00
Nikolaj Bjorner
8c99d3c431
tidy unbound compressor code, add invariant checks
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-28 11:05:26 -07:00
Nikolaj Bjorner
236f1c2a3e
bypass stale rules as part of unbounded compression. Issue #624
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-27 10:31:28 -07:00
Nikolaj Bjorner
18a9b89e30
bypass stale rules as part of unbounded compression. Issue #624
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-27 09:38:23 -07:00
Nikolaj Bjorner
50d334e4e9
fix non-determinism bug in simple joins. Keys were normalized based on pointer equality not object identifier equality. Also some ptr hashtables were used with pointer hashes, and then traversed. reported in issue #619
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-27 07:51:02 -07:00
Nikolaj Bjorner
84ff6fd62a
fix non-determinism bug in simple joins. Keys were normalized based on pointer equality not object identifier equality. Also some ptr hashtables were used with pointer hashes, and then traversed
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-27 07:49:38 -07:00
Christoph M. Wintersteiger
c4610e0423
renamed variable to avoid clashes
2016-05-24 14:37:43 +01:00
Nikolaj Bjorner
3a6e6df4f5
fix unused-but-set-variable warnings reported in #579
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-18 11:02:10 -07:00
Nikolaj Bjorner
96e157e201
fix warnings for unused variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-17 13:54:22 -07:00
Nikolaj Bjorner
e5ca676251
initialize manager to avoid unrelated error message, issue #604
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-15 12:59:42 -07:00
Nikolaj Bjorner
7fb30c38ae
disallow illegal use per #604
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-15 12:49:07 -07:00
Nikolaj Bjorner
d383fd851a
move vector<std::string to std::vector<std::string
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 09:34:27 -07:00
Nikolaj Bjorner
20bbdfe31a
moving remaining qsat functionality over
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-19 15:35:26 -07:00
Nikolaj Bjorner
f175f864ec
merge useful utilities from qsat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-19 12:01:44 -07:00
Nuno Lopes
0b1b5a4328
fix VS x64 warning
2016-03-10 09:03:24 +00:00
Nuno Lopes
8b53628d67
remove a few unused decls
2016-03-09 17:01:06 +00:00
Nikolaj Bjorner
8c4d791f01
use std::vector per Nuno's analysis to fix #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-07 08:08:17 -08:00
Nikolaj Bjorner
6cf76f2113
remove references to _DEBUG use Z3DEBUG instead
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-29 20:23:20 -08:00
Nikolaj Bjorner
8c538fd3f0
setting partial equivalence priority lower so that it doesn't intefere with inlining (partial fix to the fact that inlining will remove such implicit relations). Using short-circuit negation in qe to avoid redundant double negations in intermediary results
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-21 10:31:13 -08:00
Nikolaj Bjorner
94be6fc776
remove passing suffixes into pdr_sym_mux, trying to isolate cause of issue #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 19:25:52 +00:00
Christoph M. Wintersteiger
c01f0323c3
Merge branch 'lackr' of https://github.com/MikolasJanota/z3 into MikolasJanota-lackr
2016-02-10 14:26:04 +00:00
Nikolaj Bjorner
cacfa0cb98
fix build, likely addressing issue #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 22:58:08 +00:00
Nikolaj Bjorner
5ce85aba40
removing const qualifiers, perhaps this helps for #420 and adding assert to enable Clang analysis earlier for issue #440
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 22:23:37 +00:00
Christoph M. Wintersteiger
808eb664cb
Merge branch 'master' of https://github.com/Z3Prover/z3 into lackr
2016-02-04 18:27:19 +00:00
Christoph M. Wintersteiger
4e37821dde
"canceled" -> Z3_CANCELED_MSG
...
Relates to #431
2016-02-04 13:52:43 +00:00
Christoph M. Wintersteiger
35c21779e3
Merge branch 'master' of https://github.com/Z3Prover/z3 into lackr
2016-02-02 11:29:35 +00:00
Nikolaj Bjorner
2115111dac
update display method for datalog to use predicates, throttle use of extensionality
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 20:23:06 -08:00
Mikolas Janota
094d357b07
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-13 12:10:36 +00:00
Nikolaj Bjorner
01c3e02e99
fix query for non-relational engines
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 07:57:10 -08:00
Mikolas Janota
613edfc107
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-12 13:19:29 +00:00
Mikolas Janota
b26e4b1516
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-11 18:27:47 +00:00
Nikolaj Bjorner
131f9e2247
change queries to take function names instead of arbitrary predicates. This allows to bypass issues with having arbitrary query expressions compiled in arbitrary ways to auxiliary predicates where names of bound variables are reshuffled. See also Stackoverflow http://stackoverflow.com/questions/34693719/bug-in-z3-datalog
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-10 20:43:41 -08:00
Nikolaj Bjorner
082dcda7f7
Fix Issue #405 : Horn normal form ignores implication
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-10 19:16:59 -08:00
Nikolaj Bjorner
fc4260e018
enable Horner evaluation also for mixed-integer constraints now that ast-manger inserts coercions on the fly. Avoids loop for issue #399 , but with this alone results in unknown status
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 10:01:44 -08:00
Mikolas Janota
743a59254e
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-07 16:39:43 +00:00
Nikolaj Bjorner
3f040dbd23
remove std::cout usage
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 22:26:54 -08:00
Nikolaj Bjorner
0c03a87c82
merge with master
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 14:08:29 -08:00
Nikolaj Bjorner
876fd1f7ba
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-01 09:00:21 -08:00
Nikolaj Bjorner
38865ffe0d
program the simple joints a bit more defensively per bugs reported by Sean McLaughlin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-31 10:42:41 -08:00
Mikolas Janota
3dbc307ecd
Setting up the lackr branch.
2015-12-16 20:10:14 +00:00
Nikolaj Bjorner
ee0dbf34f0
add completion (introducing negative root function symbols) to address regression introduced when fixing unsound handling of negative roots
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-16 00:49:06 +02:00
Nikolaj Bjorner
43bc6caa55
fix warning messages
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-15 04:11:11 +02:00
Nikolaj Bjorner
72883df134
fix build, add seq features
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-13 16:02:17 -08:00
Nikolaj Bjorner
2a051719d8
cleanup deprecated critical sections, fix cancellation for par_or_else tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 09:43:00 -08:00
Nikolaj Bjorner
1aea9722cb
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:56:23 -08:00
Nikolaj Bjorner
baee4225a7
reworking cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:21:24 -08:00
Nikolaj Bjorner
981f8226fe
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 13:36:47 -08:00
Nikolaj Bjorner
32b6b2da44
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 13:13:11 -08:00
Nikolaj Bjorner
61dbb6168e
cleanup cancelation logic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 12:35:35 -08:00
Nuno Lopes
d9cd01f3f7
remove a few leftovers from min aggregation cleanup
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-12-09 09:28:17 +00:00
Nikolaj Bjorner
4bbe1d4674
remove unused min-aggregate
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-04 09:23:36 -08:00
Nikolaj Bjorner
b3e8020c88
bind variables in queries generated from Horn tactic to enforce that rule formulas don't contain free variables. Issue #328
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-01 14:47:33 -08:00
Nikolaj Bjorner
c8f09fa955
fix for unsound results reported in #313
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-16 22:59:07 -08:00
Nikolaj Bjorner
b8e4871d9e
disable bottom-up coi filtering when relations contain facts. bug reported by SeanMcL
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-15 10:53:00 -08:00
Nikolaj Bjorner
3a3e1796e2
Fix bug #311 . update tabs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-14 18:42:11 -08:00
Nikolaj Bjorner
f537167080
Fix bug #311
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-14 18:41:16 -08:00
Nikolaj Bjorner
2912c355e2
remove reinterpret_cast. Issue #229 , issue #24
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-04 10:54:19 -07:00
Nikolaj Bjorner
7768aa5487
compiler warning by daniel j h
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-04 10:35:48 -07:00
Nikolaj Bjorner
9b3e242990
adding rlimit resource limit facility to provide platform and architecture independent method for canceling activities
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-28 13:37:59 -07:00
Christoph M. Wintersteiger
f3441c6a9b
tabs and indentation
2015-09-17 13:25:22 +01:00
Nikolaj Bjorner
f94152c857
fix build warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-15 10:54:01 +02:00
Nikolaj Bjorner
44105b7aeb
reduce verbosity level of error message when equivalence checking fails
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-09 08:32:57 -07:00
Nikolaj Bjorner
a3c43c34fb
change default behavior of solver pretty printer to include declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 18:57:11 +02:00
Christoph M. Wintersteiger
0cd406ca0b
Fixed initialization order and unused variable warnings.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-07-30 09:09:13 +01:00
Henning Guenther
5fdc104f82
Improve filter_rules performance
...
Perform lookup and insert in one operation to avoid duplicate work.
2015-07-23 16:08:09 +01:00
Nikolaj Bjorner
a9a5a69b73
remove double underscores
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-09 13:31:22 -07:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Nuno Lopes
5703abd3f1
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-07-08 13:39:26 +01:00
Nuno Lopes
8edd551f20
remove uneeded calls to datalog_context::get_rules(), since it can be expensive.
...
thanks to Henning Guenther for finding this.
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-07-08 13:39:15 +01:00
Nikolaj Bjorner
940fed16e1
enforce stringstream formatting to avoid default format routine. fixes issue #149
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-06 09:11:52 -07:00
Nikolaj Bjorner
3fd5d0eaba
handle variables and quantifiers, fixes issue #150
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-06 08:34:54 -07:00
Nuno Lopes
1f619fd960
cleanup warnings from new dataflow engine
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-30 08:47:37 +01:00
Nikolaj Bjorner
769127d531
add dummy file to fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-29 15:10:38 -07:00
Henning Guenther
c7e96d897a
Replace cone-of-influence filter with generalized dataflow-engine
...
Signed-off-by: Henning Guenther <t-hennig@microsoft.com>
2015-06-29 10:50:51 +01:00
Nuno Lopes
f29d82858f
make check_relation::check_equiv() exit only when solver return SAT (ie, avoid false-positives with unknowns)
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-24 17:13:24 +01:00
Nuno Lopes
30eb461e01
disable debug output from check_relation
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-24 17:06:22 +01:00
Nuno Lopes
5cc8c8bde6
udoc: micro optimization for compiler_guard
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-24 17:06:21 +01:00
Nikolaj Bjorner
03034e7b33
disable bottom-up COI on rules with negated predicates. Fixes issue #140
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:19 +01:00
Nikolaj Bjorner
3de2a70a48
move functionality from qe_util to ast_util
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:17 +01:00
Nikolaj Bjorner
158a5dd2db
add count of memory allocations and way to limit allocations globally. Fix purification in nlsat_smt to fix regressions on QF_UFNRA
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:12 +01:00
Nikolaj Bjorner
22c0a593e7
deal with unit test failure cases, fixes #132 #133
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:08 +01:00
Matthias Schlaipfer
37cb5b9597
Fixed a bug in udoc_relation's join project
...
An optimization was applied in too many cases and led to wrong results.
Signed-off-by: Matthias Schlaipfer <t-matsch@microsoft.com>
2015-06-24 17:06:06 +01:00
Nikolaj Bjorner
8fc6789955
remove spurious print statement
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:06 +01:00
Nikolaj Bjorner
1a5327e427
strengthen quantifier check for PDR (and other engines) that don't handle quantified predicates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 17:06:05 +01:00
Nikolaj Bjorner
ca31c979fe
re-enable transformations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-11 12:00:21 -07:00
Nikolaj Bjorner
868b430b8b
use scoped pointers instead of explicit deallocation (robust under exceptions)
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-11 10:19:29 -07:00
Alex Horn
8c097044e8
Add basic compiler support for min aggregation function
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-11 16:23:26 +01:00
Alex Horn
c8a123b7dd
Disable a few rule transformations
...
For this prototype, we need to disable three rule transformations,
namely coi_filter, similarity_compressor, rule_inliner. But
disabling the inliner causes problems with the tracer in the
datalog interpreter. Since a new proprocessor is underway, we
skip the problematic trace outputs for now.
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-11 16:16:47 +01:00
Alex Horn
565c0f785f
Fix memory leaks
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-11 09:20:52 +01:00
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
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
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
Nikolaj Bjorner
6f42cbd325
remove std-out
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 09:22:19 -07:00
Nikolaj Bjorner
ed7e0e11a8
n/a
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-28 20:55:13 -07:00
Nuno Lopes
b10f79a941
dl_compiler: minor simplifications
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-27 17:07:18 +01:00
Nikolaj Bjorner
f100d4feda
hoist out basic union find
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-21 11:10:42 -07:00
Nikolaj Bjorner
28f6adf79e
disable hybrid relations pending overhaul/deletion of product relations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-20 09:21:55 -07:00
Christoph M. Wintersteiger
32fb679066
tabs
2015-05-19 11:01:15 +01:00
Nikolaj Bjorner
203c5015c8
fix debian amd64 warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-18 15:17:21 -07:00
Nuno Lopes
d8dc86f558
Merge branch 'unstable' of https://github.com/mschlaipfer/z3 into unstable
2015-05-18 16:38:19 +01:00
Nikolaj Bjorner
5632900f35
fix gcc compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 12:04:10 +01:00
Nikolaj Bjorner
64bd62b17e
fix gcc compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 11:56:04 +01:00
Nuno Lopes
6c22edc988
fix assorted compiler warnings
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-16 11:44:58 +01:00
Matthias Schlaipfer
c82319b358
Refactor count_vars and count_rule_vars
...
ast_manager m was not used
2015-05-14 17:04:38 +01:00
Alex Horn
e576ca50bf
Fix typo in documentation
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-05-12 14:24:59 +01:00
Alex Horn
efaba8eb40
Fix negation in documentation
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-05-12 14:22:32 +01:00
Alex Horn
0f78238b7e
Fix typo in documentation
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-05-12 13:18:51 +01:00
Nuno Lopes
c2ef566ddc
Merge pull request #81 from ahorn/opt
...
Fix g++ compile-time error
2015-05-12 10:44:28 +01:00
U-EUROPE\t-alexh
b882a94f6a
Fix g++ compile-time error
...
Signed-off-by: U-EUROPE\t-alexh <t-alexh@microsoft.com>
2015-05-12 10:23:25 +01:00
Nikolaj Bjorner
c96c4c7af7
Merge branch 'opt' of https://github.com/Z3Prover/z3 into opt
2015-05-11 17:12:04 -07:00
Nikolaj Bjorner
bf6ab3fc03
local state
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-11 17:11:52 -07:00
Nikolaj Bjorner
e53462c1c1
update ddnf experiment code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-11 17:11:21 -07:00
Nikolaj Bjorner
839e3fbb7c
add ddnf tests, add facility to solve QF_NRA + QF_UF(and other theories) in joint solver to allow broader use of QF_NRA core
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-09 19:40:34 -07:00
Nikolaj Bjorner
9377779e58
merge with unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Nikolaj Bjorner
ffc3a36dcb
checked ite-expressions as shared for bounds detection
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-23 19:59:33 +02:00
Ken McMillan
af444beb2e
re-indenting interp and duality
2015-04-15 12:22:50 -07:00
Nikolaj Bjorner
9978cba5a8
Codeplex issue 191: inconsistent results from PDR engine. The report exposed bugs in the implementation of the priority queue leaving unexplored leaves durin search. The priority queue has now been revised to address the exposed bugs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 16:27:15 -07:00
Nikolaj Bjorner
52619b9dbb
pull unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Nikolaj Bjorner
9c55be14fb
change print parameters to use hyphen instead of namespace dots
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 10:56:40 -07:00
Nikolaj Bjorner
10cdbb881f
enable canceling simplex on interrupt, investigating PDR inconsistency
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-25 12:13:57 -07:00
Christoph M. Wintersteiger
b76d588c28
Renamed the soft_timeout option to just timeout.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-21 16:10:30 +00:00
Nikolaj Bjorner
64e2011d42
fix crash in explanation generation. Codeplex issue 181
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-24 17:34:38 -08:00
Nikolaj Bjorner
dffb0ff844
Merge branch 'opt' of https://git01.codeplex.com/z3 into opt
2015-02-24 17:04:01 -08:00
Nikolaj Bjorner
b8fbc32689
fix crash in explanation generation. Codeplex issue 181
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-24 17:03:34 -08:00
nikolajbjorner
fcb4962016
add patch suggested by Arie Gurfinkel
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-23 11:18:24 -08:00
Nuno Lopes
d3fb5f2a4c
fix misc compiler warnings
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-15 11:53:24 +00:00
Nuno Lopes
0c4d82de58
datalog: optimize previous commit
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 11:49:58 +00:00
Nuno Lopes
5548ecc853
Datalog: fix bug with the following 2 scenarios:
...
A(#x00) :- not B().
A() :- not B().
The first case can be further optimized, but committing this for correctness
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 11:29:49 +00:00
Nuno Lopes
2444440edc
DoC: implement get_size_estimate_bytes()
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 11:28:57 +00:00
Nuno Lopes
c0e0b39a1d
Datalog: save memory in the compiler by using a union
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-02 10:34:19 +00:00
Nuno Lopes
6017dcace3
datalog: fix compilation for rules like a(X) :- not b(X).
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-29 20:41:22 +00:00
Nuno Lopes
4be2f608f1
Datalog: make the compiler reuse registers in simple cases.
...
this also allows some code simplification
dl_compiler.cpp | 133 +++++++++++++++++++-------------------------------------
dl_compiler.h | 16 +++---
2 files changed, 54 insertions(+), 95 deletions(-)
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-29 13:00:44 +00:00
Nuno Lopes
2e083ab9c2
DoC: specialize union for the case dst=empty and/or delta=empty
...
this avoids O(n^2) insert and becomes O(n)
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-29 08:50:12 +00:00
Nuno Lopes
1701af9dc9
DoC: fix fast_empty() for tables without columns
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-01-28 11:38:26 +00:00
Nuno Lopes
9e447281ed
Datalog: fix bug in compilation of negated queries that referenced vars not in the head.
...
We will now first add unbounded columns for negation and for filtering
do filter_negation, and finally filter_interpret(_project)
2015-01-27 14:21:34 +00:00