Nikolaj Bjorner
f63439603d
streamlining proof generation (initial step of removing ast-manager dependency). Detect error in model creation when declaring constant with non-zero arity. See #1223
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 21:16:46 -07:00
Nikolaj Bjorner
b2191cab02
disable eager clear of check-sat-result to fix #1318
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-21 18:46:35 -04:00
Dan Liew
dbb7f616c1
More LSan workarounds.
2017-10-16 08:56:17 +01:00
Nikolaj Bjorner
8ff8c6433b
fix #1277 fix #1278
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-30 10:15:27 -07:00
Nikolaj Bjorner
2229a2fc1b
model validation update take 2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-26 08:43:31 -07:00
Nikolaj Bjorner
6450ee33c5
disregard model validation when source expression contains uninterpreted theory functions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-26 08:25:48 -07:00
Nikolaj Bjorner
2751cbc270
n/a
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-23 22:36:36 -05:00
Nikolaj Bjorner
cab4e4b461
add feature to display benchmark in format seen by SAT solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-21 18:32:46 -05:00
Nikolaj Bjorner
caa02c3c02
add match expression construct to SMT-LIB2.6 frontend
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-19 19:39:02 -07:00
Nikolaj Bjorner
cf86e46229
check for datatype selectors when model validation fails
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-17 15:10:50 -07:00
Nikolaj Bjorner
da72911062
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-17 01:39:44 +02:00
Nikolaj Bjorner
8ff1e070be
add QF_DT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-17 01:39:39 +02:00
Christoph M. Wintersteiger
4267f304a4
Fix for model completion (via cmd_context)
2017-09-15 12:43:16 +01:00
Nikolaj Bjorner
77008dc411
Merge pull request #1226 from NikolajBjorner/master
...
removing dependencies on simplifier, support SMTLIB2 parametric algebraic datatypes.
This is a breaking change. It introduces two substantial changes:
1. The legacy simplifier is removed. It was obsoleted with the introduction of the rewriter facilities, but many dependencies made it a major change to remove the legacy simplifier. All uses of the legacy simplifier have now been replaced by corresponding calls to the rewriter. It means that some normalization may behave differently. At this point, Z3 passes regressions and passes performance tests without regressing.
2. Algebraic datatypes in the form of SMT-LIB2.6 are now supported. These generalize the datatypes supported so far as parametric datatype constructors may be applied to different arguments within a recursive definition.
2017-09-11 00:40:51 +03:00
Nikolaj Bjorner
070c699ffc
remove V2 reference
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-10 15:32:53 +03:00
Nikolaj Bjorner
1d6f53c310
fix #1248 , fix #1249
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-07 05:32:07 -07:00
Nikolaj Bjorner
7f127cdd5d
adding declarations for regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 09:48:10 -07:00
Nikolaj Bjorner
d05d3bac4f
fix instantiations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 20:12:48 -07:00
Nikolaj Bjorner
9f5bd2feda
fix front-end for datatype
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 19:58:05 -07:00
Nikolaj Bjorner
06087c17be
support for legacy datatype test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 10:28:11 -07:00
Nikolaj Bjorner
aac7773a52
support for smtlib2.6 datatype parsing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-04 21:15:44 -07:00
Nikolaj Bjorner
5d17e28667
support for smtlib2.6 datatype parsing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-04 21:12:43 -07:00
Nikolaj Bjorner
5492d0e135
re-introduce eq2ineq name for rewriting parameter
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-04 11:03:57 -07:00
Nikolaj Bjorner
f12a4f04fd
aligning simplifier and rewriter for regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-04 09:28:40 -07:00
Nikolaj Bjorner
a3dba5b2f9
hide new datatype plugin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-03 20:01:59 -07:00
Nikolaj Bjorner
5c8fa80c3f
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-03 14:58:14 -07:00
Nikolaj Bjorner
c6722859c2
update rewriting of equalities and monomials for regressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-03 14:36:03 -07:00
Nikolaj Bjorner
7fbb938474
working on parametric datatype redo
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-03 12:00:02 -07:00
Christoph M. Wintersteiger
d61df6b91f
Model completion bug fix
2017-08-30 20:35:31 +01:00
Christoph M. Wintersteiger
1a1c705376
Added global model completion for the SMT2 frontend.
2017-08-30 19:34:31 +01:00
Dan Liew
a2d7b43554
Update header includes to be relative to src/
directory.
2017-08-17 18:26:53 +01:00
Nikolaj Bjorner
082936bca6
enable overloading resolution on define-fun declarations, fix #1199
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-08 09:21:06 +02:00
Nikolaj Bjorner
2b82fd5d0c
updated include directives
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-01 10:51:47 -07:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Nikolaj Bjorner
74890ca1c8
fixes #1180
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 09:37:25 -07:00
Arie Gurfinkel
78467077f6
fixing a build error
2017-07-28 12:18:12 -04:00
Nikolaj Bjorner
c8b5be48de
unexpressing interpolants #1172
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-27 11:44:52 -07:00
Nikolaj Bjorner
21759e5eb2
fixes #1172
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-27 08:59:12 -07:00
Nikolaj Bjorner
bb7b3c510f
fix for #1161
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-26 19:52:05 -07:00
Nikolaj Bjorner
a0a8bc2a62
fixes to #1155 and partial introduction of SMTLIB 2.6 datatype format
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-24 09:12:43 -07:00
Nikolaj Bjorner
ea331ebfbe
revert update to #1134
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-07 08:29:16 -07:00
Nikolaj Bjorner
d06e48a361
detect overlapping signatures #1134
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-07 08:13:14 -07:00
Nikolaj Bjorner
9d1852343c
add separate get-objectives command #1107
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-23 16:34:38 -07:00
Dan Liew
6f48a145aa
[CMake] Fix dependencies for generating gparams_register_modules.cpp
.
...
Previously CMake was not aware of which headers files the generation
of `gparams_register_modules.cpp` depended on. Consequently this could result
in broken incremental builds if
* Existing headers that declared module description/parameters change.
* New headers are added that declare module description/parameters.
* `.pyg` files that generate header files that declare module
description/parameters change
Now the `z3_add_component()` CMake function has been modifed so that
* All header files that are generated from `.pyg` files are added as
dependencies and are scanned from module description/parameter
declarations. This implicit dependency of `gparams_register_modules.cpp`
depending on other generated header files seems unnecessary complex. We
should revisit this design decision once the Python/Makefile build
system is deprecated.
* The function now takes an optional `EXTRA_REGISTER_MODULE_HEADERS`
argument which allows the headers that declare module
description/paramters to be explicitly listed.
With this information CMake will now regenerate `gparams_register_modules.cpp`
correctly.
This required the `mk_gparams_register_modules_internal()` function to be
changed to take a list of header files rather than a list of component
source directories. The two consumers (CMake and Python/Makefile build
systems) of this function have been modified to work with this change.
This partially fixes #1030 .
2017-06-21 23:56:46 +01:00
Christoph M. Wintersteiger
a0b25147d9
Fix for the fix for #1062 .
2017-06-20 14:48:03 +01:00
Christoph M. Wintersteiger
ab21caf55f
Reverted fix for quoted echo strings when smtlib2_compliant=false. Kindly reported by Armael Gueneau. Fixes #1062 .
2017-06-20 14:39:22 +01:00
Christoph M. Wintersteiger
7b97688302
Whitespace, typo.
2017-06-20 14:36:40 +01:00
Nikolaj Bjorner
b978f78c21
add sequence recognizers
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-13 20:35:35 -07:00
Nikolaj Bjorner
8b12cc0bdf
fix build warning
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-13 19:58:55 -07:00
Nikolaj Bjorner
5066bd01f7
Merge pull request #1070 from delcypher/cmake_file_move
...
[CMake] Move CMake files into their intended location
2017-06-13 13:27:25 -07:00