summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/synth_conjecture.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-05-21 12:15:28 -0500
committerGitHub <noreply@github.com>2021-05-21 17:15:28 +0000
commit624292d7fb5bd27b10bdce285441540d6931fa57 (patch)
tree73169808ce6106ba4ab18f515bb1752e1227ff3e /src/theory/quantifiers/sygus/synth_conjecture.h
parentbb39d534c89dc2569aa048bb053196bfa5bbb3a1 (diff)
Update to sygus standard output for check-synth responses (#6521)
This PR does two things: (1) It eliminates the ad-hoc implementation of printSynthSolutions and removes it from the API. Now, printing response to a check-synth command is done in a more standard way, using the API + symbol manager. This is analogous to recent refactoring to get-model. (2) It updates cvc5's output in response to check-synth to be compliant with the upcoming sygus 2.1 standard. The standard has changed slightly: responses to check-synth are now closed in parentheses, mirroring the smt2 response to get-model. It also removes the unused command GetSynthSolutionCommand.
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.h')
-rw-r--r--src/theory/quantifiers/sygus/synth_conjecture.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.h b/src/theory/quantifiers/sygus/synth_conjecture.h
index a7ecd4ead..4329a9c60 100644
--- a/src/theory/quantifiers/sygus/synth_conjecture.h
+++ b/src/theory/quantifiers/sygus/synth_conjecture.h
@@ -134,11 +134,11 @@ class SynthConjecture
bool doRefine();
//-------------------------------end for counterexample-guided check/refine
/**
- * Prints the synthesis solution to output stream out. This invokes solution
- * reconstruction if the conjecture is single invocation. Otherwise, it
- * returns the solution found by sygus enumeration.
+ * Prints the current synthesis solution to output stream out. This is
+ * currently used for printing solutions for sygusStream only. We do not
+ * enclose solutions in parentheses.
*/
- void printSynthSolution(std::ostream& out);
+ void printSynthSolutionInternal(std::ostream& out);
/** get synth solutions
*
* This method returns true if this class has a solution available to the
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback