You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command is identical to $\constraintoraclekwd$,
1088
-
but the term $t[c_1\ldots c_{n+m}]$ obtained from a call to the external binary
1088
+
but the term $t[c_1\ldots c_{n} c'_1\ldots c'_m]$ obtained from a call to the external binary
1089
1089
is added to the set of assumptions instead of the set of constraints.
1090
1090
1091
1091
\end{itemize}
@@ -1903,16 +1903,17 @@ \section{Calling Oracles}
1903
1903
The oracle is a binary that implements an iterface of sort $\sigma_1\times\ldots\times\sigma_n \rightarrow\sigma$.
1904
1904
\end{definition}
1905
1905
The SyGuS solver makes queries to an oracle via a text file with the extension \textit{.oracle}. The oracle is called by the solver with the command \textit{oracle-name textfile.oracle}.
1906
-
The text file should contain the text $\paren{v_1 \ldots v_n}$ specifying values for each argument to the oracle, where $v_1\ldots v_n$ are written using the same syntax for constant terms described in this document. The oracle will return the text $\paren{v_{n+1} \ldots v_{n+m}}$ specifying values for the return values of the oracle on the standard output channel.\\
1906
+
The text file should contain the text $\paren{v_1 \ldots v_n}$ specifying values for each argument to the oracle, where $v_1\ldots v_n$ are written using the same syntax for constant terms described in this document. The oracle will return the text $\paren{v'_{1} \ldots v'_{m}}$ specifying values for the return values of the oracle on the standard output channel.\\
1907
+
1907
1908
1908
1909
1909
1910
\noindent Consider an oracle that implements the interface declared with the following command:\\\\
The text file must contain a list of values $\paren{v_1 \ldots v_n}$ for the input parameters $x_1\ldots x_n$, and $v_i$ must have the same sort of$\sigma_i$.
1915
-
The oracle will return a list of values $\paren{v_{n+1} \ldotsv_{n+m}}$, corresponding to the output parameters $x_{n+1} \ldotsx_{n+m}$.
1915
+
The text file must contain a list of values $\paren{v_1 \ldots v_n}$ for the input parameters $x_1\ldots x_n$, and $v_i$ must have the same sort as$\sigma_i$.
1916
+
The oracle will return a list of values $\paren{v'_{1} \ldotsv'_{m}}$, corresponding to the output parameters $x'_{1} \ldotsx'_{m}$, and $v'_i$ must have the same sort as $\sigma'_i$.
1916
1917
%
1917
1918
The solver calls the oracle with the command ${\tt N \,\,textfile.oracle}$, where ${\tt N}$ is the name of the oracle implememtation as specified in the oracle constraint declaration.
0 commit comments