Nikolaj Bjorner
25b974306d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-08 18:44:54 -07:00
Nikolaj Bjorner
f0c63e56f3
make module parameter validation and adjustment more flexible: you can use both module qualifiers and unqualified parameters from the API at local scope
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 16:27:40 -07:00
Ken McMillan
8e08baa6e2
merging changes for duality with array abstraction
2014-10-08 14:01:57 -07:00
Ken McMillan
bbdc8b33e0
prevent creating some useless solvers in duality
2014-10-08 13:56:46 -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
Nikolaj Bjorner
11740dfcee
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-08 13:21:48 -07:00
Nikolaj Bjorner
b8b5c4d5b4
disable blanket validation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 13:21:34 -07:00
Christoph M. Wintersteiger
ca83f47be6
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-08 21:03:01 +01: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
335f9a9be1
add parameter validation to tactic parameters
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 10:55:24 -07:00
Christoph M. Wintersteiger
4370d40dd8
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-08 10:56:20 +01:00
Nikolaj Bjorner
1bb4d52cb8
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-07 15:38:57 -07:00
Nikolaj Bjorner
d6964226c7
indentation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-07 15:38:44 -07:00
Nikolaj Bjorner
4ea3ed7e27
ensure parameters are updated and ensure that global use of auto-config is not obscured by smt.auto-config scoping
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-07 11:00:45 -07:00
Christoph M. Wintersteiger
7fc95aff3c
Minor cleanliness fix.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-07 14:24:28 +01:00
Nikolaj Bjorner
c7e27fb2d9
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-06 15:43:38 -07:00
Nikolaj Bjorner
8438ac6e21
fix internalization bug when bit2bool is applied to numeral
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 15:43:24 -07:00
Christoph M. Wintersteiger
a77694d9a8
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-06 18:10:13 +01:00
Christoph M. Wintersteiger
3222ecd992
tabs
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-06 18:09:40 +01:00
Christoph M. Wintersteiger
30b72809c5
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-06 18:07:07 +01:00
Christoph M. Wintersteiger
929880e4fd
Fix for bogus runtime reports on Linux. Thanks to Vladimir Klebanov for reporting this one.
2014-10-06 18:06:36 +01:00
Nikolaj Bjorner
6d8daacdec
fix check for satisfiability before calling final_check
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 08:35:05 -07:00
Nikolaj Bjorner
7ef1e8a3de
turn friends into inliers to respect namespace for non-operator friends. Operaor friends will stil be in file scope so do not take name-space qualifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 19:04:15 -07:00
Nikolaj Bjorner
18e77bd539
fix qe for undef scenarios, codeplex issue 130
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 18:36:15 -07:00
Nikolaj Bjorner
c6683fd6fa
to fix that timeout of 0 has different interpretations across platforms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 12:27:57 -07:00
Nikolaj Bjorner
cbf470422e
remove extra verbose output
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 12:10:23 -07:00
Nikolaj Bjorner
4e55f04942
use more efficient encoding of shift operations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 10:41:37 -07:00
Ken McMillan
ec48f6d129
working on transforms for duality
2014-10-04 19:07:14 -07:00
Nikolaj Bjorner
6a3f75822d
fix format bug (issue 126) and smaller nits in sat solver (const annotation, disable elimination of external or already elimianted variables)
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-04 18:35:18 -07:00
Ken McMillan
e8985ff33d
working on transforms in duality
2014-10-04 17:17:33 -07:00
Ken McMillan
16445569f1
fix for quantifier abstraction
2014-10-04 16:31:01 -07:00
Nikolaj Bjorner
fbb01f3699
prevent usage that mixes E/e notation with division / for numerals
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 23:58:52 -07:00
Nikolaj Bjorner
47b81d2ec0
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-10-02 14:33:55 -07:00
Nikolaj Bjorner
d03a4bc306
check cancel flag after bcp. BCP returns in incomplete state after it check's the cancel flag. Propagate returns 'true' in this case so that the main loop exits
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 14:33:42 -07:00
Ken McMillan
d54d758f45
getting duality to recover from incompleteness-related failures by restarting
2014-10-01 18:16:21 -07:00
Ken McMillan
c5f17df310
fixing an assert caused by previous change in theory_array_base.cpp
2014-10-01 18:15:33 -07:00
Ken McMillan
301cb51bbb
added restarts options to duality (plus some other disabled features)
2014-09-30 12:42:30 -07:00
Ken McMillan
4763532501
adding compile-time option to replace arrays with maps in smt (define SPARSE_MAP)
2014-09-30 11:25:47 -07:00
Ken McMillan
4c71e9479d
optimizing array final check
2014-09-30 11:21:34 -07:00
Nuno Lopes
97a5e6d326
assorted compiler warnings fixes
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 12:21:56 +01:00
Nuno Lopes
5f59dd1644
revert usage of popcnt is MSVC
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 11:37:11 +01:00
Nikolaj Bjorner
e57e5328ce
configuration update to SAT solver on creation time. Adding random_seed to sat parameters to enable command-line and module mode to work at the level of sat solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 16:42:11 -07:00
Nikolaj Bjorner
9412890c63
trace reason for undef in arithmetic, enable model generation on THEORY incompleteness, but retain undef result
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 12:58:55 -07: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
dca3ce6b24
update documentation on models associated with solver objects
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 01:16:16 -07:00
Nuno Lopes
b243ac945f
hoprfully fix the build for MSVC 2010
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-21 15:20:43 +01:00
Nuno Lopes
d36cecc2f3
make use of count population intrinsincs on MSVC/gcc/clang
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-19 15:51:08 +01:00
Nuno Lopes
61d67dc2de
fix a few compiler warnings
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-18 14:38:40 +01:00
Nikolaj Bjorner
45bfcda16c
remove typename
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-17 16:37:53 -07:00
Nuno Lopes
4717d9d1f4
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-09-17 16:33:45 +01:00
Nuno Lopes
b95f5b0fea
fix bug in the datalog compiler when using negation
...
We now perform negation after filtering with interpreted constraints so that
the table reflects relevant columns which were not being added by the negation
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-17 16:33:27 +01: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
Nikolaj Bjorner
1636e35bf9
fix scope accounting bug in deprecated solver mode
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 20:11:44 -07:00
Nikolaj Bjorner
e8b9c251d5
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-09-16 17:13:20 -07:00
Nikolaj Bjorner
d01ca11001
reduce asymptotic overhead of asserting bounds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 17:13:09 -07:00
Nuno Lopes
79326e24df
fix debug build..
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 15:29:25 +01:00
Nuno Lopes
f7c3559c31
fix a few compiler warnings
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 15:26:01 +01:00
Nuno Lopes
d3570484bb
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-09-16 14:57:22 +01: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
Nikolaj Bjorner
67b802c9d9
fix scope accounting bug and documentation per Konrad's request
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 17:38:34 -07:00
Nikolaj Bjorner
c917c1c53d
reset ast trail on context deletion
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 15:54:42 -07:00
Ken McMillan
13b61d894c
adding recursion bounds to duality
2014-09-09 14:02:46 -07:00
Nikolaj Bjorner
dd62ca5eb3
simplify models
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-06 20:54:16 -07:00
Nikolaj Bjorner
36816e3b2f
clear cache for crash
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-06 19:03:37 -07:00
Nikolaj Bjorner
904ab4bf9e
address race condition in cleanup methods
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-05 11:18:34 -07:00
Nikolaj Bjorner
19a8fa8a25
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-09-04 14:50:19 -07:00
Nikolaj Bjorner
3d9120c745
lifetime of expressions from model follow life-time of model, not the push/pop scope making scope based reference counting error prone
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-04 14:49:58 -07:00
Christoph M. Wintersteiger
23af977d68
Multi-threading bugfix, DLL could be used from other threads before the main thread initializes it.
...
Thanks to user xor88 for reporting this one.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-09-03 17:49:10 +01:00
Nikolaj Bjorner
d90049e9b0
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-08-28 10:18:49 -07:00
Nikolaj Bjorner
8ea7109f8f
update documentation to clarify reference counting policies
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-28 10:18:42 -07:00
Ken McMillan
9b3ef92813
merge with push/pop fixes
2014-08-26 13:50:51 -07:00
Ken McMillan
51aa10821e
fixed pop issue and interpolation proof mode issue
2014-08-26 13:46:53 -07:00
Ken McMillan
da76a51ce6
merging with unstable
2014-08-18 17:14:49 -07:00
Ken McMillan
70a1155d71
fixed duality bug and added some code for returning bounded status (not yet used)
2014-08-18 17:13:16 -07:00
Nikolaj Bjorner
d4ec48219f
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-08-17 21:22:29 -07:00
Nikolaj Bjorner
60054ce469
fix cache bug in PDR reported by Phillip Ruemmer
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-17 21:20:56 -07:00
Christoph M. Wintersteiger
37ed4b04d0
Bugfix: param_refs didn't make it through to smt::solver (smt_params) in some cases.
...
Thanks to user xor88 for pointing us in the right direction!
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-08-14 12:18:00 +01:00
Christoph M. Wintersteiger
0cf1f9c210
.NET API context refcounting; changed int to long to be on the safe side on 64-bit platforms.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-08-14 12:15:58 +01:00
mattpark
5a45711f22
Dealt with some concurrency issues due to concurrent GC.
2014-08-12 10:16:00 +01:00
Nikolaj Bjorner
47ac5c0633
fix doc bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-09 11:41:04 +09:00
Nikolaj Bjorner
3d995648ee
partial fix to model generation bug for non-linear constraints: avoid epsilon refinment for non-shared variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-07 20:39:20 +09: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
Ken McMillan
7bf87e76ea
fix for tree interpolation
2014-08-05 11:11:43 -07:00
Ken McMillan
aa35149700
merging duality/interp changes
2014-05-22 11:52:16 -07:00
Ken McMillan
97c5d09de1
turn off a windows warning
2014-05-21 16:56:18 -07:00
Ken McMillan
06b79cd9ea
trying to prevent quantifier in interp (leq2eq rule)
2014-05-21 13:30:54 -07:00
Nikolaj Bjorner
a1ee1ec4cc
add virtal destructor to qe_sat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-21 12:28:07 -07:00
Nikolaj Bjorner
2ee416fc8f
deal with infinite loop in diagonalization attempt in datatype factory
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-21 10:23:31 -07:00
Ken McMillan
01c6fe39ab
fix markers aliasing bug in Duality::CheckerForEdgeClone
2014-05-20 15:10:31 -07:00
Ken McMillan
b91cca8db9
fix unbound variables bug in duality_dl_interface
2014-05-20 15:10:16 -07:00
Nikolaj Bjorner
e3098b0ec5
add documentation comment to bind_variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-20 11:20:15 -07:00
Nikolaj Bjorner
6f0155ce94
avoid compiler warning
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-20 10:14:40 -07:00
Nikolaj Bjorner
2ca14b49fe
fix AV in debug assertion, address warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-16 09:45:32 -07:00
Nikolaj Bjorner
8b5eb08e2d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-05-15 21:12:41 -07:00
Nikolaj Bjorner
3d1ca5ecc9
make eval cache sensitive to model completion. Bug 110 reported by cipher1024
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-15 21:12:16 -07:00
Ken McMillan
95146483ea
add round-off to farkas resconstruction in interp
2014-05-13 18:15:51 -07:00
Ken McMillan
c9e9b30af6
interp handle mystery arith lemmas
2014-05-13 17:28:22 -07:00
Ken McMillan
669fded98a
fix for possible problem in Farkas proofs in interp
2014-05-13 14:59:09 -07:00
Ken McMillan
aa35f988fc
fix for bad coefficient in AssignBounds
2014-05-13 14:58:32 -07:00
Ken McMillan
b3bd9db4a5
merge duality debug code
2014-05-09 13:18:28 -07:00
Ken McMillan
ddd3867beb
merged interp hack
2014-05-09 13:12:10 -07:00
Ken McMillan
90ca1b95c0
debugging code in duality
2014-05-09 13:10:03 -07:00
Ken McMillan
2a887a7608
interp localization hack
2014-05-09 13:08:39 -07:00
Ken McMillan
a4f3afd70d
added fixedpoint.conjecture_file option
2014-05-05 14:29:54 -07:00
Christoph M. Wintersteiger
581bbb58fb
typo
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-05-02 18:04:32 +01:00
Christoph M. Wintersteiger
8150bd5617
OSX timeout handling bugfix
2014-05-02 17:58:17 +01:00
Christoph M. Wintersteiger
769b2b585b
fixed typo
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-05-02 16:43:32 +01:00
Christoph M. Wintersteiger
a5ce28d82a
bugfix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-25 22:10:53 +01:00
Ken McMillan
f4790a183d
strarting on conjecture printing in duality
2014-04-24 16:18:20 -07:00
Christoph M. Wintersteiger
fb4c07a2ea
FPA refactoring in preparation for FPA support in the kernel.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-23 18:36:38 +01:00
Nikolaj Bjorner
4d2d334999
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-04-23 14:44:03 +02: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
Ken McMillan
2755854c81
trying alternate encoding of distint
2014-04-22 16:42:35 -07:00
Ken McMillan
77f8aa9f6b
fix for quantifiers in interpolants
2014-04-22 13:28:11 -07:00
Ken McMillan
60ef669fbc
removed distinct predicate hack
2014-04-10 17:54:49 -07:00
Ken McMillan
de81db9a3b
fixed several interpolation problems
2014-04-10 17:53:17 -07:00
Ken McMillan
f7d589fc49
changed fixedpoint output format for easier parsing in Boogie
2014-04-10 17:53:00 -07:00
Christoph M. Wintersteiger
52b54f395b
FPA division bugfix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-10 19:33:34 +01:00
Christoph M. Wintersteiger
64bfbb657c
.NET API documentation XML build fix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-09 11:39:05 +01:00
Christoph M. Wintersteiger
a3b89a8af3
.NET API documentation fixes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-09 11:24:42 +01:00
Ken McMillan
58ffffe4d4
hack to filter out Boogie axioms with large "distinct" predicates that cause legacy solver death
2014-04-06 13:01:20 -07:00
Ken McMillan
2b492f04f6
merging duality and interpolation changes
2014-04-04 15:50:59 -07:00
Ken McMillan
bdc7bfde87
duality quantifier simplification fix
2014-04-04 13:10:18 -07:00
Christoph M. Wintersteiger
dee21c6656
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-04-04 17:57:57 +01:00
Christoph M. Wintersteiger
9c052f589d
C API bugfix (Stackoverflow #22864146 )
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-04 17:57:50 +01:00
Ken McMillan
43644fc2cb
g++ pedantry
2014-04-04 01:28:09 +01:00
Ken McMillan
588aeff5c3
merged interpolation and duality changes
2014-04-03 17:11:15 -07:00
Ken McMillan
fc62be37b6
getting rid of DOS line endings
2014-04-03 17:09:11 -07:00
Ken McMillan
9a2fe83697
interpolation fix
2014-04-03 13:20:08 -07:00
Christoph M. Wintersteiger
944dfee008
.NET and Java API Bugfix (Codeplex issue 101)
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-02 19:25:05 +01:00
Christoph M. Wintersteiger
a833c9ac41
Fixed bug (codeplex issue 102)
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-02 17:56:55 +01:00
Ken McMillan
4671c1be41
duality fix
2014-04-01 17:50:48 -07:00
Ken McMillan
6c9483c70a
interpolation fix and improving duality quantifier handling
2014-04-01 17:10:14 -07:00
Nikolaj Bjorner
6f7c9607ea
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-03-28 08:52:04 -07:00
Nikolaj Bjorner
4c95bb4dd9
add 'distinct' to C++ API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-28 08:51:50 -07:00
Ken McMillan
732035bf63
merge interp/duality changes with unstable
2014-03-26 14:48:04 -07:00
Ken McMillan
fcada914d5
duality fix
2014-03-26 14:10:21 -07:00
Ken McMillan
c9fcf7ee96
interpolation fix (add simplify_cong)
2014-03-24 17:21:29 -07:00
Ken McMillan
e3c1cdfe8c
interpolation fix
2014-03-24 11:33:09 -07:00
Christoph M. Wintersteiger
d1376343c7
Compilation fix.
...
gcc 4.3.2 (on debian 5) did not like the definitions of gcd and abs in class rational, so I moved them outside of the class.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-03-22 16:42:11 +00:00
Ken McMillan
fb2caf99e6
duality fix
2014-03-21 10:35:33 -07:00
Nikolaj Bjorner
3e0e9c7f3c
parse also bit-vector constants with set-info. Reported by David Cok
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-19 20:30:58 -07:00
Nikolaj Bjorner
a9e8045071
fix bug reported by Nuno Lopes when query gets sliced
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-19 20:23:54 -07:00
Nikolaj Bjorner
a8fb15ce2c
patch bounds normalization bug found by dvitek
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-19 18:02:05 -07:00
Ken McMillan
3e91037a4d
duality fixes
2014-03-19 12:37:05 -07:00
Ken McMillan
2417b75d8d
duality: added restarts
2014-03-16 15:37:19 -07:00
Ken McMillan
663d110b72
interpolation fix
2014-03-16 12:09:53 -07:00
Ken McMillan
675820ff67
merged changes from linux
2014-03-14 14:51:39 -07:00
Ken McMillan
bbab6be280
duality: eager deduction and history-based conjectures
2014-03-14 13:40:31 -07:00
Ken McMillan
180f55bbda
adding support for non-extensional arrays in duality
2014-03-11 18:20:42 -07:00
Nikolaj Bjorner
4732e03259
filter fresh constants from models
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-07 08:59:27 -08:00
Ken McMillan
83a774ac79
duality fix plus mbqi option
2014-03-04 18:38:08 -08:00
Nikolaj Bjorner
601cb43f78
fix quotation bug reported by Arie Gurfinkel
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-04 17:18:49 -08:00
Nikolaj Bjorner
b1b349f496
modify offset check to accept linear expressions over numerals. Codeplex issue 81
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-02 17:50:29 -08:00
Nikolaj Bjorner
23313e5bdc
remove unsound simplification for rem. Codeplex Issue 76
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-02 17:24:40 -08:00
Nikolaj Bjorner
4f20216677
fix documnetation to say milli-seconds. Issue 84
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-02 17:14:26 -08:00
Nikolaj Bjorner
a00a9fbdfd
generate error on duplicated data-type accessors. Issue 85
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-02 17:10:48 -08:00
Nikolaj Bjorner
e27b7e3038
use size_t for return values from strlen
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-01 11:09:57 -08:00
Nikolaj Bjorner
f2ecd70e65
fix ctx solver simplify, remove horn inequalities
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-01 11:02:18 -08:00
Ken McMillan
19dbd02e13
interpolation fix
2014-02-28 10:38:35 -08:00
Ken McMillan
acf4ad0ab6
use new hashtable implementation in windows
2014-02-27 17:23:19 -08:00
Ken McMillan
08d892bbdb
interpolation fixes
2014-02-27 17:21:47 -08:00
Nikolaj Bjorner
891d0d07f8
removig unsound simplification in ctx-solver-simplify tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-02-27 13:42:40 -08:00
Ken McMillan
4f06b347b3
new hastable implementation for interp/duality
2014-02-25 18:21:06 -08:00
Ken McMillan
ee9907a700
two interpolation fixes
2014-02-25 18:19:50 -08:00
Christoph M. Wintersteiger
4c8bbad8d6
FPA probe bugfix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-25 18:16:28 +00:00
Christoph M. Wintersteiger
b968eb2b8c
FPA probe bugfixes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-25 18:13:16 +00:00
Ken McMillan
7fc011dbb8
interpolation fixes
2014-02-24 11:59:02 -08:00
Christoph M. Wintersteiger
efd0cdc740
bugfix for FPA
2014-02-24 14:01:51 +00:00
Christoph M. Wintersteiger
4a9f12dd34
bugfix for FPA
2014-02-24 13:57:15 +00:00
Christoph M. Wintersteiger
d51d9b18f9
Bugfixes for compilation in Cygwin (WIN32 -> _WINDOWS)
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-21 13:00:02 +00: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
Ken McMillan
75bb495585
merging interpolation and duality changes into unstable
2014-02-19 15:36:16 -08:00
Ken McMillan
65c54b87d0
duality fix
2014-02-19 13:57:27 -08:00
Ken McMillan
c9cf658e7c
interpolation fix for commutativity
2014-02-19 13:56:55 -08:00
Ken McMillan
76fb66314b
interpolation fix for commutativity
2014-02-19 13:56:16 -08:00
Ken McMillan
928d419138
duality fixes
2014-02-17 12:15:11 -08:00
Ken McMillan
cb3dc63e68
some interpolation fixes; make duality a bit more persistent in checking interpolant
2014-02-14 15:52:07 -08:00
Ken McMillan
88ff20a0fb
fixed multiple interpolation bugs
2014-02-14 15:48:38 -08:00
Christoph M. Wintersteiger
e860c65567
bugfix for sign computation in floating-point FMA
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-13 19:33:51 +00:00
Ken McMillan
f45ad4bdc0
disable silly warnings and add needed header for VS
2014-02-10 12:56:39 -08:00
Ken McMillan
ba193a59b1
some interpolation fixes, plus some options to remove features for testing in duality
2014-02-09 16:04:02 -08:00
Ken McMillan
19830bcd33
fix a few warnings
2014-01-28 11:43:00 -08:00
Ken McMillan
466c35100d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-01-28 11:28:24 -08:00
Christoph M. Wintersteiger
f111dd4e61
Fixes for the build on OS X 10.9
2014-01-28 14:00:42 +00:00
Christoph M. Wintersteiger
0e74362ecb
Added support for the final draft of the FPA standard (and fpa2bv conversion).
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-01-24 15:36:23 +00:00
Christoph M. Wintersteiger
73a1dddc45
Bugfixes for the build on new OSX machines (XCode 5.0 on).
2014-01-21 17:06:13 +00:00
Nikolaj Bjorner
d548c51a98
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2014-01-13 13:42:15 -08:00
Nikolaj Bjorner
b80302cfb0
generalize guard in conflict resolution to handle non-equality binary predicates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-13 13:41:47 -08:00
Nikolaj Bjorner
da4793de76
fix type checking bug reported by Nate
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-09 21:14:30 -08:00
Ken McMillan
f380e31a6b
runs the integer/cntrol svcomp examples from the Horn repo
2014-01-09 17:16:10 -08:00
Nikolaj Bjorner
084a6f35eb
fix bug reported by Nuno Lopes: inlining is unsound for negated predicates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-02 17:37:35 -08:00
Nikolaj Bjorner
81f1f7690d
fix bug in rational.is_int32, it recognized rationals; fix bug reported by Anvesh for integer arithmetic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-31 15:59:56 -08:00
Ken McMillan
11ba2178a9
speeding up interpolation in RPFP_caching
2013-12-24 17:20:12 -08:00
Ken McMillan
1b9f1ea6b3
remove assert on failed label compuation in duality
2013-12-23 11:47:24 -08:00
Ken McMillan
673ba137e5
added qe_lite preprocessing pass to duality
2013-12-23 11:17:38 -08:00
Ken McMillan
9e88691c69
optimizing solver performance in duality
2013-12-22 18:33:40 -08:00
Ken McMillan
c98b853917
speeding up Generalize and adding Lazy Propagation
2013-12-21 16:54:35 -08:00
Ken McMillan
48e10a9e2d
dealing with incompleteness issues in duality
2013-12-19 11:05:56 -08:00
Nikolaj Bjorner
0d6220f383
revert is_all_int bugfix
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-18 21:53:04 +02:00
Christoph M. Wintersteiger
8fb36bd41d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-12-17 13:53:28 +00:00
Christoph M. Wintersteiger
0b3e50d6e6
Added #include <algorithm> because VS2013 needs that for std::max/std::min
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-12-17 13:53:10 +00:00
Ken McMillan
a318b0f104
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-12-16 12:45:52 -08:00
Ken McMillan
3588d4a1ca
fixing templates for broken windows hash functions
2013-12-16 12:41:43 -08:00
Ken McMillan
1e8c04be8e
fixing templates for broken windows hash functions
2013-12-15 17:31:46 -08:00
Ken McMillan
852f53d6a6
fixed memory error
2013-12-15 17:24:51 -08:00
Ken McMillan
ebc8a43fe3
removing address dependencies
2013-12-15 15:49:06 -08:00
Nikolaj Bjorner
909408d6ef
fix is_all_int bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-15 10:58:23 +02:00
Ken McMillan
eee2d7af94
porting to linux
2013-12-14 12:47:02 -08:00
Ken McMillan
3764064e98
fixed some address dependencies
2013-12-13 18:41:35 -08:00
Ken McMillan
bb61f17989
trying to figure out address dependency
2013-12-13 13:45:40 -08:00
Ken McMillan
ac9a7748e8
trying to fix address depedency in duality_solver.cpp
2013-12-13 13:14:04 -08:00
Ken McMillan
0449598530
fussing more with qe in duality
2013-12-13 12:41:51 -08:00
Ken McMillan
a410e7f716
fussing with qe in duality
2013-12-13 12:21:54 -08:00
Ken McMillan
bfa6c99676
still trying to get stl to work
2013-12-12 18:38:09 -08:00
Ken McMillan
cf3ede92ad
fix for broken windows stl
2013-12-12 18:35:43 -08:00
Ken McMillan
2cc8132191
still simplifying quantified interpolants in duality
2013-12-12 18:25:24 -08:00
Ken McMillan
ea8eb74744
simplifying quantified interpolants in duality
2013-12-11 16:25:59 -08:00
Ken McMillan
d45cbb3cb2
fixed interpolation bug
2013-12-10 16:26:35 -08:00
Ken McMillan
7043386915
enabled extensional arrays in duality and added theory axioms lazily in GreedyReduce
2013-12-10 14:34:14 -08:00
Ken McMillan
56b3406ee5
added mbqi.id option, working on quantifiers in duality
2013-12-10 11:41:25 -08:00
Christoph M. Wintersteiger
a533527004
exception message clarity fix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-12-05 12:45:14 +00:00
Ken McMillan
a3462ba6aa
working on duality
2013-11-27 17:39:49 -08:00
Ken McMillan
a93f8b04e5
working on duality and quantified arithmetic in interpolation
2013-11-21 18:10:21 -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
Ken McMillan
8320144af0
fixed bug in duality logging
2013-11-15 11:24:02 -08:00
Christoph M. Wintersteiger
31495bb9d9
bugfix for float rounding to integral values for cases where ebits >= sbits
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-15 17:19:41 +00:00
Christoph M. Wintersteiger
c96f7b5a51
bugfixes for float to float conversion
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 20:13:37 +00:00
Christoph M. Wintersteiger
b77d408128
bugfix for FPA rounding when ebits is very small.
2013-11-14 19:11:19 +00:00
Christoph M. Wintersteiger
bb8373151d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 19:09:30 +00:00
Ken McMillan
9cba5d7c85
working on quantifiers in interpolation
2013-11-14 10:18:44 -08:00
Christoph M. Wintersteiger
6a2f987fb7
optimizations for float to float conversions
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 16:56:13 +00:00
Ken McMillan
d73310cfa1
working on eq-propagate rule in interpolation
2013-11-12 12:38:30 -08:00
Ken McMillan
4b0c00969c
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-11-11 16:40:21 -08:00
Christoph M. Wintersteiger
e1a6c5098d
fixed memory leak
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-11 17:33:02 +00:00
Ken McMillan
c4f7b4d0d4
remove duality junk on stdout
2013-11-09 13:55:01 -08:00
Christoph M. Wintersteiger
7a718d4e07
fixed tabs
2013-11-09 14:57:45 +00:00
Christoph M. Wintersteiger
2924b1acc6
fixed reference to _DEBUG
2013-11-09 14:51:44 +00:00
Ken McMillan
0cc5c169a4
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-11-08 16:28:27 -08:00
Ken McMillan
749f95c9d7
handle eq-propagate arithetic rule
2013-11-08 16:18:48 -08:00
Christoph M. Wintersteiger
86f39cd4c1
Changed references to _DEBUG to Z3DEBUG.
...
(gcc does not define _DEBUG for debug builds.)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-08 19:21:55 +00:00
Ken McMillan
763ae0d246
removed debugginf message in interpolation
2013-11-07 17:42:18 -08:00
Ken McMillan
a898bad961
fixed two interpolation bugs
2013-11-07 17:38:39 -08:00
Ken McMillan
b076c152b3
adding farkas axiom to interpolation
2013-11-07 16:17:56 -08:00
Ken McMillan
cf176af48e
looking for more farkas rules in interpolation
2013-11-07 15:40:44 -08:00
Ken McMillan
d9c69f5294
handling commutativity rule in interpolation
2013-11-07 15:13:39 -08:00