Skip to content

Commit e7a92f6

Browse files
authored
remove symbol from corr oracles (#22)
1 parent 30aff5b commit e7a92f6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

language/sygus.tex

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,26 +1360,27 @@ \subsection{Pre-defined Oracle Types}
13601360
where $F_c$ is a candidate implementation for $F$, and $R$ is a boolean that indicates that the oracle was able to find a counterexample.
13611361

13621362

1363-
\item$\paren{\corroracledeckwd\mbox{ }S\mbox{ }F\mbox{ } N} $
1363+
\item$\paren{\corroracledeckwd\mbox{ }F\mbox{ } N} $
13641364

1365-
This declares a correctness oracle, and adds associated function oracle symbol $S$ to the signature, that determines whether a candidate implementation of a synthesis function $F$,
1365+
This declares a correctness oracle that determines whether a candidate implementation of a synthesis function $F$,
13661366
where $F$ is a synthesis function symbol in the current signature
13671367
with sort $\sigma_1, \ldots \sigma_n \rightarrow \sigma$, is correct.
13681368

13691369

13701370
This oracle is mandatory to call in order to determine correctness of the synthesis function and so it is syntactic sugar for:
13711371

1372-
$\paren{\oracledeckwd\mbox{ }S\mbox{ }\paren{
1372+
$\paren{\oracledeckwd\mbox{ }s\mbox{ }\paren{
13731373
\paren{
13741374
\funsortkwd \mbox{ } \sigma_1 \ldots \sigma_n\mbox{ }\sigma }}
13751375
\mbox{ }\sbool \mbox{ } N}\\
13761376
%
1377-
\paren{\constraintkwd \mbox{ } \paren{S \mbox{ } F}}
1377+
\paren{\constraintkwd \mbox{ } \paren{s \mbox{ } F}}
13781378
$
13791379

1380+
where $s$ is a fresh symbol.
13801381

1381-
\item$\paren{\corrcexoracledeckwd\mbox{ }S\mbox{ } F\mbox{ }N} $
1382-
This declares a correctness oracle, and adds associated functional oracle symbol $S$ to the signature, that determines whether a candidate implementation of a synthesis function $F$,
1382+
\item$\paren{\corrcexoracledeckwd\mbox{ } F\mbox{ }N} $
1383+
This declares a correctness oracle that determines whether a candidate implementation of a synthesis function $F$,
13831384
where $F$ is a synthesis function symbol in the current signature
13841385
with sort $\sigma_1, \ldots \sigma_n \rightarrow \sigma$, is correct and returns a counterexample if not.
13851386

@@ -1392,14 +1393,15 @@ \subsection{Pre-defined Oracle Types}
13921393
\paren{\implopkwd R \mbox{ } \paren{{\tt not} \paren{{\tt=}\mbox{ } \paren{F \mbox{ } x_1 \ldots x_n} \mbox{ } \paren{F_c \mbox{ }x_1 \ldots x_n }}}}\mbox{ }N} \\
13931394
$
13941395
$
1395-
\paren{\oracledeckwd\mbox{ }S\mbox{ }\paren{
1396+
\paren{\oracledeckwd\mbox{ }s\mbox{ }\paren{
13961397
\paren{
13971398
\funsortkwd \mbox{ } \sigma_1 \ldots \sigma_n\mbox{ }\sigma }}
13981399
\mbox{ }\sbool \mbox{ }N}\\
13991400
%
1400-
\paren{\constraintkwd \mbox{ } \paren{S \mbox{ } F}}
1401+
\paren{\constraintkwd \mbox{ } \paren{s \mbox{ } F}}
14011402
$
14021403

1404+
where $s$ is a fresh symbol.
14031405

14041406

14051407
% \item$\paren{\dioracledeckwd\mbox{ }S\mbox{ } F\mbox{ }} $

0 commit comments

Comments
 (0)