diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2018-02-02 15:34:44 -0600 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-02-02 15:34:44 -0600 |
commit | 73a92766063e76e6c6f2507f126fb8f84ed3e432 (patch) | |
tree | 22b3fc7b54ab32af44f5670d4c1852a9ec4c537f /src/smt/smt_engine.h | |
parent | 64192c63a0011e4737eec2d27cf4deabf74d6c0a (diff) |
Option to check solutions produced by SyGuS solver (#1553)
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r-- | src/smt/smt_engine.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index 0501a6e8f..e768bf826 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -287,6 +287,16 @@ class CVC4_PUBLIC SmtEngine { void checkModel(bool hardFailure = true); /** + * Check that a solution to a synthesis conjecture is indeed a solution. + * + * The check is made by determining if the negation of the synthesis + * conjecture in which the functions-to-synthesize have been replaced by the + * synthesized solutions, which is a quantifier-free formula, is + * unsatisfiable. If not, then the found solutions are wrong. + */ + void checkSynthSolution(); + + /** * Postprocess a value for output to the user. Involves doing things * like turning datatypes back into tuples, length-1-bitvectors back * into booleans, etc. |