Skip to content

Commit

Permalink
Replace another picture with tikz
Browse files Browse the repository at this point in the history
  • Loading branch information
krypt-n committed Feb 4, 2018
1 parent f2c9139 commit de49fa5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
7 changes: 4 additions & 3 deletions chapters/300_ausdruckstaerke_etc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,8 @@ \subsubsection{Entscheidbarkeit}
\end{lemma}

\begin{proof}
Folgender rekursiver Algorithmus berechnet Extension von $C$ in $\MI$:\\
Folgender rekursiver Algorithmus berechnet Extension von $C$ in $\MI$:

%TODO: improve
\texttt{procedure} $ext(C, \MI)$\\
\begin{tabular}{l l l}
Expand All @@ -836,9 +837,9 @@ \subsubsection{Entscheidbarkeit}
& $C = D \sqcup E:$ & \texttt{return }
$ext(D, \MI) \cup ext(E, \MI)$\\
& $C = \exists r.D:$ & \texttt{return }
$\left\{d\in \Delta^\MI \middle| \exists e\in ext(D, \MI) : (d, e) \in r^\MI\right\}$\\
$\left\{d\in \Delta^\MI \mid \exists e\in ext(D, \MI) : (d, e) \in r^\MI\right\}$\\
& $C = \forall r.D:$ & \texttt{return }
$\left\{d\in \Delta^\MI \middle| \forall e \text{ mit } (d, e) \in r^\MI : e\in ext(D, \MI)\right\}$\\
$\left\{d\in \Delta^\MI \mid \forall e \text{ mit } (d, e) \in r^\MI : e\in ext(D, \MI)\right\}$\\
\end{tabular}\\
\texttt{endcase}

Expand Down
25 changes: 23 additions & 2 deletions chapters/400_tableau.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,29 @@ \subsubsection{I-Baum}\label{i-baum}
C_0 &= A \sqcap \forall r.(\neg A \sqcap \exists r.B)\\
\sub(C_0) &= \{A, \neg A, B, \exists r.B, \neg A \sqcap \exists r.B, \forall r.(\neg A \sqcap \exists r.B), C_0\}
\end{align*}

\includegraphics[width=3.71910in]{media/42ibaum.png}
Möglicher I-Baum:
\begin{center}
\begin{tikzpicture}
\begin{scope}[every node/.style={circle,draw,thick}]
\node (s0) at (0, 0) {};
\node (s1) at (-2, -2) {};
\node (s2) at (0, -2) {};
\node (s3) at (2, -2) {};
\node (s4) at (-2, -4) {};
\end{scope}
\begin{scope}[every node/.style={fill=white}]
\node [above = 0.4cm of s0] at (s0){$\{A, B, \exists r.B\}$};
\node [left = 0.4cm of s1] at (s1){$\{B, \neg A\}$};
\node [below = 0.4cm of s2] at (s2){$\{\exists r.B\}$};
\node [right = 0.4cm of s3] at (s3){$\{A, \neg A\}$};
\node [left = 0.4cm of s4] at (s4){$\{\exists r.B\}$};
\path [->] (s0) edge node {$r$}(s1);
\path [->] (s0) edge node {$s$}(s2);
\path [->] (s0) edge node {$r$}(s3);
\path [->] (s1) edge node {$s$}(s4);
\end{scope}
\end{tikzpicture}
\end{center}
\end{tafel}

\subsubsection{Tableau-Algorithmus}\label{tableau-algorithmus}
Expand Down

0 comments on commit de49fa5

Please sign in to comment.