Nikolaj Bjorner
e6ea81546e
fix #6662
2023-04-08 17:14:39 -07:00
Nikolaj Bjorner
dde5218b29
fix mbqi value caching issue raised by Clemens and Martin
2023-01-15 22:47:34 -05:00
Nikolaj Bjorner
1ddef117a2
several fixes to proof logging in legacy solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-08 16:11:31 -08:00
Nikolaj Bjorner
4abff18e8d
fill in missing pieces of proof hint checker for Farkas and RUP
...
The proof validator based on SMT format proof logs uses RUP to check propositional inferences and has plugins for theory axioms/lemmas.
2022-08-31 05:29:15 -07:00
Nikolaj Bjorner
1a79d92f3a
revert last ditch array
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-30 12:56:21 -07:00
Nikolaj Bjorner
45d8d73fce
#6303
...
handle more array instantiation cases for quantifier instantiation
2022-08-30 09:46:19 -07:00
Nikolaj Bjorner
e0aa32e6c5
fix #6270
...
MBQI asserts auxiliary function definitions to handle models of arrays. This is unsound if the definition contains a model value.
2022-08-15 00:13:32 -07:00
Nikolaj Bjorner
63f48f8fd4
add options for logging learned lemmas and theory axioms
...
- add solver.axioms2files
- prints negated theory axioms to files. Each file should be unsat
- add solver.lemmas2console
- prints lemmas to the console.
- remove option smt.arith.dump_lemmas. It is replaced by solver.axioms2files
2022-08-08 11:18:56 +03:00
Nikolaj Bjorner
b253db2c0a
redundant parenthesis
2022-07-13 16:20:03 -07:00
Nikolaj Bjorner
43cf053066
fix #6128
2022-07-12 15:43:12 -07:00
Nikolaj Bjorner
09696e989e
add missing lambda defs per #5509
...
the result is now unknown because the nested expression contains exists, which doesn't get replaced by universal quantifier which is assumed by the legacy core.
The legacy core should not depend on universal quantifiers only, but fixing this is a risk. Workaround is to rewrite goals using forall only (replace exists by de-Morgan dual).
2021-08-27 11:57:26 -07:00
Nikolaj Bjorner
4f184b6aa9
fix #5376
2021-07-06 19:20:35 +02:00
Nikolaj Bjorner
d2bd92eab9
fix #5271
2021-05-17 10:42:34 -07:00
Nuno Lopes
21e59f7c6e
change model evaluator to respect resource limits ( #5184 )
2021-04-14 11:48:39 -07:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nikolaj Bjorner
026065ff71
streamline pb solver interface and naming after removal of xor
2021-02-28 12:32:04 -08:00
Nikolaj Bjorner
8f577d3943
remove ast_manager get_sort method entirely
2021-02-02 13:57:01 -08:00
Nikolaj Bjorner
7802e33f37
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-03 12:22:13 -07:00
Nikolaj Bjorner
5e768c9697
move unused literals under if0
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-03 12:21:20 -07:00
Nikolaj Bjorner
655166b867
randomize generation of 'some value' for user sorts. #4557
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-01 16:34:09 -07:00
Nikolaj Bjorner
f9193809ea
add recfun rewriting, remove quantifier based recfun
2020-04-26 12:59:51 -07:00
Nikolaj Bjorner
42dbee9165
fix #3302
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-14 14:39:03 -07:00
Nikolaj Bjorner
8b97e26fd7
cut fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-20 09:55:17 -08:00
Nikolaj Bjorner
559c3ca012
fix #3035
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-02-18 10:46:25 -10:00
Nikolaj Bjorner
991e587950
User performs some parameter sweep for Christmas, ho ho ho
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-12-25 21:23:21 -08:00
Christoph M. Wintersteiger
1d4f8c0168
Typos
2019-10-28 14:15:29 +00:00
Nikolaj Bjorner
f4fd94747c
fix #2652
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-23 09:39:40 -07:00
Nikolaj Bjorner
63840806d8
fix #2546 , retrieve model in optsmt lex before iterating
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-09-10 11:19:59 +02:00
Nikolaj Bjorner
78a1f53ac9
fix #2544
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-09-09 18:07:03 +02:00
Nikolaj Bjorner
b1cdb3e451
add mbqi to smtfd. For Nuno, of course
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-09-09 11:28:25 +02:00
Bruce Mitchener
077f518241
Fix -Wreorder warning.
2019-08-04 18:37:31 -07:00
Nikolaj Bjorner
bc3b0f6e33
introduce fresh term when none is available in context or model to fix #2456
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-04 12:00:48 -07:00
Nikolaj Bjorner
01920abf46
introduce fresh term when none is available in context or model to fix #2456
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-04 11:57:30 -07:00
Nikolaj Bjorner
59f69bbe0d
introduce fresh term when none is available in context or model to fix #2456
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-04 11:56:03 -07:00
Michał Janiszewski
cfd0486582
Catch exceptions by const-reference
...
Exceptions caught by value incur needless cost in C++, most of them can
be caught by const-reference, especially as nearly none are actually
used. This could allow compiler generate a slightly more efficient code.
2018-10-16 19:16:07 +02:00
Bruce Mitchener
cdfc19a885
Use nullptr.
2018-10-02 09:11:19 +07:00
Nikolaj Bjorner
e818b7bd27
fix #1812
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-09-10 15:15:00 -07:00
Nikolaj Bjorner
1cb3f7c792
fixing #1520
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-07-28 18:03:13 -07:00
nilsbecker
820c14ed06
synchronize fork
2018-07-06 16:19:13 +02:00
Nikolaj Bjorner
520ce9a5ee
integrate lambda expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-26 07:23:04 -07:00
nilsbecker
4f64f069ab
Merge remote-tracking branch 'upstream/master'
2018-06-24 08:08:32 +02:00
Nikolaj Bjorner
a51d6cbcbc
debug model evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-15 14:58:02 -07:00
Nils Becker
7585f28dec
Improved quantifier instantiation logging
2018-04-08 18:18:02 +02:00
Bruce Mitchener
76eb7b9ede
Use nullptr.
2018-02-12 14:05:55 +07:00
Nikolaj Bjorner
357b4b20fd
fix #1365 . Filter MBQI instantiations for as-array terms that lead the array theory to return unknown and therefore block further instantiations. as-array terms are at this point almost always created from internal model values so quantifier instantiations with these have little value, other than instantiations of other paraameters that may indepdendently help
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-23 11:17:41 -08:00
Nikolaj Bjorner
359ee818a5
purge iterators
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-20 15:35:16 -07:00
Nikolaj Bjorner
276fdd0e97
register auxiliary constants from projection operation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-20 08:51:24 -07:00
Christoph M. Wintersteiger
abd599f48e
Fixed ref-counting bug in smt_model_checker. Fixes #1212 .
2017-08-17 19:29:53 +01:00
Christoph M. Wintersteiger
320c81e497
Whitespace
2017-08-17 19:18:14 +01: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