Nikolaj Bjorner
a9ebda105c
remove assertion that gets violated on exception path (declaration of datatypes are not getting removed)
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-01 08:59:36 -08:00
Nikolaj Bjorner
92b4b9e7a7
fix error messaging for parsers
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 11:14:00 -08:00
Nikolaj Bjorner
2313b14210
include mc0 for display method
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-21 20:40:43 -08:00
Nikolaj Bjorner
2f218b0bdc
remove also cores as arguments to tactics
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-19 12:18:50 -08:00
Nikolaj Bjorner
4bbece6616
re-organize proof and model converters to be associated with goals instead of external
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-18 16:33:54 -08:00
Nikolaj Bjorner
df6b1a707e
remove proof_converter from tactic application, removing nlsat_tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-17 23:32:29 -08:00
Nikolaj Bjorner
7c743b3d16
add direct FromFile method to solvers so that model transformations are loaded along with assertions.
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-02 09:25:18 -05:00
Nikolaj Bjorner
fd49a0c89c
added facility to persist model transformations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-02 00:05:52 -05:00
Nikolaj Bjorner
caaf0ba33c
model-add/del
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-01 22:32:22 -05:00
Nikolaj Bjorner
3de8c193ea
implementing model updates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-30 16:11:51 -05:00
Nikolaj Bjorner
2774d6896b
fix variable naming bug for internal (fresh) constants clashing with external names
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-28 16:11:29 -07:00
Nikolaj Bjorner
829c140087
ensure that bca takes also lemmas into account
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-27 15:40:25 -07:00
Nikolaj Bjorner
31dfc0c610
fix build, fix #1322
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 13:20:19 -07:00
Nikolaj Bjorner
6300a78b82
more build errors in debug mode
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 12:57:30 -07:00
Simon Cruanes
ed526b808d
add parameter to specify the file into which dot proofs are to be printed
2017-10-24 10:16:56 +02:00
Simon Cruanes
d630838b38
add a basic printer into graphviz ( http://graphviz.org/ ) for proofs
...
- proofs are output into file `proof.dot` if `(get-proof-graph)` is
in the input
- use `dot -Txlib proof.dot` to see the proof
- use `dot -Tsvg proof.dot` to get a svg file
2017-10-24 09:41:38 +02:00
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
Nikolaj Bjorner
6bce173248
properly quote symbols #1061
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-12 18:35:02 -07:00
Dan Liew
4b517b96df
[CMake] Move CMake files into their intended location so the
...
`contrib/cmake/bootstrap.py` script no longer needs to be executed.
The previous location of the CMake files was a compromise proposed
by @agurfinkel in #461 . While this has served us well (allowing progress
to be made) over time limitations of this approach have appeared.
The main problem is that doing many git operations (e.g. pull, rebase)
means the CMake files don't get updated unless the user remembers to
run the script. This can lead to broken and confusing build system
behaviour.
This commit only does the file moving and necessary changes to
`.gitignore`. Other changes will be done in subsequent commits.
2017-06-12 11:59:00 +01:00
Nikolaj Bjorner
f0fa439c48
escaping names in get-assignment #1061
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-11 17:17:47 -07:00
Nikolaj Bjorner
f44a3e1bbc
print_core as a function
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-10 10:18:07 -07:00
Nikolaj Bjorner
d5f646929e
print success #1068
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-10 09:16:36 -07:00
Nikolaj Bjorner
668bad6121
print success after reset assertions #1057
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-04 11:04:54 -07:00
Nikolaj Bjorner
4cbf938cf3
enable get-unsat-assumptions command per request in #1048
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-29 16:26:22 -07:00
Nikolaj Bjorner
2de80b5ce9
add pb built in ops for logic ALL #1045
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-29 10:08:50 -07:00
Nikolaj Bjorner
d95ac58bad
remove throw in reason-unknown #1043
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-28 12:09:35 -07:00
Nikolaj Bjorner
f80a622a8f
add colon to assertion stack levels #1046
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-28 11:10:46 -07:00
Nikolaj Bjorner
1654ad7059
adding escape characters to reason-unknown #1043
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-27 14:56:38 -07:00
Nikolaj Bjorner
f3a0b7e0cd
change command-line experience for pareto fronts. It now requires multiple check-sat calls to loop over the fronts. This allows querying each model in turn. #1008
2017-05-23 20:05:10 -07:00
Nikolaj Bjorner
af4346f16a
expose arith reflection, get rid of long m_manager attribute in asserted fromulas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-23 10:04:29 -07:00
Nikolaj Bjorner
d14f2af5ae
deal with subtraction that manages to sneak in. Issue #996
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-01 15:22:06 -07:00
Murphy Berzish
88147f7047
theory_str static features and cmd_context
2017-04-28 14:14:28 -04:00
Christoph M. Wintersteiger
27a1758857
Added rewriter.ignore_patterns_on_ground_qbody option to disable simplification of quantifiers that have their universals appear only in patterns, but otherwise have a ground body.
2017-04-07 21:19:20 +01:00
Nikolaj Bjorner
582880346e
add index option to 'eval' command for box objectives. Issue #955
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-31 09:22:56 -07:00
Nikolaj Bjorner
c99205fa7e
return box model based on index. Issue #955
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-31 08:12:53 -07:00
Nikolaj Bjorner
e05cee757b
properly handle recursive function definitions #898
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-24 10:10:42 -07:00
Nikolaj Bjorner
228111511c
fixing build break, addressing #935
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-11 18:41:36 +01:00
Nikolaj Bjorner
e02160c674
expose bounds as vector expressions instead of containing ad-hoc expressions. Issue #911
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-24 11:07:40 -08:00
Christoph M. Wintersteiger
5682c43604
Merge pull request #881 from dwoos/tactic-labels
...
Thread labels through tactic system
2017-02-04 20:37:11 +00:00
Doug Woos
8196173e29
Introduce and use labels_vec
2017-01-30 15:50:34 -08:00
Doug Woos
5796e15088
Thread labels through tactic system
2017-01-27 11:07:13 -08:00
Nikolaj Bjorner
5cb21924ad
ensure that FD logic understands pb from command context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-17 16:02:54 -08:00
Nikolaj Bjorner
32c63ce4cd
address other warnings per input from delcypher
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 17:23:59 +01:00
Nikolaj Bjorner
ef9230d8f8
detect quantifiers in model expressions to quiet down failing model validation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-07 06:56:36 -08:00
Nikolaj Bjorner
51a4085910
check for logic in solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-04 15:19:11 +00:00
Nikolaj Bjorner
f61600d1d8
fixing unsat core extraction for tactics
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-02 14:14:55 +00:00
Nikolaj Bjorner
24fc19ed58
speed up consequence finding by avoiding local search whenver assumption level is reached during the initial phase
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 08:15:39 -07:00
Christoph M. Wintersteiger
df2a569d25
Replaced antiquated header with modern equivalent.
2016-10-24 13:29:17 +01:00
Nikolaj Bjorner
3778048eb4
add bounded-int and pb2bv solvers to fd_solver, use sorting networks for pb2bv rewriter when applicable, hoist to pb2bv_rewriter module and remove it from the pb2bv_tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-23 20:31:59 -07:00
Nikolaj Bjorner
d060359f01
add fd solver for finite domain queries
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-18 22:34:34 -04: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
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
Christoph M. Wintersteiger
b74bff7fb7
logic detection fix
2016-08-10 11:39:47 +01:00
Christoph M. Wintersteiger
03aa6914a3
Fixed sub-logic detection for the ALL logic.
2016-08-09 13:20:45 +01: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
b7de813c63
set solver on simplify command
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-27 15:35:44 -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
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
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
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
39acd3594a
test variants for seq_solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-30 18:15:10 -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
09b8c0e7fa
removing warnings for unused variables, #579
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-17 15:59:06 -07:00
Nikolaj Bjorner
e29adbf304
fix issues #581 : nested timeouts canceled each-other
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-30 11:18:34 -07:00
Nikolaj Bjorner
4ebf392da7
Fixes #564 : use std::vector on std::strings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 09:26:13 -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
Nikolaj Bjorner
5994c5a948
fix partial model tracking over cancellation/exceptions, reported by August Shi. Fix regression test for fp-to-real, reset the pre-processor in inc_sat_solver on exceptions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-07 16:42:29 -08:00
Nikolaj Bjorner
7c6540e18f
recursive function definitions; combine model-building functionality
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-03 07:59:03 -08:00
Nikolaj Bjorner
a25336a899
fix test build, working on rec-functions and automata complementation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-01 22:31:44 -08:00
Nikolaj Bjorner
67397bf71e
enable logic parameter update to configure SMTLIB logic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-01 09:48:24 -08:00
Mikolas Janota
470f8bca73
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-26 16:51:57 +00:00
Mikolas Janota
c2edf2c5bf
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-25 13:04:46 +00:00
Nikolaj Bjorner
924f03c6de
fixing bugs in seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-23 10:38:49 -05:00
Nikolaj Bjorner
85d44c5d66
fix axioms for extract, add extensionality checking for shared variables, convert exceptions to unknown status per #419
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-18 11:09:41 +05:30
Nikolaj Bjorner
a295dd48dc
add seq_rewriter to model_evaluator, remove th_rewriter additional step in validator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 04:02:48 +05:30
Nikolaj Bjorner
7cbd59bf06
enhance model validation to invoke rewriter if result isn't true using the simplify-based model evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 03:40:33 +05:30
Mikolas Janota
5706df30c6
Fixing soft timeout for check-sat-using.
2016-01-08 16:17:34 +00:00
Nikolaj Bjorner
521271e559
moving to resource managed cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 17:46:22 -08:00
Nikolaj Bjorner
96d1066c6a
reworking cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:43:48 -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
58411f64e8
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-10 20:25:12 -08:00
Nikolaj Bjorner
5eb23e1e7a
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-10 19:20:16 -08:00
Nikolaj Bjorner
75359c580e
add basic rewriting to strings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-05 12:02:33 -08:00
Nikolaj Bjorner
3f02beb820
reset-assertions resets everything (also declarations, and we take scopes) when global-declarations is false. v2.5
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-03 10:18:40 -08:00
Nikolaj Bjorner
5d61c871b0
add some of the SMT2.5 features
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-02 19:14:47 -08:00
Nikolaj Bjorner
e2565d8d82
add some of the SMT2.5 features
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-02 18:41:10 -08:00
Nuno Lopes
b26735a887
fix build with gcc
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-11-22 11:24:30 +00:00
Nikolaj Bjorner
c1a6163bda
disable aig tactic in inc_sat_solver (it can blow up the size of formulas significantly without sharing) and fix configuration update bug for optimization context exposed in example by Corina
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-20 14:34:31 -08:00
Nikolaj Bjorner
1575dd06a7
expose labels from optimization. Move printing of objectives to after sat/unsat. Cahnge format to something that is somewhat related to how other output is created. Issue #325 .
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-18 09:42:12 -08:00
Christoph M. Wintersteiger
6b5e49c4a1
Added checks for uint parameter values in context_params
2015-11-14 17:25:18 +00:00
Christoph M. Wintersteiger
c2aee86e4e
Added new SMT logic names
2015-11-06 16:24:44 +00:00
Christoph M. Wintersteiger
20715bbf3b
Fixed initialization of interpolation context so it is properly disabled when solving SMT v1 benchmarks.
2015-11-03 12:29:02 +00:00
Christoph M. Wintersteiger
949ad4d2fc
Trailing whitespace removed.
2015-11-03 12:28:10 +00:00