author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Sun, 22 Dec 2013 07:37:26 +0000 | |
changeset 393 | 058f29ab515c |
parent 391 | 5c283ecefda6 |
permissions | -rw-r--r-- |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
(*<*) |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
2 |
theory Slides6 |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
imports "~~/src/HOL/Library/LaTeXsugar" |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
begin |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
notation (latex output) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
set ("_") and |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
Cons ("_::/_" [66,65] 65) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
(*>*) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
13 |
text_raw {* |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
14 |
\renewcommand{\slidecaption}{London, 3 October 2013} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
15 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
16 |
\newcommand{\sout}[1]{\tikz[baseline=(X.base), inner sep=-0.1pt, outer sep=0pt] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
17 |
\node [cross out,red, ultra thick, draw] (X) {\textcolor{black}{#1}};} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
18 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
19 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
20 |
\begin{frame} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
21 |
\frametitle{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
22 |
\begin{tabular}{@ {}c@ {}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
23 |
\\[-3mm] |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
24 |
\Large A Formalisation of the\\[-1mm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
25 |
\Large Myhill-Nerode Theorem using\\[-1mm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
26 |
\Large Regular Expressions only |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
27 |
\end{tabular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
28 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
29 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
30 |
Christian Urban\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
31 |
\small King's College London |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
32 |
\end{center}\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
33 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
34 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
35 |
\small joint work with Chunhan Wu and Xingyuan Zhang from the PLA |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
36 |
University of Science and Technology in Nanjing |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
37 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
38 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
39 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
40 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
41 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
42 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
43 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
44 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
45 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
46 |
\begin{frame}<1->[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
47 |
\frametitle{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
48 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
49 |
\mbox{}\\[2mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
50 |
\begin{itemize} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
51 |
\item my background is in: |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
52 |
\begin{itemize} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
53 |
\item \normalsize programming languages and |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
54 |
\item \normalsize theorem provers |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
55 |
\end{itemize}\medskip |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
56 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
57 |
\item \normalsize develop Nominal Isabelle for reasoning about programming languages\\[-10mm]\mbox{} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
58 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
59 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
60 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
61 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
62 |
\color{gray} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
63 |
\footnotesize |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
64 |
{\bf\mbox{}\hspace{-1.5mm}Variable Convention:}\\[0mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
65 |
If $M_1,\ldots,M_n$ occur in a certain mathematical context |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
66 |
(e.g. definition, proof), then in these terms all bound variables |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
67 |
are chosen to be different from the free variables.\hfill ---Henk Barendregt |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
68 |
\end{block} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
69 |
\end{center}\pause |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
70 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
71 |
\mbox{}\\[-19mm]\mbox{} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
72 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
73 |
\begin{itemize} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
74 |
\item found an error in an ACM journal paper by Bob Harper and Frank Pfenning |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
75 |
about LF (and fixed it in three ways) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
76 |
\end{itemize} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
77 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
78 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
79 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
80 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
81 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
82 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
83 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
84 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
85 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
86 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
87 |
\frametitle{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
88 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
89 |
\begin{itemize} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
90 |
\item found also fixable errors in my Ph.D.-thesis about cut-elimination |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
91 |
(examined by Henk Barendregt and Andy Pitts)\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
92 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
93 |
\item formalised a classic OS scheduling algorithm (priority inversion |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
94 |
protocol) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
95 |
\begin{itemize} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
96 |
\item original algorithm was incorrect even being proved correct (with `pencil-and-paper') |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
97 |
\item helped us to implement this algorithm correctly and efficiently\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
98 |
\end{itemize}\bigskip\pause |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
99 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
100 |
\item used Isabelle to prove properties about access controls and OSes |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
101 |
\end{itemize} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
102 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
103 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
104 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
105 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
106 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
107 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
108 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
109 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
110 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
111 |
\frametitle{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
112 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
113 |
\begin{textblock}{12.9}(1.5,2.0) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
114 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
115 |
\begin{minipage}{12.4cm}\raggedright |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
116 |
\large {\bf Motivation:}\\[2mm]I want to teach \alert{students} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
117 |
theorem\\ provers (especially for inductions). |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
118 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
119 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
120 |
\end{textblock}\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
121 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
122 |
\mbox{}\\[35mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
123 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
124 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
125 |
\item \only<2>{\smath{\text{fib}}, \smath{\text{even}} and \smath{\text{odd}}}% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
126 |
\only<3->{\sout{\smath{\text{fib}}, \smath{\text{even}} and \smath{\text{odd}}}}\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
127 |
\item<3-> formal language theory \\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
128 |
\mbox{}\;\;@{text "\<Rightarrow>"} nice textbooks: Kozen, Hopcroft \& Ullman\ldots |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
129 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
130 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
131 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
132 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
133 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
134 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
135 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
136 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
137 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
138 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
139 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
140 |
\begin{frame}<1->[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
141 |
\frametitle{Regular Expressions} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
142 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
143 |
\begin{textblock}{6}(2,4) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
144 |
\begin{tabular}{@ {}rrl} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
145 |
\bl{$r$} & \bl{$::=$} & \bl{$\varnothing$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
146 |
& \bl{$\mid$} & \bl{$[]$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
147 |
& \bl{$\mid$} & \bl{$c$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
148 |
& \bl{$\mid$} & \bl{$r_1 \cdot r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
149 |
& \bl{$\mid$} & \bl{$r_1 + r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
150 |
& \bl{$\mid$} & \bl{$r^*$}\\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
151 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
152 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
153 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
154 |
\begin{textblock}{6}(8,3.5) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
155 |
\includegraphics[scale=0.35]{Screen1.png} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
156 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
157 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
158 |
\begin{textblock}{6}(10.2,2.8) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
159 |
\footnotesize Isabelle: |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
160 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
161 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
162 |
\end{frame}} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
163 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
164 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
165 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
166 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
167 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
168 |
\mode<presentation>{ |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
169 |
\begin{frame}<1-5>[t] |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
170 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
171 |
\mbox{}\\[-2mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
172 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
173 |
\small |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
174 |
\begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}ll@ {}} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
175 |
\bl{$nullable(\varnothing)$} & \bl{$=$} & \bl{false} &\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
176 |
\bl{$nullable([])$} & \bl{$=$} & \bl{true} &\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
177 |
\bl{$nullable(c)$} & \bl{$=$} & \bl{false} &\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
178 |
\bl{$nullable(r_1 + r_2)$} & \bl{$=$} & \bl{$nullable(r_1) \vee nullable(r_2)$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
179 |
\bl{$nullable(r_1 \cdot r_2)$} & \bl{$=$} & \bl{$nullable(r_1) \wedge nullable(r_2)$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
180 |
\bl{$nullable(r^*)$} & \bl{$=$} & \bl{true} & \\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
181 |
\end{tabular}\medskip\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
182 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
183 |
\begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}l@ {\hspace{-10mm}}l@ {}} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
184 |
\bl{$der\,c\,(\varnothing)$} & \bl{$=$} & \bl{$\varnothing$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
185 |
\bl{$der\,c\,([])$} & \bl{$=$} & \bl{$\varnothing$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
186 |
\bl{$der\,c\,(d)$} & \bl{$=$} & \bl{if $c = d$ then $[]$ else $\varnothing$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
187 |
\bl{$der\,c\,(r_1 + r_2)$} & \bl{$=$} & \bl{$der\,c\,r_1 + der\,c\,r_2$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
188 |
\bl{$der\,c\,(r_1 \cdot r_2)$} & \bl{$=$} & \bl{if $nullable(r_1)$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
189 |
& & \bl{then $(der\,c\,r_1) \cdot r_2 + der\, c\, r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
190 |
& & \bl{else $(der\, c\, r_1) \cdot r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
191 |
\bl{$der\,c\,(r^*)$} & \bl{$=$} & \bl{$(der\,c\,r) \cdot r^*$} &\smallskip\\\pause |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
192 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
193 |
\bl{$deriv\,[]\,r$} & \bl{$=$} & \bl{$r$} & \\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
194 |
\bl{$deriv\,(c::s)\,r$} & \bl{$=$} & \bl{$deriv\,s\,(der\,c\,r)$} & \\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
195 |
\end{tabular}\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
196 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
197 |
\bl{$match\,r\,s = nullable (deriv\,s\,r)$} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
198 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
199 |
\only<4>{ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
200 |
\begin{textblock}{10.5}(2,5) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
201 |
\begin{tikzpicture} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
202 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
203 |
{\normalsize\color{darkgray} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
204 |
\begin{minipage}{10.5cm} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
205 |
\begin{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
206 |
a)\;\; \bl{$nullable(r) \Leftrightarrow ""\in {\cal L}(r)$}\medskip |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
207 |
\end{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
208 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
209 |
\begin{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
210 |
b)\;\; \bl{${\cal L}(der\,c\,r) = Der\,c\,({\cal L}(r))$} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
211 |
\end{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
212 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
213 |
where |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
214 |
\begin{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
215 |
\bl{$Der\,c\,A \dn \{s\,|\, c\!::\!s \in A\}$} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
216 |
\end{center}\medskip\pause |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
217 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
218 |
\begin{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
219 |
c)\;\; \bl{$match\,r\,s \Leftrightarrow s\in{\cal L}(r)$} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
220 |
\end{center} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
221 |
\end{minipage}}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
222 |
\end{tikzpicture} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
223 |
\end{textblock}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
224 |
|
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
225 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
226 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
227 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
228 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
229 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
230 |
text_raw {* |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
231 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
232 |
\mode<presentation>{ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
233 |
\begin{frame}[t] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
234 |
\frametitle{\begin{tabular}{c}\bl{$(a?\{n\}) \cdot a\{n\}$}\end{tabular}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
235 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
236 |
\mbox{}\\[-13mm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
237 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
238 |
\begin{tikzpicture}[y=.2cm, x=.3cm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
239 |
%axis |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
240 |
\draw (0,0) -- coordinate (x axis mid) (30,0); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
241 |
\draw (0,0) -- coordinate (y axis mid) (0,30); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
242 |
%ticks |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
243 |
\foreach \x in {0,5,...,30} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
244 |
\draw (\x,1pt) -- (\x,-3pt) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
245 |
node[anchor=north] {\x}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
246 |
\foreach \y in {0,5,...,30} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
247 |
\draw (1pt,\y) -- (-3pt,\y) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
248 |
node[anchor=east] {\y}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
249 |
%labels |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
250 |
\node[below=0.6cm] at (x axis mid) {\bl{a}s}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
251 |
\node[rotate=90, left=1.2cm] at (y axis mid) {secs}; |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
252 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
253 |
%plots |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
254 |
\draw[color=blue] plot[mark=*, mark options={fill=white}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
255 |
file {re-python.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
256 |
\draw[color=brown] plot[mark=pentagon*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
257 |
file {re-ruby.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
258 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
259 |
%legend |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
260 |
\begin{scope}[shift={(4,20)}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
261 |
\draw[color=blue] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
262 |
plot[mark=*, mark options={fill=white}] (0.25,0) -- (0.5,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
263 |
node[right]{\small Python}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
264 |
\draw[yshift=-\baselineskip, color=brown] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
265 |
plot[mark=pentagon*, mark options={fill=white}] (0.25,0) -- (0.5,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
266 |
node[right]{\small Ruby}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
267 |
\end{scope} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
268 |
\end{tikzpicture} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
269 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
270 |
\end{frame}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
271 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
272 |
*} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
273 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
274 |
text_raw {* |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
275 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
276 |
\mode<presentation>{ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
277 |
\begin{frame}[t] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
278 |
\frametitle{\begin{tabular}{c}\bl{$(a?\{n\}) \cdot a\{n\}$}\end{tabular}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
279 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
280 |
\mbox{}\\[-13mm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
281 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
282 |
\begin{tabular}{@ {\hspace{-5mm}}l} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
283 |
\begin{tikzpicture}[y=.2cm, x=.01cm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
284 |
%axis |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
285 |
\draw (0,0) -- coordinate (x axis mid) (1000,0); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
286 |
\draw (0,0) -- coordinate (y axis mid) (0,30); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
287 |
%ticks |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
288 |
\foreach \x in {0,200,...,1000} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
289 |
\draw (\x,1pt) -- (\x,-3pt) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
290 |
node[anchor=north] {\x}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
291 |
\foreach \y in {0,5,...,30} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
292 |
\draw (1pt,\y) -- (-3pt,\y) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
293 |
node[anchor=east] {\y}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
294 |
%labels |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
295 |
\node[below=0.6cm] at (x axis mid) {\bl{a}s}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
296 |
\node[rotate=90, left=1.2cm] at (y axis mid) {secs}; |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
297 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
298 |
%plots |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
299 |
\draw[color=blue] plot[mark=*, mark options={fill=white}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
300 |
file {re-python.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
301 |
\draw[color=green] plot[mark=square*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
302 |
file {re2c.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
303 |
\draw[color=brown] plot[mark=pentagon*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
304 |
file {re-ruby.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
305 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
306 |
%legend |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
307 |
\begin{scope}[shift={(100,20)}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
308 |
\draw[color=blue] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
309 |
plot[mark=*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
310 |
node[right]{\small Python}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
311 |
\draw[yshift=-13, color=brown] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
312 |
plot[mark=pentagon*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
313 |
node[right]{\small Ruby}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
314 |
\draw[yshift=13, color=green] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
315 |
plot[mark=square*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
316 |
node[right]{\small nullable + der}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
317 |
\end{scope} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
318 |
\end{tikzpicture} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
319 |
\end{tabular} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
320 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
321 |
\end{frame}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
322 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
323 |
*} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
324 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
325 |
text_raw{* |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
326 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
327 |
\mode<presentation>{ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
328 |
\begin{frame}[t] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
329 |
\frametitle{\begin{tabular}{c}\bl{$(a?\{n\}) \cdot a\{n\}$}\end{tabular}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
330 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
331 |
\mbox{}\\[-9mm] |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
332 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
333 |
\begin{tabular}{@ {\hspace{-5mm}}l} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
334 |
\begin{tikzpicture}[y=.2cm, x=.0008cm] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
335 |
%axis |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
336 |
\draw (0,0) -- coordinate (x axis mid) (12000,0); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
337 |
\draw (0,0) -- coordinate (y axis mid) (0,30); |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
338 |
%ticks |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
339 |
\foreach \x in {0,2000,...,12000} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
340 |
\draw (\x,1pt) -- (\x,-3pt) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
341 |
node[anchor=north] {\x}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
342 |
\foreach \y in {0,5,...,30} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
343 |
\draw (1pt,\y) -- (-3pt,\y) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
344 |
node[anchor=east] {\y}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
345 |
%labels |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
346 |
\node[below=0.6cm] at (x axis mid) {\bl{a}s}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
347 |
\node[rotate=90, left=1.2cm] at (y axis mid) {secs}; |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
348 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
349 |
%plots |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
350 |
\draw[color=green] plot[mark=square*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
351 |
file {re2b.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
352 |
\draw[color=black] plot[mark=square*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
353 |
file {re3.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
354 |
\draw[color=blue] plot[mark=*, mark options={fill=white}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
355 |
file {re-python.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
356 |
\draw[color=brown] plot[mark=pentagon*, mark options={fill=white} ] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
357 |
file {re-ruby.data}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
358 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
359 |
%legend |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
360 |
\begin{scope}[shift={(2000,20)}] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
361 |
\draw[color=blue] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
362 |
plot[mark=*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
363 |
node[right]{\small Python}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
364 |
\draw[yshift=-13, color=brown] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
365 |
plot[mark=pentagon*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
366 |
node[right]{\small Ruby}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
367 |
\draw[yshift=13, color=green] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
368 |
plot[mark=square*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
369 |
node[right]{\small nullable + der}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
370 |
\draw[yshift=26, color=black] (0,0) -- |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
371 |
plot[mark=square*, mark options={fill=white}] (0.25,0) -- (50,0) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
372 |
node[right]{\small nullable + der + simplification}; |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
373 |
\end{scope} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
374 |
\end{tikzpicture} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
375 |
\end{tabular} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
376 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
377 |
\end{frame}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
378 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
379 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
380 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
381 |
|
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
382 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
383 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
384 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
385 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
386 |
\frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
387 |
\mbox{}\\[-15mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
388 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
389 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
390 |
\huge\bf\textcolor{gray}{in Theorem Provers}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
391 |
\footnotesize\textcolor{gray}{e.g.~Isabelle, Coq, HOL4, \ldots} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
392 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
393 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
394 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
395 |
\item automata @{text "\<Rightarrow>"} graphs, matrices, functions |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
396 |
\item<2-> combining automata / graphs |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
397 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
398 |
\onslide<2->{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
399 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
400 |
\begin{tabular}{ccc} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
401 |
\begin{tikzpicture}[scale=1] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
402 |
%\draw[step=2mm] (-1,-1) grid (1,1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
403 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
404 |
\draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
405 |
\draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
406 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
407 |
\node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
408 |
\node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
409 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
410 |
\node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
411 |
\node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
412 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
413 |
\node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
414 |
\node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
415 |
\node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
416 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
417 |
\draw (-0.6,0.0) node {\small$A_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
418 |
\draw ( 0.6,0.0) node {\small$A_2$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
419 |
\end{tikzpicture}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
420 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
421 |
& |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
422 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
423 |
\onslide<3->{\raisebox{1.1mm}{\bf\Large$\;\Rightarrow\,$}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
424 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
425 |
& |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
426 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
427 |
\onslide<3->{\begin{tikzpicture}[scale=1] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
428 |
%\draw[step=2mm] (-1,-1) grid (1,1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
429 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
430 |
\draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
431 |
\draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
432 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
433 |
\node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
434 |
\node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
435 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
436 |
\node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
437 |
\node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
438 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
439 |
\node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
440 |
\node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
441 |
\node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
442 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
443 |
\draw [very thick, red] (C) to [bend left=45] (B); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
444 |
\draw [very thick, red] (D) to [bend right=45] (B); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
445 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
446 |
\draw (-0.6,0.0) node {\small$A_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
447 |
\draw ( 0.6,0.0) node {\small$A_2$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
448 |
\end{tikzpicture}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
449 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
450 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
451 |
\end{center}\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
452 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
453 |
\only<4-5>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
454 |
\begin{tabular}{@ {\hspace{-5mm}}l@ {}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
455 |
disjoint union:\\[2mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
456 |
\smath{A_1\uplus A_2 \dn \{(1, x)\,|\, x \in A_1\} \,\cup\, \{(2, y)\,|\, y \in A_2\}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
457 |
\end{tabular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
458 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
459 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
460 |
\only<5>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
461 |
\begin{textblock}{13.9}(0.7,7.7) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
462 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
463 |
\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
464 |
\begin{minipage}{14cm}\raggedright |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
465 |
Already problems with defining regularity:\bigskip\\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
466 |
\smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A}\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
467 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
468 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
469 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
470 |
\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
471 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
472 |
\only<6->{\underline{A solution}:\;\;use \smath{\text{nat}}s \;@{text "\<Rightarrow>"}\; state nodes\medskip} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
473 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
474 |
\only<7->{You have to \alert{rename} states apart!} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
475 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
476 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
477 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
478 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
479 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
480 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
481 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
482 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
483 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
484 |
\frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
485 |
\mbox{}\\[-15mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
486 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
487 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
488 |
\huge\bf\textcolor{gray}{in Theorem Provers}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
489 |
\footnotesize\textcolor{gray}{e.g.~Isabelle, Coq, HOL4, \ldots} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
490 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
491 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
492 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
493 |
\item Kozen's paper-proof of Myhill-Nerode:\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
494 |
requires absence of \alert{inaccessible states} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
495 |
\item complementation of automata only works for \alert{complete} automata |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
496 |
(need sink states)\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
497 |
\end{itemize}\bigskip\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
498 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
499 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
500 |
\smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
501 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
502 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
503 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
504 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
505 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
506 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
507 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
508 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
509 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
510 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
511 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
512 |
\frametitle{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
513 |
\mbox{}\\[25mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
514 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
515 |
\begin{textblock}{13.9}(0.7,1.2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
516 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
517 |
\begin{minipage}{13.4cm}\raggedright |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
518 |
{\bf Definition:}\smallskip\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
519 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
520 |
A language \smath{A} is \alert{regular}, provided there exists a\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
521 |
\alert{regular expression} that matches all strings of \smath{A}. |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
522 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
523 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
524 |
\end{textblock}\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
525 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
526 |
{\noindent\large\bf\alert{\ldots{}and forget about automata}}\bigskip\bigskip\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
527 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
528 |
Reasoning infrastructure is for free. But do we lose anything?\medskip\pause |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
529 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
530 |
\begin{minipage}{1.1\textwidth} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
531 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
532 |
\item pumping lemma\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
533 |
\item closure under complementation\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
534 |
\item \only<6>{regular expression matching}% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
535 |
\only<7->{\sout{regular expression matching} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
536 |
{\footnotesize(@{text "\<Rightarrow>"}Brzozowski'64, Owens et al '09)}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
537 |
\item<8-> most textbooks are about automata |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
538 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
539 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
540 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
541 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
542 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
543 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
544 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
545 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
546 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
547 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
548 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
549 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
550 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
551 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
552 |
\frametitle{\LARGE The Myhill-Nerode Theorem} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
553 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
554 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
555 |
\item provides necessary and suf\!ficient conditions\\ for a language |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
556 |
being regular\\ \textcolor{gray}{(pumping lemma only necessary)}\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
557 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
558 |
\item the key notion is the equivalence relation:\medskip |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
559 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
560 |
\smath{x \approx_{A} y \,\dn\, \forall z.\; x @ z \in A \Leftrightarrow y @ z \in A} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
561 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
562 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
563 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
564 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
565 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
566 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
567 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
568 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
569 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
570 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
571 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
572 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
573 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
574 |
\frametitle{\LARGE The Myhill-Nerode Theorem} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
575 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
576 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
577 |
\only<1>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
578 |
\begin{tikzpicture}[scale=3] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
579 |
\draw[very thick] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
580 |
\end{tikzpicture}}% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
581 |
\only<2->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
582 |
\begin{tikzpicture}[scale=3] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
583 |
\draw[very thick] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
584 |
\clip[draw] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
585 |
\draw[step=2mm, very thick] (-1.4,-1.4) grid (1.4,1.4); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
586 |
\end{tikzpicture}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
587 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
588 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
589 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
590 |
\item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_A) \;\Leftrightarrow\; A\; \text{is regular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
591 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
592 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
593 |
\begin{textblock}{5}(2.1,5.3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
594 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
595 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=2cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
596 |
{$U\!N\!IV$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
597 |
\draw (-0.3,-1.1) node {\begin{tabular}{l}set of all\\[-1mm] strings\end{tabular}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
598 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
599 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
600 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
601 |
\only<2->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
602 |
\begin{textblock}{5}(9.1,7.2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
603 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
604 |
\node at (0,0) [shape border rotate=180,single arrow, fill=red,text=white, minimum height=2cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
605 |
{@{text "\<lbrakk>s\<rbrakk>"}$_{\approx_{A}}$}; |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
606 |
\draw (0.9,-1.1) node {\begin{tabular}{l}\;\;an equivalence class\end{tabular}}; |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
607 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
608 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
609 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
610 |
\only<3->{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
611 |
\begin{textblock}{11.9}(1.7,3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
612 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
613 |
\begin{minipage}{11.4cm}\raggedright |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
614 |
Two directions:\medskip\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
615 |
\begin{tabular}{@ {}ll} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
616 |
1.)\;finite $\Rightarrow$ regular\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
617 |
\;\;\;\smath{\text{finite}\,(U\!N\!IV /\!/ \approx_A) \Rightarrow \exists r.\;A = {\cal L}(r)}\\[3mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
618 |
2.)\;regular $\Rightarrow$ finite\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
619 |
\;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{{\cal L}(r)})} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
620 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
621 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
622 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
623 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
624 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
625 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
626 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
627 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
628 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
629 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
630 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
631 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
632 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
633 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
634 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
635 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
636 |
\frametitle{\LARGE Initial and Final {\sout{\textcolor{gray}{States}}}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
637 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
638 |
\begin{textblock}{8}(10, 2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
639 |
\textcolor{black}{Equivalence Classes} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
640 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
641 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
642 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
643 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
644 |
\begin{tikzpicture}[scale=3] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
645 |
\draw[very thick] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
646 |
\clip[draw] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
647 |
\draw[step=2mm, very thick] (-1.4,-1.4) grid (1.4,1.4); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
648 |
\only<2->{\draw[blue, fill] (0.0, 0.6) rectangle (0.2, 0.8);} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
649 |
\only<3->{\draw[red, fill] (0.2, 0.2) rectangle (0.4, 0.4); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
650 |
\draw[red, fill] (0.4, 0.8) rectangle (0.6, 1.0); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
651 |
\draw[red, fill] (0.6, 0.0) rectangle (0.8, 0.2); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
652 |
\draw[red, fill] (0.8, 0.4) rectangle (1.0, 0.6);} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
653 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
654 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
655 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
656 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
657 |
\item \smath{\text{finals}\,A\,\dn \{[\!|s|\!]_{\approx_{A}}\;|\;s \in A\}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
658 |
\smallskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
659 |
\item we can prove: \smath{A = \bigcup \text{finals}\,A} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
660 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
661 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
662 |
\only<2->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
663 |
\begin{textblock}{5}(2.1,4.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
664 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
665 |
\node at (0,0) [single arrow, fill=blue,text=white, minimum height=2cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
666 |
{$[] \in X$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
667 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
668 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
669 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
670 |
\only<3->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
671 |
\begin{textblock}{5}(10,7.4) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
672 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
673 |
\node at (0,0) [shape border rotate=180,single arrow, fill=red,text=white, minimum height=2cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
674 |
{a final}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
675 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
676 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
677 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
678 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
679 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
680 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
681 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
682 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
683 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
684 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
685 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
686 |
\begin{frame}<-1>[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
687 |
\frametitle{\begin{tabular}{@ {}l}\LARGE% |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
688 |
Transitions\end{tabular}} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
689 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
690 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
691 |
\begin{tikzpicture}[scale=3] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
692 |
\draw[very thick] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
693 |
\clip[draw] (0.5,0.5) circle (.6cm); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
694 |
\draw[step=2mm, very thick] (-1.4,-1.4) grid (1.4,1.4); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
695 |
\draw[blue, fill] (0.0, 0.6) rectangle (0.2, 0.8); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
696 |
\draw[blue, fill] (0.8, 0.4) rectangle (1.0, 0.6); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
697 |
\draw[white] (0.1,0.7) node (X) {$X$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
698 |
\draw[white] (0.9,0.5) node (Y) {$Y$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
699 |
\draw[blue, ->, line width = 2mm, bend left=45] (X) -- (Y); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
700 |
\node [inner sep=1pt,label=above:\textcolor{blue}{$c$}] at ($ (X)!.5!(Y) $) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
701 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
702 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
703 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
704 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
705 |
\smath{X \stackrel{c}{\longrightarrow} Y \;\dn\; X ; c \subseteq Y} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
706 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
707 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
708 |
\onslide<8>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
709 |
\begin{tabular}{c} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
710 |
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
711 |
\tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
712 |
\node[state,initial] (q_0) {$R_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
713 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
714 |
\end{tabular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
715 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
716 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
717 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
718 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
719 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
720 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
721 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
722 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
723 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
724 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
725 |
\frametitle{\LARGE Systems of Equations} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
726 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
727 |
Inspired by a method of Brzozowski\;'64:\bigskip\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
728 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
729 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
730 |
\begin{tabular}{@ {\hspace{-20mm}}c} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
731 |
\\[-13mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
732 |
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
733 |
\tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
734 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
735 |
%\draw[help lines] (0,0) grid (3,2); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
736 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
737 |
\node[state,initial] (p_0) {$X_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
738 |
\node[state,accepting] (p_1) [right of=q_0] {$X_2$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
739 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
740 |
\path[->] (p_0) edge [bend left] node {a} (p_1) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
741 |
edge [loop above] node {b} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
742 |
(p_1) edge [loop above] node {a} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
743 |
edge [bend left] node {b} (p_0); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
744 |
\end{tikzpicture}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
745 |
\\[-13mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
746 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
747 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
748 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
749 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
750 |
\begin{tabular}{@ {\hspace{-6mm}}ll@ {\hspace{1mm}}c@ {\hspace{1mm}}l} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
751 |
& \smath{X_1} & \smath{=} & \smath{X_1;b + X_2;b \onslide<2->{\alert<2>{+ \lambda;[]}}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
752 |
& \smath{X_2} & \smath{=} & \smath{X_1;a + X_2;a}\medskip\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
753 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
754 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
755 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
756 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
757 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
758 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
759 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
760 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
761 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
762 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
763 |
\begin{frame}<1>[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
764 |
\small |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
765 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
766 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
767 |
\begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
768 |
\onslide<1->{\smath{X_1}} & \onslide<1->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
769 |
& \onslide<1->{\smath{X_1; b + X_2; b + \lambda;[]}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
770 |
\onslide<1->{\smath{X_2}} & \onslide<1->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
771 |
& \onslide<1->{\smath{X_1; a + X_2; a}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
772 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
773 |
& & & \onslide<2->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
774 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
775 |
\onslide<2->{\smath{X_1}} & \onslide<2->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
776 |
& \onslide<2->{\smath{X_1; b + X_2; b + \lambda;[]}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
777 |
\onslide<2->{\smath{X_2}} & \onslide<2->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
778 |
& \only<2->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
779 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
780 |
& & & \onslide<4->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
781 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
782 |
\onslide<4->{\smath{X_1}} & \onslide<4->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
783 |
& \onslide<4->{\smath{X_2; b \cdot b^\star+ \lambda;b^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
784 |
\onslide<4->{\smath{X_2}} & \onslide<4->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
785 |
& \onslide<4->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
786 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
787 |
& & & \onslide<5->{by substitution}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
788 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
789 |
\onslide<5->{\smath{X_1}} & \onslide<5->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
790 |
& \onslide<5->{\smath{X_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
791 |
\onslide<5->{\smath{X_2}} & \onslide<5->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
792 |
& \onslide<5->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
793 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
794 |
& & & \onslide<6->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
795 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
796 |
\onslide<6->{\smath{X_1}} & \onslide<6->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
797 |
& \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
798 |
\onslide<6->{\smath{X_2}} & \onslide<6->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
799 |
& \onslide<6->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
800 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
801 |
& & & \onslide<7->{by substitution}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
802 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
803 |
\onslide<7->{\smath{X_1}} & \onslide<7->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
804 |
& \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
805 |
\onslide<7->{\smath{X_2}} & \onslide<7->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
806 |
& \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
807 |
\cdot a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
808 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
809 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
810 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
811 |
\only<8->{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
812 |
\begin{textblock}{6}(2.5,4) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
813 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
814 |
\begin{minipage}{8cm}\raggedright |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
815 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
816 |
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick, inner sep=1mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
817 |
\tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
818 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
819 |
%\draw[help lines] (0,0) grid (3,2); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
820 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
821 |
\node[state,initial] (p_0) {$X_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
822 |
\node[state,accepting] (p_1) [right of=q_0] {$X_2$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
823 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
824 |
\path[->] (p_0) edge [bend left] node {a} (p_1) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
825 |
edge [loop above] node {b} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
826 |
(p_1) edge [loop above] node {a} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
827 |
edge [bend left] node {b} (p_0); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
828 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
829 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
830 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
831 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
832 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
833 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
834 |
\only<1,2>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
835 |
\begin{textblock}{3}(0.6,1.2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
836 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
837 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
838 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
839 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
840 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
841 |
\only<2>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
842 |
\begin{textblock}{3}(0.6,3.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
843 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
844 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
845 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
846 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
847 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
848 |
\only<4>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
849 |
\begin{textblock}{3}(0.6,2.9) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
850 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
851 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
852 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
853 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
854 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
855 |
\only<4>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
856 |
\begin{textblock}{3}(0.6,5.3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
857 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
858 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
859 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
860 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
861 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
862 |
\only<5>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
863 |
\begin{textblock}{3}(1.0,5.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
864 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
865 |
\node at (0,0) (A) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
866 |
\node at (0,1) (B) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
867 |
\draw[<-, line width=2mm, red] (B) to (A); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
868 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
869 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
870 |
\only<5,6>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
871 |
\begin{textblock}{3}(0.6,7.7) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
872 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
873 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
874 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
875 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
876 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
877 |
\only<6>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
878 |
\begin{textblock}{3}(0.6,10.1) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
879 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
880 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
881 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
882 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
883 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
884 |
\only<7>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
885 |
\begin{textblock}{3}(1.0,10.3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
886 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
887 |
\node at (0,0) (A) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
888 |
\node at (0,1) (B) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
889 |
\draw[->, line width=2mm, red] (B) to (A); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
890 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
891 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
892 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
893 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
894 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
895 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
896 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
897 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
898 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
899 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
900 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
901 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
902 |
\frametitle{\LARGE A Variant of Arden's Lemma} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
903 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
904 |
{\bf Arden's Lemma:}\smallskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
905 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
906 |
If \smath{[] \not\in A} then |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
907 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
908 |
\smath{X = X; A + \text{something}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
909 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
910 |
has the (unique) solution |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
911 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
912 |
\smath{X = \text{something} ; A^\star} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
913 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
914 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
915 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
916 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
917 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
918 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
919 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
920 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
921 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
922 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
923 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
924 |
\begin{frame}<1-2,4->[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
925 |
\small |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
926 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
927 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
928 |
\begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
929 |
\onslide<1->{\smath{X_1}} & \onslide<1->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
930 |
& \onslide<1->{\smath{X_1; b + X_2; b + \lambda;[]}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
931 |
\onslide<1->{\smath{X_2}} & \onslide<1->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
932 |
& \onslide<1->{\smath{X_1; a + X_2; a}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
933 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
934 |
& & & \onslide<2->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
935 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
936 |
\onslide<2->{\smath{X_1}} & \onslide<2->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
937 |
& \onslide<2->{\smath{X_1; b + X_2; b + \lambda;[]}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
938 |
\onslide<2->{\smath{X_2}} & \onslide<2->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
939 |
& \only<2->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
940 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
941 |
& & & \onslide<4->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
942 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
943 |
\onslide<4->{\smath{X_1}} & \onslide<4->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
944 |
& \onslide<4->{\smath{X_2; b \cdot b^\star+ \lambda;b^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
945 |
\onslide<4->{\smath{X_2}} & \onslide<4->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
946 |
& \onslide<4->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
947 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
948 |
& & & \onslide<5->{by substitution}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
949 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
950 |
\onslide<5->{\smath{X_1}} & \onslide<5->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
951 |
& \onslide<5->{\smath{X_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
952 |
\onslide<5->{\smath{X_2}} & \onslide<5->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
953 |
& \onslide<5->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
954 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
955 |
& & & \onslide<6->{by Arden}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
956 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
957 |
\onslide<6->{\smath{X_1}} & \onslide<6->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
958 |
& \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
959 |
\onslide<6->{\smath{X_2}} & \onslide<6->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
960 |
& \onslide<6->{\smath{X_1; a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
961 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
962 |
& & & \onslide<7->{by substitution}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
963 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
964 |
\onslide<7->{\smath{X_1}} & \onslide<7->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
965 |
& \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
966 |
\onslide<7->{\smath{X_2}} & \onslide<7->{\smath{=}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
967 |
& \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
968 |
\cdot a\cdot a^\star}}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
969 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
970 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
971 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
972 |
\only<8->{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
973 |
\begin{textblock}{6}(2.5,4) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
974 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
975 |
\begin{minipage}{8cm}\raggedright |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
976 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
977 |
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick, inner sep=1mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
978 |
\tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
979 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
980 |
%\draw[help lines] (0,0) grid (3,2); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
981 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
982 |
\node[state,initial] (p_0) {$X_1$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
983 |
\node[state,accepting] (p_1) [right of=q_0] {$X_2$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
984 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
985 |
\path[->] (p_0) edge [bend left] node {a} (p_1) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
986 |
edge [loop above] node {b} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
987 |
(p_1) edge [loop above] node {a} () |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
988 |
edge [bend left] node {b} (p_0); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
989 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
990 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
991 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
992 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
993 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
994 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
995 |
\only<1,2>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
996 |
\begin{textblock}{3}(0.6,1.2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
997 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
998 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
999 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1000 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1001 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1002 |
\only<2>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1003 |
\begin{textblock}{3}(0.6,3.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1004 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1005 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1006 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1007 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1008 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1009 |
\only<4>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1010 |
\begin{textblock}{3}(0.6,2.9) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1011 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1012 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1013 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1014 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1015 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1016 |
\only<4>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1017 |
\begin{textblock}{3}(0.6,5.3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1018 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1019 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1020 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1021 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1022 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1023 |
\only<5>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1024 |
\begin{textblock}{3}(1.0,5.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1025 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1026 |
\node at (0,0) (A) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1027 |
\node at (0,1) (B) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1028 |
\draw[<-, line width=2mm, red] (B) to (A); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1029 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1030 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1031 |
\only<5,6>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1032 |
\begin{textblock}{3}(0.6,7.7) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1033 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1034 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1035 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1036 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1037 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1038 |
\only<6>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1039 |
\begin{textblock}{3}(0.6,10.1) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1040 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1041 |
\node at (0,0) [single arrow, fill=red,text=white, minimum height=0cm] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1042 |
{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1043 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1044 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1045 |
\only<7>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1046 |
\begin{textblock}{3}(1.0,10.3) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1047 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1048 |
\node at (0,0) (A) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1049 |
\node at (0,1) (B) {}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1050 |
\draw[->, line width=2mm, red] (B) to (A); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1051 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1052 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1053 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1054 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1055 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1056 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1057 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1058 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1059 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1060 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1061 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1062 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1063 |
\frametitle{\LARGE The Other Direction} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1064 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1065 |
One has to prove |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1066 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1067 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1068 |
\smath{\text{finite} (U\!N\!IV /\!/ \approx_{{\cal L}(r)})} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1069 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1070 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1071 |
by induction on \smath{r}. Not trivial, but after a bit |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1072 |
of thinking, one can find a \alert{refined} relation:\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1073 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1074 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1075 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1076 |
\mbox{\begin{tabular}{c@ {\hspace{7mm}}c@ {\hspace{7mm}}c} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1077 |
\begin{tikzpicture}[scale=1.1] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1078 |
%Circle |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1079 |
\draw[thick] (0,0) circle (1.1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1080 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1081 |
& |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1082 |
\begin{tikzpicture}[scale=1.1] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1083 |
%Circle |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1084 |
\draw[thick] (0,0) circle (1.1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1085 |
%Main rays |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1086 |
\foreach \a in {0, 90,...,359} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1087 |
\draw[very thick] (0, 0) -- (\a:1.1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1088 |
\foreach \a / \l in {45/1, 135/2, 225/3, 315/4} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1089 |
\draw (\a: 0.65) node {\small$a_\l$}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1090 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1091 |
& |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1092 |
\begin{tikzpicture}[scale=1.1] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1093 |
%Circle |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1094 |
\draw[red, thick] (0,0) circle (1.1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1095 |
%Main rays |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1096 |
\foreach \a in {0, 45,...,359} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1097 |
\draw[red, very thick] (0, 0) -- (\a:1.1); |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1098 |
\foreach \a / \l in {22.5/1.1, 67.5/1.2, 112.5/2.1, 157.5/2.2, 202.4/3.1, 247.5/3.2, 292.5/4.1, 337.5/4.2} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1099 |
\draw (\a: 0.77) node {\textcolor{red}{\footnotesize$a_{\l}$}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1100 |
\end{tikzpicture}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1101 |
\small\smath{U\!N\!IV} & |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1102 |
\small\smath{U\!N\!IV /\!/ \approx_{{\cal L}(r)}} & |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1103 |
\small\smath{U\!N\!IV /\!/ \alert{R}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1104 |
\end{tabular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1105 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1106 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1107 |
\begin{textblock}{5}(9.8,2.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1108 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1109 |
\node at (0,0) [shape border rotate=270,single arrow, fill=red,text=white, minimum height=0cm]{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1110 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1111 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1112 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1113 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1114 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1116 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1117 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1118 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1119 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1120 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1121 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1122 |
\frametitle{\LARGE\begin{tabular}{c}Derivatives of RExps\end{tabular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1123 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1124 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1125 |
\item introduced by Brzozowski~'64 |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1126 |
\item produces a regular expression after a character has been ``parsed''\\[-18mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1127 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1128 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1129 |
\only<1->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1130 |
\textcolor{blue}{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1131 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1132 |
\begin{tabular}{@ {}lc@ {\hspace{3mm}}l@ {}} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1133 |
$der\,c\,\varnothing$ & $\dn$ & $\varnothing$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1134 |
$der\,c\,[]$ & $\dn$ & $\varnothing$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1135 |
$der\,c\,d$ & $\dn$ & if $c = d$ then $[]$ else $\varnothing$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1136 |
$der\,c\,(r_1 + r_2)$ & $\dn$ & $der\,c\,r_1 + der\,c\,r_2$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1137 |
$der\,c\,(r^*)$ & $\dn$ & $(der\,c\,r) \cdot r^*$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1138 |
$der\,c\,(r_1 \cdot r_2)$ & $\dn$ & \bl{if $nullable(r_1)$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1139 |
& & \bl{then $(der\,c\,r_1) \cdot r_2 + der\, c\, r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1140 |
& & \bl{else $(der\, c\, r_1) \cdot r_2$}\\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1141 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1142 |
\end{center}}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1143 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1144 |
\only<2->{ |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1145 |
\begin{textblock}{14.1}(1.5,5.7) |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1146 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1147 |
\begin{quote} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1148 |
\begin{minipage}{14.1cm}\raggedright\rm |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1149 |
derivatives refine \smath{x \approx_{{\cal{L}}(r)} y}\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1150 |
\begin{center} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1151 |
\only<2>{\mbox{\hspace{-22mm}}\smath{{\cal{L}}(deriv~x~r) = {\cal{L}}(deriv~y~r) |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1152 |
\Longleftrightarrow x \approx_{{\cal{L}}(r)} y}} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1153 |
\only<3>{\mbox{\hspace{-22mm}}\smath{deriv~x~r = deriv~y~r |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1154 |
\Longrightarrow x \approx_{{\cal{L}}(r)} y}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1155 |
\end{center}\bigskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1156 |
\ |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1157 |
\smath{\text{finite}(deriv~A~r)}, but only modulo ACI |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1158 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1159 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1160 |
\begin{tabular}{@ {\hspace{-10mm}}rcl} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1161 |
\smath{(r_1 + r_2) + r_3} & \smath{\equiv} & \smath{r_1 + (r_2 + r_3)}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1162 |
\smath{r_1 + r_2} & \smath{\equiv} & \smath{r_2 + r_1}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1163 |
\smath{r + r} & \smath{\equiv} & \smath{r}\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1164 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1165 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1166 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1167 |
\end{quote} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1168 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1169 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1170 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1171 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1172 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1173 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1174 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1175 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1176 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1177 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1178 |
\begin{frame}<2>[t] |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1179 |
\frametitle{\LARGE\begin{tabular}{c}Partial Derivatives\end{tabular}} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1180 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1181 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1182 |
\only<2>{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1183 |
\textcolor{blue}{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1184 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1185 |
\begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}l@ {}} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1186 |
$pder\,c\,\varnothing$ & $\dn$ & \alert{$\{\}$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1187 |
$pder\,c\,[]$ & $\dn$ & \alert{$\{\}$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1188 |
$pder\,c\,d$ & $\dn$ & if $c = d$ then $\{[]\}$ else $\{\}$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1189 |
$pder\,c\,(r_1 + r_2)$ & $\dn$ & $pder\,c\,r_1 \alert{\cup} pder\,c\,r_2$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1190 |
$pder\,c\,(r^\star)$ & $\dn$ & $(pder\,c\,r) \cdot r^\star$\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1191 |
$pder\,c\,(r_1 \cdot r_2)$ & $\dn$ & \bl{if $nullable(r_1)$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1192 |
& & \bl{then $(pder\,c\,r_1) \cdot r_2 \alert{\cup} pder\, c\, r_2$}\\ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1193 |
& & \bl{else $(pder\, c\, r_1) \cdot r_2$}\\ |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1194 |
\end{tabular} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1195 |
\end{center}}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1196 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1197 |
\only<2>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1198 |
\begin{textblock}{6}(8.5,2.7) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1199 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1200 |
\begin{quote} |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1201 |
\begin{minipage}{6cm}\rm\raggedright |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1202 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1203 |
\item partial derivatives |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1204 |
\item by Antimirov~'95 |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1205 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1206 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1207 |
\end{quote} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1208 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1209 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1210 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1211 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1212 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1213 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1214 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1215 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1216 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1217 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1218 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1219 |
\frametitle{\LARGE Partial Derivatives} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1220 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1221 |
\mbox{}\\[0mm]\mbox{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1222 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1223 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1224 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1225 |
\item \alt<1>{\smath{\text{$pderiv\,x\,r = pderiv\,y\,r$}}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1226 |
{\smath{\underbrace{\text{$pderiv\,x\,r = pderiv\,y\,r$}}_{R}}} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1227 |
refines \textcolor{blue}{$x$ $\approx_{{\cal L}(r)}$ $y$}\\[16mm]\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1228 |
\item \smath{\text{finite} (U\!N\!IV /\!/ R)} \bigskip\pause |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1229 |
\item Therefore \smath{\text{finite} (U\!N\!IV /\!/ \approx_{{\cal L}(r)})}. Qed.\bigskip\pause |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1230 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1231 |
\item We also gave a direct proof, but not as beautiful. |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1232 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1233 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1234 |
\only<2->{% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1235 |
\begin{textblock}{5}(3.9,7.2) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1236 |
\begin{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1237 |
\node at (0,0) [shape border rotate=270,single arrow, fill=red,text=white, minimum height=0cm]{\textcolor{red}{a}}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1238 |
\draw (2.2,0) node {Antimirov '95}; |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1239 |
\end{tikzpicture} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1240 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1241 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1242 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1243 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1244 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1245 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1246 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1247 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1248 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1249 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1250 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1251 |
\begin{frame}[t] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1252 |
\frametitle{\LARGE What Have We Achieved?} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1253 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1254 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1255 |
\item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_A) \;\Leftrightarrow\; A\; \text{is regular}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1256 |
\medskip\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1257 |
\item regular languages are closed under complementation; this is now easy |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1258 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1259 |
\smath{U\!N\!IV /\!/ \approx_A \;\;=\;\; U\!N\!IV /\!/ \approx_{\overline{A}}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1260 |
\end{center}\pause\medskip |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1261 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1262 |
\item non-regularity (\smath{a^nb^n})\medskip\pause\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1263 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1264 |
\item take \alert{\bf any} language\\ build the language of substrings\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1265 |
\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1266 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1267 |
then this language \alert{\bf is} regular\;\; (\smath{a^nb^n} $\Rightarrow$ \smath{a^\star{}b^\star}) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1268 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1269 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1270 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1271 |
\only<2>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1272 |
\begin{textblock}{10}(4,14) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1273 |
\small |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1274 |
\smath{x \approx_{A} y \,\dn\, \forall z.\; x @ z \in A \Leftrightarrow y @ z \in A} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1275 |
\end{textblock}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1276 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1277 |
\only<4>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1278 |
\begin{textblock}{5}(2,8.6) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1279 |
\begin{minipage}{8.8cm} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1280 |
\begin{block}{} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1281 |
\begin{minipage}{8.6cm} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1282 |
If there exists a sufficiently large set \smath{B} (for example infinitely large), |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1283 |
such that |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1284 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1285 |
\begin{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1286 |
\smath{\forall x,y \in B.\; x \not= y \;\Rightarrow\; x \not\approx_{A} y}. |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1287 |
\end{center} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1288 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1289 |
then \smath{A} is not regular.\hspace{1.3cm}\small(\smath{B \dn \bigcup_n a^n}) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1290 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1291 |
\end{block} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1292 |
\end{minipage} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1293 |
\end{textblock} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1294 |
} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1295 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1296 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1297 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1298 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1299 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1300 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1301 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1302 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1303 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1304 |
\begin{frame}[c] |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1305 |
\frametitle{\LARGE Conclusion} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1306 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1307 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1308 |
\item we have never seen a proof of Myhill-Nerode based on |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1309 |
regular expressions\smallskip\pause |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1310 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1311 |
\item great source of examples (inductions)\smallskip\pause |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1312 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1313 |
\item no need to fight the theorem prover:\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1314 |
\begin{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1315 |
\item first direction (790 loc)\\ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1316 |
\item second direction (400 / 390 loc) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1317 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1318 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1319 |
\item I am not saying automata are bad; just proofs about |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1320 |
them are quite difficult in theorem provers\bigskip |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1321 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1322 |
\item \small our journal paper has just been accepted in JAR (see webpage) |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1323 |
\end{itemize} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1324 |
|
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1325 |
\end{frame}} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1326 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1327 |
*} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1328 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1329 |
text_raw {* |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1330 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1331 |
\mode<presentation>{ |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1332 |
\begin{frame}[c] |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1333 |
\frametitle{\LARGE Future Work} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1334 |
|
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1335 |
\begin{itemize} |
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1336 |
\item regular expression sub-matching with derivatives (Martin Sulzmann PPDP'12)\bigskip |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1337 |
\item parsing with derivatives of grammars\\ (Matt Might ICFP'11) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1338 |
\end{itemize} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1339 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1340 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1341 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1342 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1343 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1344 |
text_raw {* |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1345 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1346 |
\mode<presentation>{ |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1347 |
\begin{frame}[b] |
391
5c283ecefda6
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
390
diff
changeset
|
1348 |
\frametitle{\mbox{}\\[2cm]\textcolor{red}{Thank you very much\\ for listening!\\[5mm]Questions?}} |
390
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1349 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1350 |
\end{frame}} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1351 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1352 |
*} |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1353 |
|
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1354 |
(*<*) |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1355 |
end |
15b8fc34cb08
added new slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1356 |
(*>*) |