Christoph M. Wintersteiger
4546915238
Fixed iterator invalidation bug in theory_arith_nl.
...
Indirectly relates to #740
2016-10-18 17:17:19 +01:00
Christoph M. Wintersteiger
9fef51553c
Whitespace
2016-10-18 17:15:43 +01:00
Nikolaj Bjorner
948a1e600e
undo breaking commit
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-18 10:27:47 -04:00
Christoph M. Wintersteiger
5ac3bb04ee
Tabs
2016-10-18 13:18:59 +01:00
Nikolaj Bjorner
edaec81aa2
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-17 14:53:13 -04:00
Nikolaj Bjorner
9e4450228e
adding unit test for enumeration types
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-17 14:52:37 -04:00
Christoph M. Wintersteiger
2f6ef0f3be
Removed unnecessary variables.
2016-10-17 16:33:09 +01:00
Christoph M. Wintersteiger
707dbd4173
Bugfix for bv2fpa (model) conversion.
...
Relates to #740
2016-10-17 16:19:27 +01:00
Nikolaj Bjorner
4cae91b096
spacing, unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-17 08:07:23 -04:00
Nikolaj Bjorner
fe14a22baa
adding enumeration tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-16 22:19:59 -04:00
Nikolaj Bjorner
4fda2adec8
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-16 15:46:50 -04:00
Nikolaj Bjorner
58198d7cb6
add consequence finding to inc-sat-solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-16 15:45:39 -04:00
Nikolaj Bjorner
aec59e4ff7
add consequence finding to inc-sat-solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-16 15:43:28 -04:00
Christoph M. Wintersteiger
009af4455d
Refactored and fixed model conversion for fpa2bv conversion of unspecified values via theory_fpa.
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
ab4bb8194e
Added unregister_decl to model_core
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
58af4cae14
More consistent fp.* operators.
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
7e705a2d32
Bug fixes for underspecified FP operations.
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
bc257211d6
Whitespace
2016-10-15 18:35:39 +02:00
Nikolaj Bjorner
d8ea3023fc
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-10 23:49:59 -07:00
Nikolaj Bjorner
487f15f90a
better encodings for at-most-1, #755
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-10 23:49:45 -07:00
Nikolaj Bjorner
8d2b70a5e2
better encodings for at-most-1, #755
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-10 23:46:03 -07:00
Andrew Dutcher
bd80f7b4d5
fix some issues with the windows build
2016-10-10 15:38:08 -07:00
Andrew Dutcher
67a7889188
Update metadata for new distribution
2016-10-10 15:38:02 -07:00
Nikolaj Bjorner
5d9820f3e2
add example of parsing with external declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-07 12:57:07 -07:00
Nikolaj Bjorner
37f7c30e23
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-07 12:42:13 -07:00
Nikolaj Bjorner
619cce0a52
add mutex preprocessing to maxsat, add parsing functions to C++ API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-07 12:42:08 -07:00
Christoph M. Wintersteiger
9548b88e71
Added dummy code contracts for .NET Core/CoreCLR builds.
2016-10-06 16:24:49 +01:00
Christoph M. Wintersteiger
4956f6ef5b
Test fix for python3
2016-10-05 16:11:07 +01:00
Christoph M. Wintersteiger
56e874e991
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-05 15:34:07 +01:00
Christoph M. Wintersteiger
d495b08639
Build/test fix for python3
2016-10-05 15:34:02 +01:00
Nikolaj Bjorner
f452895f5f
add mutex pass
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-04 14:45:23 -07:00
Dionna Amalie Glaze
f4fd721741
Z3_query_constructor documentation clarification
...
Hit a segfault when I assumed the API would allocate these _out parameters for me.
2016-10-04 13:02:31 -05:00
Christoph M. Wintersteiger
acdaeca826
Bugfix for ITEs over FP rounding modes.
...
Fixes #751 .
2016-10-04 18:04:56 +01:00
Christoph M. Wintersteiger
0bd06930ae
whitespace
2016-10-04 18:04:00 +01:00
Nikolaj Bjorner
e3f0aff318
address ubuntu warning and add shortcuts for maxsat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-03 16:22:13 -07:00
Nikolaj Bjorner
186afe7d10
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-02 10:22:23 -07:00
Nikolaj Bjorner
b2db2f1eb6
allow negative weights for weighted maxsat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-02 10:21:58 -07:00
Nikolaj Bjorner
57ebf7bd38
accepting floats
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-02 10:08:23 -07:00
Nikolaj Bjorner
136f724445
update python API with facilities for Pseudo-Booleans and += shorthand for adding constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-30 14:18:34 -07:00
Nikolaj Bjorner
279621c1d7
duplicating private member from z3 to avoid build regressions under some environments
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-30 07:21:39 -07:00
Nikolaj Bjorner
ab3b36269e
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-28 16:42:14 -07:00
Nikolaj Bjorner
476b06fa14
fix compiler warnings, gcc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-28 16:42:07 -07:00
Nikolaj Bjorner
9fa7cd48e9
Merge pull request #747 from LocutusOfBorg/patch-2
...
fix build with new gcc and clang compilers
2016-09-27 18:07:57 -07:00
Gianfranco Costamagna
4817b87b7d
fix build with new gcc and clang compilers
2016-09-26 08:06:38 +02:00
Gianfranco Costamagna
9c48fbba2e
Update mpff.cpp to fix build with clang and new gcc
2016-09-26 08:05:15 +02:00
Nikolaj Bjorner
8cf356224e
fix python for 3.x
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-22 22:24:43 -07:00
Nikolaj Bjorner
b758a7a508
disable smt-lib success printing when locally parsing database of common pattern rules. Issue #743
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-22 19:53:48 -07:00
Andrew Dutcher
4801a27c2d
Fix up z3test to a) exist and b) work
2016-09-21 17:18:10 -07:00
Nikolaj Bjorner
14668b4d44
Merge pull request #735 from angr/new-build
...
New packaging for and ability to distribute python bindings
2016-09-21 15:55:22 -07:00
Nikolaj Bjorner
516dba52ce
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-21 12:24:34 -07:00
Nikolaj Bjorner
527c5191a6
Add C++ functions for set operations per stackoverflow post, set relevancy = 2 for quantified maxsmt per example from Aaron Gember, fix conversion of default weights based on bug report from Patrick Trentin on maxsat. Annotating soft constraints with weight=0 caused the weight to be adjusted to 1 and therefore produce wrong results
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-21 12:24:24 -07:00
Nikolaj Bjorner
e8f4dd76c2
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-17 17:29:33 -07:00
Nikolaj Bjorner
77b245b3d8
fix proof production to avoid crash. Issue #733
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-17 17:29:19 -07:00
Nikolaj Bjorner
cda967ead2
guard verbose output by verbosity level for datalog command-line tool
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-16 15:36:40 -07:00
Nikolaj Bjorner
7f29674842
add option to bypass compression of unbound tails, issue #738
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-16 14:56:10 -07:00
Christoph M. Wintersteiger
7a3308110c
Merge pull request #722 from wintersteiger/i715
...
x64 clause allocator bug fix
2016-09-16 19:53:08 +01:00
Mikolas Janota
147c0f8152
Removing an unused method from bv_rewriter.
2016-09-16 19:44:37 +01:00
Mikolas Janota
ec47a1df50
Adding bv preprocessing techniques.
2016-09-16 19:44:37 +01:00
Christoph M. Wintersteiger
27ea7d8e9d
style/formatting
2016-09-16 19:34:48 +01:00
Christoph M. Wintersteiger
b70cc47a9d
x64 clause allocator fix for del_clause
2016-09-16 19:25:41 +01:00
Christoph M. Wintersteiger
5b1cb49973
x64 clause allocator bug fix
2016-09-16 19:25:41 +01:00
Andrew Dutcher
02217d048b
replace all non-portable filepath slashes with os.path.join
2016-09-14 14:19:10 -07:00
Andrew Dutcher
02783d0bfb
Minor tweaks to make things more reliable/less obnoxious
2016-09-14 01:49:37 -07:00
Andrew Dutcher
704105306c
FINISH IT
2016-09-14 01:40:01 -07:00
Andrew Dutcher
0bbd172af3
First steps to a sane python build
2016-09-14 01:37:04 -07:00
Andrew Dutcher
fa6cc19184
Moved python bindings into package
2016-09-14 01:33:07 -07:00
Nikolaj Bjorner
9f77759cd6
ensure that status is displayed in SMT-LIB2 compliant way. Issue #734
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-13 10:34:34 -07:00
Nikolaj Bjorner
5a86815f34
fix regression in seq-replace rewriting
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-11 05:43:16 -07:00
Nikolaj Bjorner
1450594fc6
add patch to deal with bug exposed in issue #721
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-10 12:15:49 -07:00
Nikolaj Bjorner
0b57829bdd
fix heisenbug, unintialized variable, issue #720
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-10 11:04:29 -07:00
Nikolaj Bjorner
cb140011bc
add missing rewrite rule. Issue #731
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-10 09:42:36 -07:00
Nikolaj Bjorner
2f67665c7e
ensure stoi axiom even when no value is present for argument. Issue #731
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-10 09:40:21 -07:00
Nikolaj Bjorner
d74e618565
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-08 13:59:22 -07:00
Nikolaj Bjorner
e485d1889c
update replace semantics
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-08 13:59:13 -07:00
Nikolaj Bjorner
76cf28d48b
move from uint_set to hashtable over unsigned to save memory overhead in consequence generation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-08 13:34:59 -07:00
Nikolaj Bjorner
94b67412ec
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-07 11:59:06 -07:00
Nikolaj Bjorner
c5dd441947
fixes to consequence generation and cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-07 11:50:26 -07:00
Nikolaj Bjorner
2d9dced1c7
fix spacing, cast to Bool
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-06 20:18:31 -07:00
cttghc
758266b952
Fix omission of Z3_model_has_interp in z3++.h
2016-09-06 18:32:41 -05:00
Nikolaj Bjorner
0e9758a211
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-06 14:39:19 -07:00
Nikolaj Bjorner
3b70dd6678
tuning by using get_consequences2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-06 14:29:40 +08:00
AlexVonB
c6b0fc444c
Fix VisualStudio 2010 compiler warning C4100
...
When compiling with Visual Studio 2010 the buildlog warns of the following: `z3++.h: warning C4100: 'e' : unreferenced formal parameter` and `z3++.h: warning C4100: 'c' : unreferenced formal parameter`. This merge request removes this warning.
2016-09-05 16:22:00 +02:00
Nikolaj Bjorner
424a8c69bd
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-09-02 03:05:23 -07:00
Nikolaj Bjorner
dc48008d46
fixestoconsequences
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-02 11:00:40 +08:00
Nikolaj Bjorner
c746d46d80
add validation code, fix bugs in consequence finder
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-09-01 16:21:23 +08:00
Nikolaj Bjorner
4d9aadde35
updated consequence finder to fix bug in processing enumeration types
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-31 16:15:36 +08:00
Nikolaj Bjorner
237fde1f76
fix crash during shutdown. Issue #719
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-31 09:57:46 +08:00
Nikolaj Bjorner
310c0f31a1
use type constrsaints for co-variant subtying to enable .net 3.5
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-30 12:07:06 +08:00
Nikolaj Bjorner
d4539b8887
fix dt2bv transformation to only work with constants, issue #725
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-30 11:42:14 +08:00
Nikolaj Bjorner
882c3bd0cd
fix unused variable warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-23 18:18:11 -03:00
Nikolaj Bjorner
510231df42
fix to #717 . The bottom-up COI filter can only use positive facts for filtering
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-23 12:26:38 -03:00
Nikolaj Bjorner
b5c521e4b2
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-08-23 11:44:48 -03:00
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
Christoph M. Wintersteiger
b03dc0af3b
fixed memory leaks
2016-08-20 17:57:00 -04:00
Christoph M. Wintersteiger
47e95f8676
Fixed binding substitution in macro_util
2016-08-20 17:56:52 -04:00
Nikolaj Bjorner
879f792125
fix axiomatization of str.replace. Fixes issue #703
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-20 06:13:52 -07:00
Nikolaj Bjorner
2d8325ed43
fix axiomatization of str.replace. Fixes issue #703
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-20 06:05:13 -07:00
Nikolaj Bjorner
439e8e6b04
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-08-20 03:53:55 -07:00
Nikolaj Bjorner
f2b5c11d1c
add option for prettier proof printing, Issue #706
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-20 03:52:45 -07:00
Nikolaj Bjorner
5069da62a3
safe sat clause_offset in debug mode
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-19 08:45:06 -07:00
Nikolaj Bjorner
e132c5eae8
safe sat clause_offset in debug mode
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-19 08:42:40 -07:00
Nikolaj Bjorner
b2383a481a
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-08-18 18:02:22 -07:00
Nikolaj Bjorner
665fccf07a
addressing max-segment issue for AMD64 + Debug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-18 18:01:29 -07:00
Christoph M. Wintersteiger
e8141aaa84
debug fixes
2016-08-12 19:52:59 +01:00
Christoph M. Wintersteiger
244c641234
debug check fix
2016-08-12 13:19:12 +01:00
Christoph M. Wintersteiger
b74bff7fb7
logic detection fix
2016-08-10 11:39:47 +01:00
Christoph M. Wintersteiger
f54a7db108
Added debug traces.
2016-08-09 16:36:49 +01:00
Christoph M. Wintersteiger
ff3c630207
.NET API: Added MkMul from IEnumerable.
2016-08-09 16:36:32 +01:00
Christoph M. Wintersteiger
03aa6914a3
Fixed sub-logic detection for the ALL logic.
2016-08-09 13:20:45 +01:00
Nikolaj Bjorner
aee6a7fe4c
Merge pull request #708 from dstaple/master
...
Removed complete() from handling of y.is_zero() in process_power
2016-08-06 09:06:34 -07:00
Nikolaj Bjorner
14e8126f16
wrapping interruptable with solver consequence call
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-05 11:32:12 -07:00
Douglas B. Staple
87b7674245
Removed complete() from handling of y.is_zero() in process_power
2016-08-05 14:11:51 -03:00
Nikolaj Bjorner
f3ef59b095
fix scanner bug at EOF
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-04 13:17:37 -07:00
Nikolaj Bjorner
6582330cc4
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-03 14:25:57 -07:00
Nikolaj Bjorner
bbfe02b25a
modulating data-type solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-03 11:16:29 -07:00
Nikolaj Bjorner
491b3b34aa
tune consequence finding. Factor solver pretty-printing as SMT-LIB into top-level
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-03 11:14:29 -07: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
7562efbe84
add consequence command
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-30 12:59:29 -07:00
Nikolaj Bjorner
7346098895
fix unsat core extraction code in smt_context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-30 11:22:34 -07:00
Nikolaj Bjorner
d32019f4c9
fix consequence tracking for negated assumptions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-30 10:49:06 -07:00
Nikolaj Bjorner
7d545d902d
switch to specialized consequence generator in combined_solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-29 17:36:11 -07:00
Nikolaj Bjorner
2263be1b4d
adding consequence examples
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-29 17:24:14 -07:00
Nikolaj Bjorner
82d0310d94
remove repeated default argument, remove tabs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 21:13:12 -07:00
Nikolaj Bjorner
5c99405db3
finish consequence fast path code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 20:15:47 -07:00
Nikolaj Bjorner
4958edeb42
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 19:40:49 -07:00
Nikolaj Bjorner
fa48703445
fix build for non C++11
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 17:04:47 -07:00
Nikolaj Bjorner
0055254f4c
fix build for non C++11
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 17:04:06 -07:00
Christoph M. Wintersteiger
2e362aa6c0
build fix
2016-07-29 01:02:48 +01:00
Nikolaj Bjorner
46c911a92f
Merge pull request #700 from lorisdanto/master
...
added symbolic automata complement for sequences
2016-07-28 17:00:23 -07:00
Nikolaj Bjorner
8221a09659
fast path for antecedent extraction in smt_context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 16:49:19 -07:00
Loris D'Antoni
73bd4acfc5
added symbolic automata complement for sequences
2016-07-28 13:50:05 -07:00
Nikolaj Bjorner
074f1ad778
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-28 11:20:23 -07:00
Nikolaj Bjorner
14f29e7265
add basic built-in consequence finding
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-28 11:20:17 -07:00
Christoph M. Wintersteiger
6f874c5c1d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-28 18:07:48 +01:00
Christoph M. Wintersteiger
7fefe40f21
Added/improved facilities for strong name signing of the .NET assembly.
2016-07-28 18:07:34 +01:00
Christoph M. Wintersteiger
0d83f99d8d
Fixed comment
2016-07-28 18:06:26 +01:00
Christoph M. Wintersteiger
3587baaf24
Added full version strings and associated API functions.
2016-07-28 18:06:02 +01:00
Nikolaj Bjorner
b7de813c63
set solver on simplify command
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-27 15:35:44 -07:00
Nikolaj Bjorner
0997eba700
adding hash/eq to uint_set
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-27 13:41:41 -07:00
Nikolaj Bjorner
5f5ef8b38d
adding support for distinct for dt2bv, re-entry harness for ~Context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-27 09:02:56 -07:00
Christoph M. Wintersteiger
8fa29f6970
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-26 19:21:57 +01:00
Christoph M. Wintersteiger
eec68cfa2d
Added 32/64 bit indication and githash to output of -version.
2016-07-26 19:21:50 +01: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
Nikolaj Bjorner
56c78753f0
updating default solver selection. Add dt2bv transformation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-24 18:16:32 -07:00
Nikolaj Bjorner
a85c5f0fac
add handling of recognizers to enumeration types
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-24 17:29:17 -07:00
Nikolaj Bjorner
6bf446dfc2
add tactic to eliminate enumeration sorts in favor of bit-vectors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-23 14:13:40 -07:00
Nikolaj Bjorner
083939ab0e
add tactic to eliminate enumeration sorts in favor of bit-vectors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-23 14:11:21 -07:00
Nikolaj Bjorner
3581f6de42
remove stale SLS option
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-21 18:18:42 -07:00
Nikolaj Bjorner
f522d995d1
apply 'to-real' coercion only on integers. bug reported by Geoff
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 19:03:25 -07:00
Nikolaj Bjorner
b56837e09b
fix build break: throw only on invalid model
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 13:11:22 -07:00
Nikolaj Bjorner
a59ed0fc2f
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-20 12:18:16 -07:00
Nikolaj Bjorner
60711bb0cd
deal with model construction, issue #684 . fix model construction for ite #678 . WIth this version, issue #686 does not repro
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 12:18:07 -07:00
Nikolaj Bjorner
fe34e8bf00
Add OP_INTERNAL to handle cases of function symbols that don't have external semantics (at least in a way that is supported by means of building terms) Issue #688
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 12:13:54 -07:00
Nikolaj Bjorner
5f39c4371c
fix proof generation for unit resolution. Issue #691
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 11:54:39 -07:00
Nikolaj Bjorner
6559fd817d
Fix bit-blasting discrepancy. #690
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 10:53:53 -07:00
Nikolaj Bjorner
cf48eb5f72
mark also ast in parameters as GC roots. Issue #676
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-17 19:16:15 -04:00
Nikolaj Bjorner
64674386de
fix ubuntu build failure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-15 13:39:50 -07:00
Nikolaj Bjorner
6f971a3a86
add object z3 objects to target context during translation, to fix build regression failure on z3test.py
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-15 11:44:38 -07:00
Nikolaj Bjorner
4f5b0667ef
fix rounding mode for pseudo-boolean constraint creation, Issue #683
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-14 12:34:18 -07:00
Nikolaj Bjorner
3a83788b97
remove unfinished ite-macro finder, tune ast GC to ensure nodes are roots only once
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-14 09:46:09 -07:00
Nikolaj Bjorner
4720d578a4
add proper garbage collection to ast_manager. Issue #679
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-14 09:05:16 -07:00
Nikolaj Bjorner
b080e3a216
garbage collect all api::object references when calling del_context. Request issue #679
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-13 22:26:21 -07:00
Nikolaj Bjorner
f30fb7639e
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-13 20:32:24 -07:00
Nikolaj Bjorner
3989d238c0
fix bugs exposed in #677 . to_int(x) has the semantics that to_int(x) <= x, and to_int(x) is the largest integer satisfying this inequality. The encoding in purify_arith had it the other way x <= to_int(x) contrary to how to_int(x) is handled elsewhere. Another bug in theory_arith for mixed-integer linear case was also exposed. Fractional bounds on expressions of the form to_int(x), and more generally on integer rows were not rounded prior to internalization
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-13 20:32:18 -07:00
Nikolaj Bjorner
3a70b6aab4
fix model generation, add rewrite rules for sin(acos(x)) reduction to help model validation. Issue #680
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-13 11:12:27 -07:00
Nikolaj Bjorner
247e94a7c0
fix model generation for cos/sin transformation. Issue #680
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-13 10:34:12 -07:00
Nikolaj Bjorner
9f99482f07
fix model generation for cos/sin transformation. Issue #680
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-13 10:29:31 -07:00
Christoph M. Wintersteiger
1e5a87887d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-13 15:36:27 +01:00
Christoph M. Wintersteiger
a21d701fa1
tabs
2016-07-13 15:36:21 +01:00
Christoph M. Wintersteiger
3bea00efe3
added smt_params trace
2016-07-13 15:35:29 +01:00
Christoph M. Wintersteiger
cfbe16639f
Bugfix for fpa2bv translation
2016-07-13 15:35:14 +01:00
Nikolaj Bjorner
63f89f8c45
add sin/cos conversions for #680
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-12 15:12:40 -07:00
Nikolaj Bjorner
f96cfeae9e
fix build failures under linux
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 13:28:39 -07:00
Nikolaj Bjorner
73cdf809fe
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-09 12:36:22 -07:00
Nikolaj Bjorner
0a6b03808c
fix core extraction for QF_BV theory/inc_sat_solver based on regressions pointed out by Matthias Heizmann and Tjark Weber
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 12:35:54 -07:00
Nikolaj Bjorner
8f862f8fed
fix core extraction for QF_BV theory/inc_sat_solver based on regressions pointed out by Matthias Heizmann and Tjark Weber
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 12:35:11 -07:00
Christoph M. Wintersteiger
7cf80845fd
Merge pull request #675 from FabianWolff/master
...
Fix spelling errors
2016-07-09 17:32:10 +01:00
Nikolaj Bjorner
d7d22cad02
undo comment
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 05:38:03 -07:00
Nikolaj Bjorner
3d73fe55c7
track assumptions when calling check-sat. regression detected by Tjark Weber running core extraction
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 05:31:49 -07:00
Nikolaj Bjorner
53b3edc8cc
add cases for recognizing ALL. Issue #674
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-09 05:18:26 -07:00
Fabian Wolff
6eaab00e83
Fix spelling errors
2016-07-09 11:46:43 +02:00
Nikolaj Bjorner
59865f5502
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-07-08 17:57:12 -07:00
Nikolaj Bjorner
d5ee7e24bc
add simplification for equalities between itos and constant strings, Issue #589
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-08 11:50:39 -07:00
Nikolaj Bjorner
bdbf1c9bf4
add support for default semantics for stoi (non-integer strings map to -1). Issue #670
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-08 10:45:19 -07:00
Nikolaj Bjorner
e9e10f1d5c
checking cancel flag to refine the behavior around issue #595
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-03 10:38:54 -07:00
Nikolaj Bjorner
0d0d504d62
change names of reserved identifiers. Issue #666
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-01 14:46:44 -07:00
Nikolaj Bjorner
654780bb4b
check that model is availble before evaluation, issue #595
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-01 09:26:01 -07:00
Nikolaj Bjorner
4c786c5f70
add n-ary disjunction and conjunction
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-01 08:15:50 -07:00
Nikolaj Bjorner
e518d4a5fe
typename conventions, issue #664
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-29 17:02:36 -07:00
Nikolaj Bjorner
fd95a9e061
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-06-29 16:53:46 -07:00
Nikolaj Bjorner
c2f9d35d59
throw exceptions when internalizing expressions with free variables, issue #663
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-29 16:53:28 -07:00
Nikolaj Bjorner
37c9a31296
Merge pull request #661 from cheshire/fix_java_leak
...
Java bindings: Force cleaning the queue on context closing.
2016-06-29 04:56:11 -07:00
Nikolaj Bjorner
5d5004193b
avoid crash on box models under cancellation. Issue #654
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-29 04:54:31 -07:00
Nikolaj Bjorner
0fdf01e410
avoid crash on box models under cancellation. Issue # SASSERT(!m_box_models.empty());
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-29 04:53:28 -07:00
George Karpenkov
cb87991d5f
Java bindings: Force cleaning the queue on context closing.
2016-06-29 13:09:05 +02:00
Nikolaj Bjorner
8aee7129f6
shortcircuit stats functions on ground terms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-28 21:48:49 -07:00
Nikolaj Bjorner
b303fd59c0
add some version information (and date) to log file to make it easier to trap version mismatch on log files
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-28 18:11:30 -07:00
Nikolaj Bjorner
e4a00f6f6f
re-include get_error_msg_ex per issue #660
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-28 17:48:11 -07:00
Nikolaj Bjorner
84aec95eda
fix up use-list in 3x3 resolution case. Regression RND_3_24.smt2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-28 11:41:57 -07:00
Nikolaj Bjorner
b66d457b19
move arithmetical mbp functionality to model_based_opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-26 16:12:14 -07:00