Slides/Slides1.thy
author urbanc
Wed, 10 Nov 2010 11:53:07 +0000
changeset 21 6a0538d8ccd5
parent 16 663816814e3e
permissions -rw-r--r--
my slides from the talk in Cambridge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     1
(*<*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     2
theory Slides1
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     3
imports "LaTeXsugar"
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     4
begin
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     5
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     6
notation (latex output)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     7
  set ("_") and
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     9
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    10
(*>*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    11
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    12
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    13
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    14
  \renewcommand{\slidecaption}{Cambridge, 9 November 2010}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    15
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    16
  \mode<presentation>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    17
  \begin{frame}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    18
  \frametitle{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    19
  \begin{tabular}{@ {}c@ {}}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    20
  \LARGE A Formalisation of the\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    21
  \LARGE Myhill-Nerode Theorem\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    22
  \LARGE based on Regular Expressions\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    23
  \large \onslide<2>{\alert{or, Regular Languages Done Right}}\\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    24
  \end{tabular}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    25
  
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    26
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    27
  Christian Urban
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    28
  \end{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    29
 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    30
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    31
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    32
  joint work with Chunhan Wu and Xingyuan Zhang from the PLA
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    33
  University of Science and Technology in Nanjing
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    34
  \end{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    35
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    36
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    37
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    38
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    39
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    40
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    41
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    42
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    43
  \mode<presentation>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    44
  \begin{frame}[c]
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    45
  \frametitle{In Textbooks\ldots}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    46
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    47
  \begin{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    48
  \item A \alert{regular language} is one where there is DFA that 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    49
  recognises it.\pause
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    50
  \item Pumping lemma, closure properties of regular languages (closed 
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    51
  under ``negation'') etc are all described and proved in terms of DFAs.\pause
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    52
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    53
  \item Similarly the Myhill-Nerode theorem, which gives necessary and sufficient
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    54
  conditions for a language being regular (also describes a minimal DFA for a language).
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    55
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    56
  \end{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    57
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    58
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    59
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    60
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    61
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    62
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    63
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    64
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    65
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    66
  \mode<presentation>{
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    67
  \begin{frame}[t]
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    68
  \frametitle{Really Bad News!}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    69
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    70
  This is bad news for formalisations in theorem provers. DFAs might
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    71
  be represented as
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    72
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    73
  \begin{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    74
  \item graphs
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    75
  \item matrices
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    76
  \item partial functions
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    77
  \end{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    78
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    79
  All constructions are difficult to reason about.\bigskip\bigskip 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    80
  \pause
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    81
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    82
  \small
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    83
  \only<2>{
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    84
  Constable et al needed (on and off) 18 months for a 3-person team 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    85
  to formalise automata theory in Nuprl including Myhill-Nerode. There is 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    86
  only very little other formalised work on regular languages I know of
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    87
  in Coq, Isabelle and HOL.}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    88
  \only<3>{typical textbook reasoning goes like: ``\ldots if \smath{M} and \smath{N} are any two
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    89
  automata with no inaccessible states \ldots''
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    90
  }
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    91
  
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    92
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    93
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    94
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    95
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    96
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    97
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    98
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    99
  \mode<presentation>{
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   100
  \begin{frame}[t]
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   101
  \frametitle{Regular Expressions}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   102
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   103
  \ldots are a simple datatype:
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   104
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   105
  \only<1>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   106
  \begin{center}\color{blue}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   107
  \begin{tabular}{rcl}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   108
  rexp & $::=$ & NULL\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   109
               & $\mid$ & EMPTY\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   110
               & $\mid$ & CHR c\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   111
               & $\mid$ & ALT rexp rexp\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   112
               & $\mid$ & SEQ rexp rexp\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   113
               & $\mid$ & STAR rexp
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   114
  \end{tabular}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   115
  \end{center}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   116
  \only<2->{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   117
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   118
  \begin{tabular}{rcl}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   119
  \smath{r} & \smath{::=}  & \smath{0} \\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   120
            & \smath{\mid} & \smath{[]}\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   121
            & \smath{\mid} & \smath{c}\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   122
            & \smath{\mid} & \smath{r_1 + r_2}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   123
            & \smath{\mid} & \smath{r_1 \cdot r_2}\\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   124
            & \smath{\mid} & \smath{r^\star}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   125
  \end{tabular}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   126
  \end{center}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   127
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   128
  \only<3->{Induction and recursion principles come for free.}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   129
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   130
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   131
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   132
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   133
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   134
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   135
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   136
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   137
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   138
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   139
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   140
  \frametitle{Semantics of Rexps}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   141
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   142
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   143
  \begin{tabular}{rcl}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   144
  \smath{\mathbb{L}(0)}             & \smath{=} & \smath{\varnothing}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   145
  \smath{\mathbb{L}([])}            & \smath{=} & \smath{\{[]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   146
  \smath{\mathbb{L}(c)}             & \smath{=} & \smath{\{[c]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   147
  \smath{\mathbb{L}(r_1 + r_2)}     & \smath{=} & \smath{\mathbb{L}(r_1) \cup \mathbb{L}(r_2)}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   148
  \smath{\mathbb{L}(r_1 \cdot r_2)} & \smath{=} & \smath{\mathbb{L}(r_1)\; ;\; \mathbb{L} (r_2)}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   149
  \smath{\mathbb{L}(r^\star)}       & \smath{=} & \smath{\mathbb{L}(r)^\star}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   150
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   151
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   152
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   153
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   154
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   155
  \begin{tabular}{rcl}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   156
  \smath{L_1 ; L_2} & \smath{\dn} & \smath{\{ s_1 @ s_2 \mid s_1 \in L_1 \wedge s_2 \in L_2\}}\bigskip\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   157
  \multicolumn{3}{c}{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   158
  \smath{\infer{[] \in L^\star}{}} \hspace{10mm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   159
  \smath{\infer{s_1 @ s_2 \in L^\star}{s_1 \in L & s_2 \in L^\star}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   160
  }
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   161
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   162
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   163
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   164
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   165
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   166
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   167
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   168
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   169
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   170
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   171
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   172
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   173
  \frametitle{\LARGE Regular Expression Matching}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   174
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   175
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   176
  \item Harper in JFP'99: ``Functional Pearl: Proof- Directed Debugging''\medskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   177
  \item Yi in JFP'06: ``Educational Pearl: `Proof-Directed Debugging' revisited 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   178
  for a first-order version''\medskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   179
  \item Owens et al in JFP'09: ``Regular-expression derivatives re-examined''\bigskip\pause
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   180
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   181
  \begin{quote}\small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   182
  ``Unfortunately, regular expression derivatives have been lost in the 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   183
  sands of time, and few computer scientists are aware of them.''
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   184
  \end{quote}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   185
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   186
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   187
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   188
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   189
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   190
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   191
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   192
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   193
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   194
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   195
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   196
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   197
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   198
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   199
  \huge\bf Demo
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   200
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   201
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   202
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   203
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   204
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   205
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   206
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   207
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   208
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   209
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   210
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   211
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   212
  \frametitle{\LARGE The Myhill-Nerode Theorem}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   213
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   214
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   215
  \item will help with closure properties of regular languages and
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   216
  with the pumping lemma.\medskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   217
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   218
  \item provides necessary and suf\!ficient conditions for a language being 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   219
  regular\bigskip\pause
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   220
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   221
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   222
  \smath{x \approx_{L} y \,\dn\, \forall z.\; x @ z \in L \Leftrightarrow y @ z \in L}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   223
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   224
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   225
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   226
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   227
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   228
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   229
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   230
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   231
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   232
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   233
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   234
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   235
  \frametitle{\LARGE The Myhill-Nerode Theorem}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   236
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   237
  \mbox{}\\[5cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   238
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   239
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   240
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_L) \;\Leftrightarrow\; L\; \text{is regular}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   241
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   242
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   243
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   244
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   245
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   246
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   247
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   248
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   249
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   250
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   251
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   252
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   253
  \frametitle{\LARGE Equivalence Classes}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   254
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   255
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   256
  \item \smath{L = []}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   257
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   258
  \smath{\Big\{\{[]\},\; U\!N\!IV - \{[]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   259
  \end{center}\bigskip\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   260
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   261
  \item \smath{L = [c]}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   262
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   263
  \smath{\Big\{\{[]\},\; \{[c]\},\; U\!N\!IV - \{[], [c]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   264
  \end{center}\bigskip\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   265
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   266
  \item \smath{L = \varnothing}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   267
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   268
  \smath{\Big\{U\!N\!IV\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   269
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   270
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   271
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   272
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   273
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   274
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   275
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   276
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   277
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   278
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   279
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   280
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   281
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   282
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   283
  \frametitle{\LARGE Regular Languages}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   284
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   285
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   286
  \item \smath{L} is regular \smath{\dn} if there is an automaton \smath{M} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   287
  such that \smath{\mathbb{L}(M) = L}\\[1.5cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   288
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   289
  \item Myhill-Nerode:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   290
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   291
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   292
  \begin{tabular}{l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   293
  finite $\Rightarrow$ regular\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   294
  \;\;\;\smath{\text{finite}\,(U\!N\!IV /\!/ \approx_L) \Rightarrow \exists r. L = \mathbb{L}(r)}\\[3mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   295
  regular $\Rightarrow$ finite\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   296
  \;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   297
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   298
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   299
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   300
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   301
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   302
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   303
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   304
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   305
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   306
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   307
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   308
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   309
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   310
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   311
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   312
  \frametitle{\LARGE Final States}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   313
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   314
  \mbox{}\\[3cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   315
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   316
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   317
  \item \smath{\text{final}_L\,X \dn}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   318
  \smath{\hspace{6mm}X \in (U\!N\!IV /\!/\approx_L) \;\wedge\; \forall s \in X.\; s \in L}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   319
  \smallskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   320
  \item we can prove: \smath{L = \bigcup \{X.\;\text{final}_L\,X\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   321
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   322
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   323
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   324
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   325
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   326
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   327
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   328
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   329
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   330
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   331
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   332
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   333
  \frametitle{\LARGE Transitions between\\[-3mm] Equivalence Classes}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   334
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   335
  \smath{L = \{[c]\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   336
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   337
  \begin{tabular}{@ {\hspace{-7mm}}cc}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   338
  \begin{tabular}{c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   339
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   340
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   341
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   342
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   343
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   344
  \node[state,initial]   (q_0)                        {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   345
  \node[state,accepting] (q_1) [above right of=q_0]   {$R_2$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   346
  \node[state]           (q_2) [below right of=q_0]   {$R_3$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   347
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   348
  \path[->] (q_0) edge                node        {c} (q_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   349
                  edge                node [swap] {$\Sigma-{c}$} (q_2)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   350
            (q_2) edge [loop below]   node        {$\Sigma$} ();
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   351
  \end{tikzpicture}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   352
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   353
  &
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   354
  \begin{tabular}[t]{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   355
  \\[-20mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   356
  \multicolumn{2}{l}{\smath{U\!N\!IV /\!/\approx_L} produces}\\[4mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   357
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   358
  \smath{R_1}: & \smath{\{[]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   359
  \smath{R_2}: & \smath{\{[c]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   360
  \smath{R_3}: & \smath{U\!N\!IV - \{[], [c]\}}\\[6mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   361
  \multicolumn{2}{l}{\onslide<2->{\smath{X \stackrel{c}{\longrightarrow} Y \dn X ; [c] \subseteq Y}}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   362
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   363
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   364
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   365
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   366
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   367
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   368
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   369
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   370
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   371
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   372
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   373
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   374
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   375
  \frametitle{\LARGE Systems of Equations}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   376
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   377
  Inspired by a method of Brzozowski\;'64, we can build an equational system
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   378
  characterising the equivalence classes:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   379
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   380
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   381
  \begin{tabular}{@ {\hspace{-20mm}}c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   382
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   383
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   384
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   385
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   386
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   387
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   388
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   389
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   390
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   391
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   392
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   393
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   394
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   395
  \end{tikzpicture}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   396
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   397
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   398
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   399
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   400
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   401
  \begin{tabular}{@ {\hspace{-6mm}}ll@ {\hspace{1mm}}c@ {\hspace{1mm}}l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   402
  & \smath{R_1} & \smath{\equiv} & \smath{R_1;b + R_2;b \onslide<2->{\alert<2>{+ \lambda;[]}}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   403
  & \smath{R_2} & \smath{\equiv} & \smath{R_1;a + R_2;a}\medskip\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   404
  \onslide<3->{we can prove} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   405
  & \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   406
      & \onslide<3->{\smath{R_1; \mathbb{L}(b) \,\cup\, R_2;\mathbb{L}(b) \,\cup\, \{[]\};\{[]\}}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   407
  & \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   408
      & \onslide<3->{\smath{R_1; \mathbb{L}(a) \,\cup\, R_2;\mathbb{L}(a)}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   409
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   410
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   411
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   412
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   413
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   414
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   415
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   416
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   417
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   418
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   419
  \begin{frame}<1>[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   420
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   421
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   422
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   423
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   424
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   425
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   426
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   427
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   428
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   429
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   430
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   431
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   432
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   433
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   434
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   435
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   436
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   437
  & & & \onslide<3->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   438
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   439
  \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   440
      & \onslide<3->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   441
  \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   442
      & \onslide<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   443
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   444
  & & & \onslide<4->{by substitution}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   445
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   446
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   447
      & \onslide<4->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   448
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   449
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   450
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   451
  & & & \onslide<5->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   452
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   453
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   454
      & \onslide<5->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   455
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   456
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   457
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   458
  & & & \onslide<6->{by substitution}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   459
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   460
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   461
      & \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   462
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   463
      & \onslide<6->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   464
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   465
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   466
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   467
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   468
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   469
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   470
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   471
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   472
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   473
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   474
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   475
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   476
  \frametitle{\LARGE A Variant of Arden's Lemma}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   477
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   478
  {\bf Arden's Lemma:} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   479
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   480
  If \smath{[] \not\in A} then
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   481
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   482
  \smath{X = X; A + \text{something}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   483
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   484
  has the (unique) solution
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   485
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   486
  \smath{X = \text{something} ; A^\star}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   487
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   488
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   489
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   490
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   491
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   492
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   493
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   494
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   495
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   496
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   497
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   498
  \begin{frame}<1->[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   499
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   500
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   501
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   502
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   503
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   504
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   505
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   506
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   507
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   508
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   509
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   510
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   511
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   512
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   513
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   514
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   515
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   516
  & & & \onslide<3->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   517
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   518
  \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   519
      & \onslide<3->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   520
  \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   521
      & \onslide<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   522
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   523
  & & & \onslide<4->{by substitution}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   524
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   525
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   526
      & \onslide<4->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   527
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   528
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   529
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   530
  & & & \onslide<5->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   531
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   532
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   533
      & \onslide<5->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   534
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   535
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   536
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   537
  & & & \onslide<6->{by substitution}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   538
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   539
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   540
      & \onslide<6->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   541
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   542
      & \onslide<6->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   543
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   544
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   545
  & & & \onslide<7->{\alert{solved form}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   546
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   547
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   548
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   549
  \only<8->{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   550
  \begin{textblock}{6}(2.5,4)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   551
  \begin{block}{}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   552
  \begin{minipage}{8cm}\raggedright
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   553
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   554
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick, inner sep=1mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   555
  \tikzstyle{state}=[circle,thick,draw=blue!75,fill=blue!20,minimum size=0mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   556
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   557
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   558
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   559
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   560
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   561
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   562
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   563
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   564
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   565
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   566
  \end{tikzpicture}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   567
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   568
  \end{minipage}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   569
  \end{block}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   570
  \end{textblock}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   571
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   572
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   573
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   574
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   575
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   576
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   577
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   578
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   579
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   580
  \frametitle{\LARGE The Equ's Solving Algorithm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   581
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   582
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   583
  \item The algorithm must terminate: Arden makes one equation smaller; 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   584
  substitution deletes one variable from the right-hand sides.\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   585
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   586
  \item This is still a bit hairy to formalise because of our set-representation
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   587
  for equations:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   588
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   589
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   590
  \begin{tabular}{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   591
  \smath{\big\{ (X, \{(Y_1, r_1), (Y_2, r_2), \ldots\}),}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   592
  \mbox{}\hspace{5mm}\smath{\ldots}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   593
  & \smath{\big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   594
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   595
  \end{center}\pause
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   596
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   597
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   598
  They are generated from \smath{U\!N\!IV /\!/ \approx_L}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   599
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   600
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   601
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   602
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   603
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   604
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   605
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   606
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   607
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   608
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   609
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   610
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   611
  \frametitle{\LARGE Other Direction}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   612
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   613
  One has to prove
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   614
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   615
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   616
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   617
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   618
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   619
  by induction on \smath{r}. Not trivial, but after a bit 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   620
  of thinking (by Chunhan), one can prove that if
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   621
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   622
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   623
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_1)})}\hspace{5mm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   624
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_2)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   625
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   626
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   627
  then
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   628
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   629
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   630
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_1) \,\cup\, \mathbb{L}(r_2)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   631
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   632
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   633
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   634
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   635
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   636
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   637
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   638
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   639
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   640
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   641
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   642
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   643
  \frametitle{\LARGE What Have We Achieved?}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   644
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   645
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   646
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_L) \;\Leftrightarrow\; L\; \text{is regular}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   647
  \bigskip\pause
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   648
  \item regular languages are closed under `inversion'
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   649
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   650
  \smath{U\!N\!IV /\!/ \approx_L \;\;=\;\; U\!N\!IV /\!/ \approx_{-L}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   651
  \end{center}\pause\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   652
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   653
  \item regular expressions are not good if you look for a minimal
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   654
  one of a language (DFA have this notion)\pause\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   655
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   656
  \item if you want to do regular expression matching (see Scott's paper) 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   657
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   658
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   659
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   660
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   661
  \only<2>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   662
  \begin{textblock}{10}(4,14)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   663
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   664
  \smath{x \approx_{L} y \,\dn\, \forall z.\; x @ z \in L \Leftrightarrow y @ z \in L}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   665
  \end{textblock}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   666
  }
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   667
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   668
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   669
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   670
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   671
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   672
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   673
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   674
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   675
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   676
  \frametitle{\LARGE Conclusion}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   677
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   678
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   679
  \item on balance regular expression are superior to DFAs\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   680
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   681
  \item I cannot think of a reason to not teach regular languages
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   682
  to students this way\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   683
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   684
  \item I have never ever seen a proof of Myhill-Nerode based on
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   685
  regular expressions\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   686
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   687
  \item no application, but a lot of fun\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   688
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   689
  \item great source of examples
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   690
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   691
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   692
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   693
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   694
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   695
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   696
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   697
(*<*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   698
end
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   699
(*>*)