-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathanthem.tex
40 lines (40 loc) · 1.25 KB
/
anthem.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% ----------------------------------------------------------------------
\begin{frame}{\anthem}
\begin{itemize}
\item \structure{Idea} \ verify logic programs
\item \structure{Features}
\begin{itemize}
\item translate logic programs to first-order theories
\item verify properties of the original programs, such as strong and external equivalence
\item different back-end theorem provers, eg \vampire
\end{itemize}
\item \structure{References} \ \cite{lilusc19a,falilusc20a}
\end{itemize}
\end{frame}
% ----------------------------------------------------------------------
\begin{frame}[fragile]{Example}{Make your choice}
\centering
\begin{lstlisting}[basicstyle=\small\ttfamily]
% choice.1.lp
{q(X)} :- p(X).
\end{lstlisting}
\vfill
\begin{lstlisting}[basicstyle=\small\ttfamily]
% choice.2.lp
q(X) :- p(X), not not q(X).
\end{lstlisting}
\vfill
\begin{lstlisting}[basicstyle=\small\ttfamily]
$ anthem verify \
$ --equivalence strong \
$ choice.1.lp choice.2.lp
<snip>
> Success! Anthem found a proof of equivalence.
\end{lstlisting}
\end{frame}
% ----------------------------------------------------------------------
%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../../main"
%%% End: