|
|
\hspace{-0.09cm}\scalebox{0.85}{ \begin{dplltabular}{5} \dpllStep{1|2|3|4|5} \dpllDecL{0|1|1|1|1} \dpllAssi{ - |$\lnot a$|$\lnot a, \lnot b$|$\lnot a, \lnot b, \lnot c$|\makecell{$\lnot a, \lnot b, \lnot c, $ \\ $\lnot d$}} \dpllClause{1}{$b, \lnot d, a$}{$b, \lnot d, a$|$b, \lnot d$|$\lnot d$|$\lnot d$|\done} \dpllClause{2}{$\lnot a, c$}{$\lnot a, c$|\done|\done|\done|\done} \dpllClause{3}{$\lnot a, b, c$}{$\lnot a, b, c$|\done|\done|\done|\done} \dpllClause{4}{$\lnot b, e$}{$\lnot b, e$|$\lnot b, e$|\done|\done|\done} \dpllClause{5}{$a, d$}{$a, d$|$d$|$d$|$d$|\conflict} \dpllClause{6}{$a, \lnot c$}{$a, \lnot c$|$\lnot c$|$\lnot c$|\done|\done} \dpllClause{7}{$\lnot a, \lnot e, \lnot d$}{$\lnot a, \lnot e, \lnot d$|\done|\done|\done|\done} \dpllClause{8}{$a, \lnot b$}{$a, \lnot b$|$\lnot b$|\done|\done|\done} \dpllBCP{ - |$\lnot b$|$\lnot c$|$\lnot d$| - } \dpllPL{ - | - | - | - | - } \dpllDeci{$\lnot a$| - | - | - | - } \end{dplltabular} }
Conflict in step 5\\ \scalebox{0.75}{
\begin{tikzpicture}[>=latex,line join=bevel,] \pgfsetlinewidth{1bp} %%
\pgfsetcolor{black} % Edge: 1 -> 3
\draw [->] (22.223bp,55.0bp) .. controls (50.414bp,55.0bp) and (129.66bp,55.0bp) .. (177.75bp,55.0bp); \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (100.0bp,62.5bp) node {$$1$$}; % Edge: 1 -> 4
\draw [->] (18.027bp,46.114bp) .. controls (23.074bp,39.428bp) and (30.901bp,30.65bp) .. (40.0bp,26.0bp) .. controls (66.949bp,12.229bp) and (102.57bp,9.9572bp) .. (134.8bp,10.34bp); \draw (54.0bp,33.5bp) node {$$5$$}; % Edge: 1 -> 5
\draw [->] (21.311bp,59.709bp) .. controls (35.439bp,66.854bp) and (62.567bp,80.574bp) .. (89.756bp,94.325bp); \draw (54.0bp,90.5bp) node {$$8$$}; % Edge: 3 -> 2
\draw [->] (199.16bp,50.341bp) .. controls (207.09bp,46.306bp) and (218.8bp,40.346bp) .. (237.68bp,30.744bp); % Edge: 4 -> 2
\draw [->] (156.95bp,12.493bp) .. controls (173.2bp,14.93bp) and (205.73bp,19.81bp) .. (237.09bp,24.513bp); % Edge: 5 -> 3
\draw [->] (110.31bp,94.291bp) .. controls (124.44bp,87.146bp) and (151.57bp,73.426bp) .. (178.76bp,59.675bp); \draw (146.0bp,90.5bp) node {$$1$$}; % Node: 1
\begin{scope} \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (11.0bp,55.0bp) ellipse (11.0bp and 11.0bp); \draw (11.0bp,55.0bp) node {$\lnot a$}; \end{scope} % Node: 3
\begin{scope} \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (189.0bp,55.0bp) ellipse (11.0bp and 11.0bp); \draw (189.0bp,55.0bp) node {$\lnot d$}; \end{scope} % Node: 4
\begin{scope} \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (146.0bp,11.0bp) ellipse (11.0bp and 11.0bp); \draw (146.0bp,11.0bp) node {$d$}; \end{scope} % Node: 5
\begin{scope} \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (100.0bp,99.0bp) ellipse (11.0bp and 11.0bp); \draw (100.0bp,99.0bp) node {$\lnot b$}; \end{scope} % Node: 2
\begin{scope} \definecolor{strokecol}{rgb}{0.0,0.0,0.0}; \pgfsetstrokecolor{strokecol} \draw (248.0bp,26.0bp) ellipse (11.0bp and 11.0bp); \draw (248.0bp,26.0bp) node {$\bot$}; \end{scope} %
\end{tikzpicture}
} \begin{prooftree} \AxiomC{$1. \; b \lor \lnot d \lor a$} \AxiomC{$5. \; a \lor d$} \BinaryInfC{$b \lor a$} \AxiomC{$8. \; a \lor \lnot b$} \BinaryInfC{$a$} \end{prooftree}
\hspace{-0.09cm}\scalebox{0.85}{ \begin{dplltabular}{5} \dpllStep{6|7|8|9|10} \dpllDecL{0|0|0|0|0} \dpllAssi{ - |$a$|$a, c$|$a, c, \lnot b$|\makecell{$a, c, \lnot b, $ \\ $\lnot d$}} \dpllClause{1}{$b, \lnot d, a$}{$b, \lnot d, a$|\done|\done|\done|\done} \dpllClause{2}{$\lnot a, c$}{$\lnot a, c$|$c$|\done|\done|\done} \dpllClause{3}{$\lnot a, b, c$}{$\lnot a, b, c$|$b, c$|\done|\done|\done} \dpllClause{4}{$\lnot b, e$}{$\lnot b, e$|$\lnot b, e$|$\lnot b, e$|\done|\done} \dpllClause{5}{$a, d$}{$a, d$|\done|\done|\done|\done} \dpllClause{6}{$a, \lnot c$}{$a, \lnot c$|\done|\done|\done|\done} \dpllClause{7}{$\lnot a, \lnot e, \lnot d$}{$\lnot a, \lnot e, \lnot d$|$\lnot e, \lnot d$|$\lnot e, \lnot d$|$\lnot e, \lnot d$|\done} \dpllClause{8}{$a, \lnot b$}{$a, \lnot b$|\done|\done|\done|\done} \dpllClause{9}{$a$}{$a$|\done|\done|\done|\done} \dpllBCP{$a$|$c$| - | - | - } \dpllPL{ - | - |$\lnot b$|$\lnot d$| - } \dpllDeci{ - | - | - | - |SAT} \end{dplltabular} }
|