Slides/Slides1.thy
author urbanc
Tue, 23 Aug 2011 00:24:10 +0000
changeset 204 e7edf55befc6
child 206 69c22ded2f49
permissions -rw-r--r--
beginnig of the slides (not yet finished)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
204
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     1
(*<*)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     2
theory Slides1
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     3
imports "~~/src/HOL/Library/LaTeXsugar"
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     4
begin
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     5
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     6
notation (latex output)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     7
  set ("_") and
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
     9
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    10
(*>*)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    11
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    12
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    13
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    14
  %\renewcommand{\slidecaption}{Cambridge, 9 November 2010}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    15
  \renewcommand{\slidecaption}{Nijmegen, 25 August 2011}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    16
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    17
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    18
  \begin{frame}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    19
  \frametitle{%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    20
  \begin{tabular}{@ {}c@ {}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    21
  \Large A Formalisation of the\\[-4mm] 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    22
  \Large Myhill-Nerode Theorem based on\\[-4mm] 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    23
  \Large Regular Expressions\\[-4mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    24
  \Large (Proof Pearl)\\[0mm] 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    25
  \end{tabular}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    26
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    27
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    28
  \begin{tabular}{c@ {\hspace{15mm}}c}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    29
  \includegraphics[scale=0.034]{chunhan.jpg} &
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    30
  \includegraphics[scale=0.034]{xingyuan.jpg}\\[-5mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    31
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    32
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    33
 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    34
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    35
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    36
  \small joint work with Chunhan Wu and Xingyuan Zhang from the PLA
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    37
  University of Science and Technology in Nanjing
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    38
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    39
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    40
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    41
  \small Christian Urban\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    42
  TU Munich
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    43
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    44
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    45
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    46
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    47
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    48
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    49
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    50
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    51
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    52
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    53
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    54
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    55
  \frametitle{In Most Textbooks\ldots}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    56
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    57
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    58
  \item A \alert{regular language} is one where there is a DFA that 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    59
  recognises it.\bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    60
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    61
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    62
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    63
  I can think of three reasons why this is a good definition:\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    64
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    65
  \item string matching via DFAs (yacc)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    66
  \item pumping lemma
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    67
  \item closure properties of regular languages (closed under complement)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    68
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    69
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    70
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    71
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    72
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    73
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    74
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    75
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    76
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    77
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    78
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    79
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    80
  \frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    81
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    82
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    83
  \huge\bf\textcolor{gray}{in Nuprl}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    84
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    85
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    86
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    87
  \item Constable, Jackson, Naumov, Uribe\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    88
  \item \alert{18 months} for automata theory, Hopcroft \& Ullman chapters 1--11 (including Myhill-Nerode)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    89
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    90
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    91
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    92
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    93
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    94
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    95
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    96
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    97
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    98
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
    99
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   100
  \frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   101
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   102
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   103
  \huge\bf\textcolor{gray}{in Coq}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   104
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   105
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   106
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   107
  \item Filli\^atre, Briais, Braibant and others
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   108
  \item multi-year effort; a number of results in automata theory, e.g.\medskip 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   109
    \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   110
    \item Kleene's thm.~by Filli\^atre (\alert{``rather big''})
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   111
    \item automata theory by Briais (5400 loc)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   112
    \item Braibant ATBR library, including Myhill-Nerode ($>\!\!\!>$2000 loc)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   113
    \item Mirkin's partial derivative automaton construction (10600 loc)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   114
    \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   115
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   116
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   117
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   118
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   119
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   120
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   121
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   122
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   123
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   124
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   125
  \begin{frame}[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   126
  \frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   127
  \mbox{}\\[-10mm]\mbox{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   128
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   129
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   130
  \huge\bf\textcolor{gray}{in HOL}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   131
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   132
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   133
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   134
  \item automata @{text "\<Rightarrow>"} graphs, matrices, functions
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   135
  \item<2-> combining automata/graphs
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   136
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   137
  \onslide<2->{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   138
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   139
  \begin{tabular}{ccc}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   140
  \begin{tikzpicture}[scale=1]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   141
  %\draw[step=2mm] (-1,-1) grid (1,1);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   142
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   143
  \draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   144
  \draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   145
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   146
  \node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   147
  \node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   148
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   149
  \node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   150
  \node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   151
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   152
  \node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   153
  \node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   154
  \node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   155
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   156
  \draw (-0.6,0.0) node {\small$A_1$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   157
  \draw ( 0.6,0.0) node {\small$A_2$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   158
  \end{tikzpicture}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   159
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   160
  & 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   161
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   162
  \onslide<3->{\raisebox{1.1mm}{\bf\Large$\;\Rightarrow\,$}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   163
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   164
  &
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   165
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   166
  \onslide<3->{\begin{tikzpicture}[scale=1]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   167
  %\draw[step=2mm] (-1,-1) grid (1,1);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   168
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   169
  \draw[rounded corners=1mm, very thick] (-1.0,-0.3) rectangle (-0.2,0.3);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   170
  \draw[rounded corners=1mm, very thick] ( 0.2,-0.3) rectangle ( 1.0,0.3);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   171
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   172
  \node (A) at (-1.0,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   173
  \node (B) at ( 0.2,0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   174
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   175
  \node (C) at (-0.2, 0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   176
  \node (D) at (-0.2,-0.13) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   177
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   178
  \node (E) at (1.0, 0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   179
  \node (F) at (1.0,-0.0) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   180
  \node (G) at (1.0,-0.2) [circle, very thick, draw, fill=white, inner sep=0.4mm] {};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   181
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   182
  \draw (C) to [red, very thick, bend left=45] (B);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   183
  \draw (D) to [red, very thick, bend right=45] (B);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   184
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   185
  \draw (-0.6,0.0) node {\small$A_1$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   186
  \draw ( 0.6,0.0) node {\small$A_2$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   187
  \end{tikzpicture}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   188
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   189
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   190
  \end{center}\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   191
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   192
  \only<4-5>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   193
  \begin{tabular}{@ {}l@ {}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   194
  disjoint union:\\[2mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   195
  \smath{A_1\uplus A_2 \dn \{(1, x)\,|\, x \in A_1\} \,\cup\, \{(2, y)\,|\, y \in A_2\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   196
  \end{tabular}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   197
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   198
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   199
  \only<5>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   200
  \begin{textblock}{13.9}(0.7,7.7)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   201
  \begin{block}{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   202
  \medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   203
  \begin{minipage}{14cm}\raggedright
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   204
  Problems with definition for regularity (Slind):\bigskip\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   205
  \smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A}\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   206
  \end{minipage}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   207
  \end{block}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   208
  \end{textblock}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   209
  \medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   210
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   211
  \only<6->{A solution:\;\;\smath{\text{nat}} @{text "\<Rightarrow>"} state nodes}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   212
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   213
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   214
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   215
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   216
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   217
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   218
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   219
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   220
  \begin{frame}[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   221
  \frametitle{\normalsize Formal language theory\ldots\hfill\mbox{}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   222
  \mbox{}\\[-10mm]\mbox{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   223
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   224
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   225
  \huge\bf\textcolor{gray}{in HOL}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   226
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   227
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   228
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   229
  \item Kozen's proof of Myhill-Nerode:\\ 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   230
  \hspace{5cm}\alert{inaccessible states}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   231
  \end{itemize}\bigskip\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   232
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   233
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   234
  \smath{\;\text{is\_regular}(A) \dn \exists M.\;\text{is\_dfa}(M) \wedge {\cal L} (M) = A}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   235
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   236
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   237
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   238
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   239
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   240
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   241
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   242
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   243
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   244
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   245
  \begin{frame}[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   246
  \frametitle{Regular Expressions}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   247
  \mbox{}\\[20mm]\mbox{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   248
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   249
  \begin{textblock}{13.9}(0.7,2.2)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   250
  \begin{block}{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   251
  \begin{minipage}{13.4cm}\raggedright
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   252
  {\bf Definition:}\smallskip\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   253
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   254
  A language \smath{A} is \alert{regular}, provided there exists a\\ 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   255
  regular expression that matches all strings of \smath{A}.
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   256
  \end{minipage}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   257
  \end{block}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   258
  \end{textblock}\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   259
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   260
  {\large\bf\alert{\ldots{}and forget about automata}}\bigskip\bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   261
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   262
  What we might lose?\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   263
  \begin{itemize}\renewcommand{\ULthickness}{2pt}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   264
  \item pumping lemma\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   265
  \item closure under complementation\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   266
  \item \only<6>{regular expression matching}%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   267
        \only<7>{\textcolor{red}{\sout{\textcolor{black}{regular expression matching}}}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   268
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   269
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   270
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   271
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   272
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   273
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   274
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   275
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   276
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   277
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   278
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   279
  \begin{frame}[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   280
  \frametitle{Regular Expressions}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   281
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   282
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   283
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   284
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   285
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   286
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   287
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   288
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   289
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   290
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   291
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   292
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   293
  \frametitle{\LARGE Regular Expression Matching}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   294
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   295
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   296
  \item Harper in JFP'99: ``Functional Pearl: Proof- Directed Debugging''\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   297
  \item Yi in JFP'06: ``Educational Pearl: `Proof-Directed Debugging' revisited 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   298
  for a first-order version''\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   299
  \item Owens et al in JFP'09: ``Regular-expression derivatives re-examined''\bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   300
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   301
  \begin{quote}\small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   302
  ``Unfortunately, regular expression derivatives have been lost in the 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   303
  sands of time, and few computer scientists are aware of them.''
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   304
  \end{quote}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   305
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   306
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   307
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   308
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   309
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   310
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   311
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   312
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   313
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   314
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   315
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   316
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   317
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   318
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   319
  \frametitle{\LARGE The Myhill-Nerode Theorem}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   320
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   321
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   322
  \item provides necessary and suf\!ficient conditions for a language 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   323
  being regular (pumping lemma only necessary)\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   324
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   325
  \item will help with closure properties of regular languages\bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   326
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   327
  \item key is the equivalence relation:\smallskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   328
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   329
  \smath{x \approx_{L} y \,\dn\, \forall z.\; x @ z \in L \Leftrightarrow y @ z \in L}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   330
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   331
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   332
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   333
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   334
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   335
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   336
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   337
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   338
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   339
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   340
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   341
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   342
  \frametitle{\LARGE The Myhill-Nerode Theorem}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   343
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   344
  \mbox{}\\[5cm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   345
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   346
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   347
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_L) \;\Leftrightarrow\; L\; \text{is regular}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   348
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   349
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   350
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   351
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   352
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   353
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   354
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   355
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   356
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   357
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   358
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   359
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   360
  \frametitle{\LARGE Equivalence Classes}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   361
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   362
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   363
  \item \smath{L = []}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   364
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   365
  \smath{\Big\{\{[]\},\; U\!N\!IV - \{[]\}\Big\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   366
  \end{center}\bigskip\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   367
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   368
  \item \smath{L = [c]}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   369
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   370
  \smath{\Big\{\{[]\},\; \{[c]\},\; U\!N\!IV - \{[], [c]\}\Big\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   371
  \end{center}\bigskip\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   372
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   373
  \item \smath{L = \varnothing}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   374
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   375
  \smath{\Big\{U\!N\!IV\Big\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   376
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   377
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   378
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   379
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   380
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   381
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   382
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   383
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   384
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   385
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   386
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   387
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   388
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   389
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   390
  \frametitle{\LARGE Regular Languages}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   391
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   392
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   393
  \item \smath{L} is regular \smath{\dn} if there is an automaton \smath{M} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   394
  such that \smath{\mathbb{L}(M) = L}\\[1.5cm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   395
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   396
  \item Myhill-Nerode:
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   397
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   398
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   399
  \begin{tabular}{l}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   400
  finite $\Rightarrow$ regular\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   401
  \;\;\;\smath{\text{finite}\,(U\!N\!IV /\!/ \approx_L) \Rightarrow \exists r. L = \mathbb{L}(r)}\\[3mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   402
  regular $\Rightarrow$ finite\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   403
  \;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   404
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   405
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   406
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   407
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   408
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   409
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   410
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   411
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   412
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   413
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   414
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   415
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   416
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   417
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   418
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   419
  \frametitle{\LARGE Final States}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   420
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   421
  \mbox{}\\[3cm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   422
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   423
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   424
  \item \smath{\text{final}_L\,X \dn}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   425
  \smath{\hspace{6mm}X \in (U\!N\!IV /\!/\approx_L) \;\wedge\; \forall s \in X.\; s \in L}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   426
  \smallskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   427
  \item we can prove: \smath{L = \bigcup \{X.\;\text{final}_L\,X\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   428
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   429
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   430
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   431
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   432
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   433
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   434
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   435
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   436
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   437
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   438
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   439
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   440
  \frametitle{\LARGE Transitions between\\[-3mm] Equivalence Classes}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   441
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   442
  \smath{L = \{[c]\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   443
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   444
  \begin{tabular}{@ {\hspace{-7mm}}cc}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   445
  \begin{tabular}{c}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   446
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   447
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   448
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   449
  %\draw[help lines] (0,0) grid (3,2);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   450
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   451
  \node[state,initial]   (q_0)                        {$R_1$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   452
  \node[state,accepting] (q_1) [above right of=q_0]   {$R_2$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   453
  \node[state]           (q_2) [below right of=q_0]   {$R_3$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   454
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   455
  \path[->] (q_0) edge                node        {c} (q_1)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   456
                  edge                node [swap] {$\Sigma-{c}$} (q_2)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   457
            (q_2) edge [loop below]   node        {$\Sigma$} ()
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   458
            (q_1) edge                node        {$\Sigma$} (q_2);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   459
  \end{tikzpicture}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   460
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   461
  &
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   462
  \begin{tabular}[t]{ll}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   463
  \\[-20mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   464
  \multicolumn{2}{l}{\smath{U\!N\!IV /\!/\approx_L} produces}\\[4mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   465
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   466
  \smath{R_1}: & \smath{\{[]\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   467
  \smath{R_2}: & \smath{\{[c]\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   468
  \smath{R_3}: & \smath{U\!N\!IV - \{[], [c]\}}\\[6mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   469
  \multicolumn{2}{l}{\onslide<2->{\smath{X \stackrel{c}{\longrightarrow} Y \dn X ; [c] \subseteq Y}}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   470
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   471
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   472
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   473
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   474
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   475
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   476
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   477
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   478
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   479
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   480
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   481
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   482
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   483
  \frametitle{\LARGE Systems of Equations}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   484
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   485
  Inspired by a method of Brzozowski\;'64, we can build an equational system
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   486
  characterising the equivalence classes:
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   487
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   488
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   489
  \begin{tabular}{@ {\hspace{-20mm}}c}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   490
  \\[-13mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   491
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   492
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   493
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   494
  %\draw[help lines] (0,0) grid (3,2);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   495
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   496
  \node[state,initial]   (p_0)                  {$R_1$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   497
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   498
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   499
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   500
                  edge [loop above]   node       {b} ()
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   501
            (p_1) edge [loop above]   node       {a} ()
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   502
                  edge [bend left]   node        {b} (p_0);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   503
  \end{tikzpicture}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   504
  \\[-13mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   505
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   506
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   507
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   508
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   509
  \begin{tabular}{@ {\hspace{-6mm}}ll@ {\hspace{1mm}}c@ {\hspace{1mm}}l}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   510
  & \smath{R_1} & \smath{\equiv} & \smath{R_1;b + R_2;b \onslide<2->{\alert<2>{+ \lambda;[]}}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   511
  & \smath{R_2} & \smath{\equiv} & \smath{R_1;a + R_2;a}\medskip\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   512
  \onslide<3->{we can prove} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   513
  & \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   514
      & \onslide<3->{\smath{R_1; \mathbb{L}(b) \,\cup\, R_2;\mathbb{L}(b) \,\cup\, \{[]\};\{[]\}}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   515
  & \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   516
      & \onslide<3->{\smath{R_1; \mathbb{L}(a) \,\cup\, R_2;\mathbb{L}(a)}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   517
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   518
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   519
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   520
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   521
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   522
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   523
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   524
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   525
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   526
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   527
  \begin{frame}<1>[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   528
  \small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   529
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   530
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   531
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   532
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   533
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   534
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   535
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   536
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   537
  & & & \onslide<2->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   538
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   539
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   540
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   541
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   542
      & \only<2>{\smath{R_1; a + R_2; a}}%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   543
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   544
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   545
  & & & \onslide<4->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   546
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   547
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   548
      & \onslide<4->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   549
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   550
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   551
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   552
  & & & \onslide<5->{by substitution}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   553
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   554
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   555
      & \onslide<5->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   556
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   557
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   558
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   559
  & & & \onslide<6->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   560
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   561
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   562
      & \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   563
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   564
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   565
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   566
  & & & \onslide<7->{by substitution}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   567
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   568
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   569
      & \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   570
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   571
      & \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   572
          \cdot a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   573
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   574
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   575
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   576
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   577
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   578
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   579
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   580
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   581
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   582
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   583
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   584
  \frametitle{\LARGE A Variant of Arden's Lemma}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   585
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   586
  {\bf Arden's Lemma:}\smallskip 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   587
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   588
  If \smath{[] \not\in A} then
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   589
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   590
  \smath{X = X; A + \text{something}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   591
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   592
  has the (unique) solution
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   593
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   594
  \smath{X = \text{something} ; A^\star}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   595
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   596
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   597
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   598
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   599
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   600
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   601
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   602
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   603
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   604
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   605
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   606
  \begin{frame}<1->[t]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   607
  \small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   608
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   609
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   610
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   611
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   612
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   613
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   614
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   615
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   616
  & & & \onslide<2->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   617
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   618
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   619
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   620
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   621
      & \only<2>{\smath{R_1; a + R_2; a}}%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   622
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   623
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   624
  & & & \onslide<4->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   625
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   626
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   627
      & \onslide<4->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   628
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   629
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   630
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   631
  & & & \onslide<5->{by substitution}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   632
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   633
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   634
      & \onslide<5->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   635
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   636
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   637
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   638
  & & & \onslide<6->{by Arden}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   639
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   640
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   641
      & \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   642
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   643
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   644
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   645
  & & & \onslide<7->{by substitution}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   646
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   647
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   648
      & \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   649
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   650
      & \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   651
          \cdot a\cdot a^\star}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   652
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   653
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   654
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   655
  \only<8->{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   656
  \begin{textblock}{6}(2.5,4)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   657
  \begin{block}{}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   658
  \begin{minipage}{8cm}\raggedright
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   659
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   660
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick, inner sep=1mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   661
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   662
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   663
  %\draw[help lines] (0,0) grid (3,2);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   664
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   665
  \node[state,initial]   (p_0)                  {$R_1$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   666
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   667
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   668
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   669
                  edge [loop above]   node       {b} ()
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   670
            (p_1) edge [loop above]   node       {a} ()
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   671
                  edge [bend left]   node        {b} (p_0);
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   672
  \end{tikzpicture}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   673
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   674
  \end{minipage}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   675
  \end{block}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   676
  \end{textblock}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   677
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   678
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   679
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   680
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   681
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   682
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   683
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   684
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   685
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   686
  \frametitle{\LARGE The Equ's Solving Algorithm}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   687
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   688
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   689
  \item The algorithm must terminate: Arden makes one equation smaller; 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   690
  substitution deletes one variable from the right-hand sides.\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   691
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   692
  \item We need to maintain the invariant that Arden is applicable
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   693
  (if \smath{[] \not\in A} then \ldots):\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   694
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   695
  \begin{center}\small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   696
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   697
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   698
  \smath{R_2} & \smath{=} & \smath{R_1; a + R_2; a}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   699
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   700
  & & & by Arden\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   701
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   702
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   703
  \smath{R_2} & \smath{=} & \smath{R_1; a\cdot a^\star}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   704
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   705
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   706
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   707
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   708
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   709
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   710
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   711
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   712
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   713
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   714
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   715
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   716
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   717
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   718
  \frametitle{\LARGE The Equ's Solving Algorithm}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   719
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   720
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   721
  \item The algorithm is still a bit hairy to formalise because of our set-representation
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   722
  for equations:
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   723
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   724
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   725
  \begin{tabular}{ll}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   726
  \smath{\big\{ (X, \{(Y_1, r_1), (Y_2, r_2), \ldots\}),}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   727
  \mbox{}\hspace{5mm}\smath{\ldots}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   728
  & \smath{\big\}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   729
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   730
  \end{center}\bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   731
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   732
  \small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   733
  they are generated from \smath{U\!N\!IV /\!/ \approx_L}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   734
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   735
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   736
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   737
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   738
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   739
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   740
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   741
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   742
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   743
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   744
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   745
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   746
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   747
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   748
  \frametitle{\LARGE Other Direction}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   749
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   750
  One has to prove
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   751
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   752
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   753
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   754
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   755
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   756
  by induction on \smath{r}. Not trivial, but after a bit 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   757
  of thinking (by Chunhan), one can prove that if
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   758
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   759
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   760
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_1)})}\hspace{5mm}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   761
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_2)})}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   762
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   763
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   764
  then
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   765
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   766
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   767
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_1) \,\cup\, \mathbb{L}(r_2)})}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   768
  \end{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   769
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   770
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   771
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   772
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   773
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   774
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   775
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   776
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   777
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   778
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   779
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   780
  \frametitle{\LARGE What Have We Achieved?}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   781
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   782
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   783
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_L) \;\Leftrightarrow\; L\; \text{is regular}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   784
  \bigskip\pause
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   785
  \item regular languages are closed under complementation; this is easy
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   786
  \begin{center}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   787
  \smath{U\!N\!IV /\!/ \approx_L \;\;=\;\; U\!N\!IV /\!/ \approx_{-L}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   788
  \end{center}\pause\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   789
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   790
  \item if you want to do regular expression matching (see Scott's paper)\pause\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   791
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   792
  \item I cannot yet give definite numbers
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   793
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   794
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   795
  \only<2>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   796
  \begin{textblock}{10}(4,14)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   797
  \small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   798
  \smath{x \approx_{L} y \,\dn\, \forall z.\; x @ z \in L \Leftrightarrow y @ z \in L}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   799
  \end{textblock}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   800
  }
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   801
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   802
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   803
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   804
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   805
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   806
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   807
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   808
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   809
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   810
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   811
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   812
  \frametitle{\LARGE Examples}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   813
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   814
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   815
  \item \smath{L \equiv \Sigma^\star 0 \Sigma} is regular
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   816
  \begin{quote}\small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   817
  \begin{tabular}{lcl}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   818
  \smath{A_1} & \smath{=} & \smath{\Sigma^\star 00}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   819
  \smath{A_2} & \smath{=} & \smath{\Sigma^\star 01}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   820
  \smath{A_3} & \smath{=} & \smath{\Sigma^\star 10 \cup \{0\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   821
  \smath{A_4} & \smath{=} & \smath{\Sigma^\star 11 \cup \{1\} \cup \{[]\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   822
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   823
  \end{quote}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   824
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   825
  \item \smath{L \equiv \{ 0^n 1^n \,|\, n \ge 0\}} is not regular
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   826
  \begin{quote}\small
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   827
  \begin{tabular}{lcl}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   828
  \smath{B_0} & \smath{=} & \smath{\{0^n 1^n \,|\,     n \ge 0\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   829
  \smath{B_1} & \smath{=} & \smath{\{0^n 1^{(n-1)} \,|\, n \ge 1\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   830
  \smath{B_2} & \smath{=} & \smath{\{0^n 1^{(n-2)} \,|\, n \ge 2\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   831
  \smath{B_3} & \smath{=} & \smath{\{0^n 1^{(n-3)} \,|\, n \ge 3\}}\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   832
              & \smath{\vdots} &\\
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   833
  \end{tabular}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   834
  \end{quote}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   835
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   836
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   837
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   838
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   839
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   840
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   841
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   842
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   843
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   844
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   845
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   846
  \frametitle{\LARGE What We Have Not Achieved}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   847
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   848
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   849
  \item regular expressions are not good if you look for a minimal
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   850
  one for a language (DFAs have this notion)\pause\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   851
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   852
  \item Is there anything to be said about context free languages:\medskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   853
  
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   854
  \begin{quote}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   855
  A context free language is where every string can be recognised by
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   856
  a pushdown automaton.
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   857
  \end{quote}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   858
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   859
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   860
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   861
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   862
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   863
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   864
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   865
text_raw {*
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   866
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   867
  \mode<presentation>{
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   868
  \begin{frame}[c]
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   869
  \frametitle{\LARGE Conclusion}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   870
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   871
  \begin{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   872
  \item on balance regular expression are superior 
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   873
  to DFAs, in my opinion\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   874
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   875
  \item I cannot think of a reason to not teach regular languages
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   876
  to students this way (!?)\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   877
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   878
  \item I have never ever seen a proof of Myhill-Nerode based on
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   879
  regular expressions\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   880
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   881
  \item no application, but lots of fun\bigskip
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   882
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   883
  \item great source of examples
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   884
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   885
  \end{itemize}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   886
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   887
  \end{frame}}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   888
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   889
*}
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   890
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   891
(*<*)
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   892
end
e7edf55befc6 beginnig of the slides (not yet finished)
urbanc
parents:
diff changeset
   893
(*>*)