Slides/Slides.thy
author urbanc
Tue, 14 Feb 2012 04:14:18 +0000
changeset 330 f86e099ac688
parent 212 3629680a20a2
permissions -rw-r--r--
changed
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
(*<*)
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
     2
theory Slides
203
5d724fe0e096 changes according to afp-submission
urbanc
parents: 24
diff changeset
     3
imports "~~/src/HOL/Library/LaTeXsugar"
16
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 {*
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    14
  %\renewcommand{\slidecaption}{Cambridge, 9 November 2010}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    15
  \renewcommand{\slidecaption}{Munich, 17 November 2010}
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    16
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    17
  \mode<presentation>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    18
  \begin{frame}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    19
  \frametitle{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    20
  \begin{tabular}{@ {}c@ {}}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    21
  \LARGE A Formalisation of the\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    22
  \LARGE Myhill-Nerode Theorem\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    23
  \LARGE based on Regular Expressions\\[-3mm] 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    24
  \large \onslide<2>{\alert{or, Regular Languages Done Right}}\\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    25
  \end{tabular}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    26
  
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    27
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    28
  Christian Urban
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    29
  \end{center}
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
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    32
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    33
  joint work with Chunhan Wu and Xingyuan Zhang from the PLA
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    34
  University of Science and Technology in Nanjing
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    35
  \end{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    36
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    37
  \end{frame}}
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
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    42
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    43
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    44
  \mode<presentation>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    45
  \begin{frame}[c]
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    46
  \frametitle{In Most Textbooks\ldots}
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    47
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    48
  \begin{itemize}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    49
  \item A \alert{regular language} is one where there is a DFA that 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    50
  recognises it.\bigskip\pause
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    51
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    52
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    53
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    54
  I can think of three reasons why this is a good definition:\medskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    55
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    56
  \item string matching via DFAs (yacc)
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    57
  \item pumping lemma
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    58
  \item closure properties of regular languages (closed under complement)
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    59
  \end{itemize}
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
  \end{frame}}
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
*}
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
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    67
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    68
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    69
  \mode<presentation>{
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    70
  \begin{frame}[t]
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    71
  \frametitle{Really Bad News!}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    72
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    73
  DFAs are bad news for formalisations in theorem provers. They might
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    74
  be represented as:
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    75
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    76
  \begin{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    77
  \item graphs
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    78
  \item matrices
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    79
  \item partial functions
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    80
  \end{itemize}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    81
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    82
  All constructions are messy to reason about.\bigskip\bigskip 
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    83
  \pause
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    84
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    85
  \small
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    86
  \only<2>{Alexander and Tobias: ``\ldots automata theory \ldots does not come for free \ldots''} 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    87
  \only<3>{
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    88
  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
    89
  to formalise automata theory in Nuprl including Myhill-Nerode. There is 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    90
  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
    91
  in Coq, Isabelle and HOL.}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
    92
  \only<4>{typical textbook reasoning goes like: ``\ldots if \smath{M} and \smath{N} are any two
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    93
  automata with no inaccessible states \ldots''
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
    94
  }
16
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
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    97
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   100
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   101
text_raw {*
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   102
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   103
  \mode<presentation>{
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   104
  \begin{frame}[t]
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   105
  \frametitle{Regular Expressions}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   106
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   107
  \ldots are a simple datatype:
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   108
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   109
  \only<1>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   110
  \begin{center}\color{blue}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   111
  \begin{tabular}{rcl}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   112
  rexp & $::=$ & NULL\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   113
               & $\mid$ & EMPTY\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   114
               & $\mid$ & CHR c\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   115
               & $\mid$ & ALT rexp rexp\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   116
               & $\mid$ & SEQ rexp rexp\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   117
               & $\mid$ & STAR rexp
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   118
  \end{tabular}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   119
  \end{center}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   120
  \only<2->{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   121
  \begin{center}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   122
  \begin{tabular}{rcl}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   123
  \smath{r} & \smath{::=}  & \smath{0} \\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   124
            & \smath{\mid} & \smath{[]}\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   125
            & \smath{\mid} & \smath{c}\\
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   126
            & \smath{\mid} & \smath{r_1 + r_2}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   127
            & \smath{\mid} & \smath{r_1 \cdot r_2}\\
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   128
            & \smath{\mid} & \smath{r^\star}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   129
  \end{tabular}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   130
  \end{center}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   131
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   132
  \only<3->{Induction and recursion principles come for free.}
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
  \end{frame}}
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
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   139
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   140
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   143
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   144
  \frametitle{Semantics of Rexps}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   145
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   146
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   147
  \begin{tabular}{rcl}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   148
  \smath{\mathbb{L}(0)}             & \smath{=} & \smath{\varnothing}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   149
  \smath{\mathbb{L}([])}            & \smath{=} & \smath{\{[]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   150
  \smath{\mathbb{L}(c)}             & \smath{=} & \smath{\{[c]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   151
  \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
   152
  \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
   153
  \smath{\mathbb{L}(r^\star)}       & \smath{=} & \smath{\mathbb{L}(r)^\star}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   154
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   155
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   156
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   157
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   158
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   159
  \begin{tabular}{rcl}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   160
  \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
   161
  \multicolumn{3}{c}{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   162
  \smath{\infer{[] \in L^\star}{}} \hspace{10mm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   163
  \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
   164
  }
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   165
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   166
  \end{center}
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
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   169
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   172
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   173
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   176
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   177
  \frametitle{\LARGE Regular Expression Matching}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   178
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   179
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   180
  \item Harper in JFP'99: ``Functional Pearl: Proof- Directed Debugging''\medskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   181
  \item Yi in JFP'06: ``Educational Pearl: `Proof-Directed Debugging' revisited 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   182
  for a first-order version''\medskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   183
  \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
   184
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   185
  \begin{quote}\small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   186
  ``Unfortunately, regular expression derivatives have been lost in the 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   187
  sands of time, and few computer scientists are aware of them.''
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   188
  \end{quote}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   189
  \end{itemize}
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
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   193
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   196
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   197
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   198
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   199
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   200
  \begin{frame}[c]
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   203
  \huge\bf Demo
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   204
  \end{center}
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
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   208
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   211
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   212
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   215
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   216
  \frametitle{\LARGE The Myhill-Nerode Theorem}
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
  \begin{itemize}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   219
  \item provides necessary and suf\!ficient conditions for a language 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   220
  being regular (pumping lemma only necessary)\medskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   221
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   222
  \item will help with closure properties of regular languages\bigskip\pause
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   223
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   224
  \item key is the equivalence relation:\smallskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   225
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   226
  \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
   227
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   228
  \end{itemize}
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
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   231
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   234
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   235
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   238
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   239
  \frametitle{\LARGE The Myhill-Nerode Theorem}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   240
212
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   241
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   242
  \begin{tikzpicture}[scale=3]
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   243
  \clip[draw] (0.5,0.5) circle (.6cm);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   244
  \draw[step=.5cm,gray,very thin] (-1.4,-1.4) grid (1.4,1.4);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   245
  \draw (-1.5,0) -- (1.5,0);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   246
  \draw (0,-1.5) -- (0,1.5);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   247
  \draw (0,0) circle (1cm);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   248
  \draw (3mm,0mm) arc (0:30:3mm);
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   249
  \end{tikzpicture}
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   250
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   251
  
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   252
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   253
  \begin{itemize}
212
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   254
  \item \smath{\text{finite}\, (U\!N\!IV /\!/ \approx_L) 
3629680a20a2 more slides
urbanc
parents: 203
diff changeset
   255
  \;\Leftrightarrow\; L\; \text{is regular}}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   256
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   257
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   258
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   259
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   262
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   263
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   264
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   267
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   268
  \frametitle{\LARGE Equivalence Classes}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   269
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   270
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   271
  \item \smath{L = []}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   272
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   273
  \smath{\Big\{\{[]\},\; U\!N\!IV - \{[]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   274
  \end{center}\bigskip\bigskip
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
  \item \smath{L = [c]}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   277
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   278
  \smath{\Big\{\{[]\},\; \{[c]\},\; U\!N\!IV - \{[], [c]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   279
  \end{center}\bigskip\bigskip
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
  \item \smath{L = \varnothing}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   282
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   283
  \smath{\Big\{U\!N\!IV\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   284
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   285
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   286
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   287
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   288
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   289
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   292
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   293
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   294
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   295
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   296
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   297
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   298
  \frametitle{\LARGE Regular Languages}
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
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   301
  \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
   302
  such that \smath{\mathbb{L}(M) = L}\\[1.5cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   303
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   304
  \item Myhill-Nerode:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   305
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   306
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   307
  \begin{tabular}{l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   308
  finite $\Rightarrow$ regular\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   309
  \;\;\;\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
   310
  regular $\Rightarrow$ finite\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   311
  \;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   312
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   313
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   314
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   315
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   316
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   317
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   318
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   319
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   320
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   321
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   322
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   323
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   324
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   325
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   326
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   327
  \frametitle{\LARGE Final States}
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
  \mbox{}\\[3cm]
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
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   332
  \item \smath{\text{final}_L\,X \dn}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   333
  \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
   334
  \smallskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   335
  \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
   336
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   337
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   338
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   339
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   340
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
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
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   345
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   346
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   347
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   348
  \frametitle{\LARGE Transitions between\\[-3mm] Equivalence Classes}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   349
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   350
  \smath{L = \{[c]\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   351
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   352
  \begin{tabular}{@ {\hspace{-7mm}}cc}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   353
  \begin{tabular}{c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   354
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   355
  \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
   356
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   357
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   358
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   359
  \node[state,initial]   (q_0)                        {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   360
  \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
   361
  \node[state]           (q_2) [below right of=q_0]   {$R_3$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   362
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   363
  \path[->] (q_0) edge                node        {c} (q_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   364
                  edge                node [swap] {$\Sigma-{c}$} (q_2)
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   365
            (q_2) edge [loop below]   node        {$\Sigma$} ()
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   366
            (q_1) edge                node        {$\Sigma$} (q_2);
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   367
  \end{tikzpicture}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   368
  \end{tabular}
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
  \begin{tabular}[t]{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   371
  \\[-20mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   372
  \multicolumn{2}{l}{\smath{U\!N\!IV /\!/\approx_L} produces}\\[4mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   373
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   374
  \smath{R_1}: & \smath{\{[]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   375
  \smath{R_2}: & \smath{\{[c]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   376
  \smath{R_3}: & \smath{U\!N\!IV - \{[], [c]\}}\\[6mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   377
  \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
   378
  \end{tabular}
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
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   381
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   382
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   383
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   384
*}
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   387
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   388
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   389
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   390
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   391
  \frametitle{\LARGE Systems of Equations}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   392
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   393
  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
   394
  characterising the equivalence classes:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   395
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   396
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   397
  \begin{tabular}{@ {\hspace{-20mm}}c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   398
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   399
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   400
  \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
   401
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   402
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   403
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   404
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   405
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   406
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   407
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   408
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   409
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   410
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   411
  \end{tikzpicture}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   412
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   413
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   414
  \end{center}
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   417
  \begin{tabular}{@ {\hspace{-6mm}}ll@ {\hspace{1mm}}c@ {\hspace{1mm}}l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   418
  & \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
   419
  & \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
   420
  \onslide<3->{we can prove} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   421
  & \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   422
      & \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
   423
  & \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   424
      & \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
   425
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   426
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   427
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   428
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   429
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   432
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   433
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   434
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   435
  \begin{frame}<1>[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   436
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   437
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   438
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   439
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   440
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   441
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   442
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   443
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   444
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   445
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   446
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   447
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   448
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   449
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   450
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   451
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   452
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   453
  & & & \onslide<4->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   454
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   455
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   456
      & \onslide<4->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   457
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   458
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   459
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   460
  & & & \onslide<5->{by substitution}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   461
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   462
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   463
      & \onslide<5->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   464
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   465
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   466
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   467
  & & & \onslide<6->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   468
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   469
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   470
      & \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
   471
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   472
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   473
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   474
  & & & \onslide<7->{by substitution}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   475
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   476
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   477
      & \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   478
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   479
      & \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   480
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   481
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   482
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   483
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   484
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   485
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   486
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   487
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   488
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   491
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   492
  \frametitle{\LARGE A Variant of Arden's Lemma}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   493
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   494
  {\bf Arden's Lemma:}\smallskip 
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   495
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   496
  If \smath{[] \not\in A} then
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   497
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   498
  \smath{X = X; A + \text{something}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   499
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   500
  has the (unique) solution
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
  \smath{X = \text{something} ; A^\star}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   503
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   504
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   505
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   506
  \end{frame}}
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
*}
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   511
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   512
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   513
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   514
  \begin{frame}<1->[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   515
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   516
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   517
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   518
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   519
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   520
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   521
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   522
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   523
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   524
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   525
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   526
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   527
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   528
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   529
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   530
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   531
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   532
  & & & \onslide<4->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   533
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   534
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   535
      & \onslide<4->{\smath{R_2; b \cdot b^\star+ \lambda;b^\star}}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   536
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   537
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   538
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   539
  & & & \onslide<5->{by substitution}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   540
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   541
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   542
      & \onslide<5->{\smath{R_1; a\cdot a^\star \cdot b \cdot b^\star+ \lambda;b^\star}}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   543
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   544
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   545
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   546
  & & & \onslide<6->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   547
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   548
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   549
      & \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
   550
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   551
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   552
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   553
  & & & \onslide<7->{by substitution}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   554
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   555
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   556
      & \onslide<7->{\smath{\lambda;b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   557
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   558
      & \onslide<7->{\smath{\lambda; b^\star\cdot (a\cdot a^\star \cdot b \cdot b^\star)^\star 
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   559
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   560
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   561
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   562
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   563
  \only<8->{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   564
  \begin{textblock}{6}(2.5,4)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   565
  \begin{block}{}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   566
  \begin{minipage}{8cm}\raggedright
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
  \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
   569
  \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
   570
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   571
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   572
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   573
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   574
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
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
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   577
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   578
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   579
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   580
  \end{tikzpicture}
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
  \end{minipage}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   583
  \end{block}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   584
  \end{textblock}}
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
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   587
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   590
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   591
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   592
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   593
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   594
  \frametitle{\LARGE The Equ's Solving Algorithm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   595
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   596
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   597
  \item The algorithm must terminate: Arden makes one equation smaller; 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   598
  substitution deletes one variable from the right-hand sides.\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   599
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   600
  \item We need to maintain the invariant that Arden is applicable
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   601
  (if \smath{[] \not\in A} then \ldots):\medskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   602
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   603
  \begin{center}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   604
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   605
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   606
  \smath{R_2} & \smath{=} & \smath{R_1; a + R_2; a}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   607
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   608
  & & & by Arden\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   609
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   610
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   611
  \smath{R_2} & \smath{=} & \smath{R_1; a\cdot a^\star}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   612
  \end{tabular}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   613
  \end{center}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   614
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   615
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   616
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   617
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   618
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   619
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   620
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   621
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   622
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   623
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   624
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   625
  \begin{frame}[c]
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   626
  \frametitle{\LARGE The Equ's Solving Algorithm}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   627
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   628
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   629
  \item The algorithm is still a bit hairy to formalise because of our set-representation
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   630
  for equations:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   631
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   632
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   633
  \begin{tabular}{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   634
  \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
   635
  \mbox{}\hspace{5mm}\smath{\ldots}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   636
  & \smath{\big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   637
  \end{tabular}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   638
  \end{center}\bigskip\pause
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   639
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   640
  \small
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   641
  they are generated from \smath{U\!N\!IV /\!/ \approx_L}
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   642
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   643
  \end{itemize}
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   646
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   647
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   648
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   649
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   650
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   651
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   652
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   653
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   654
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   655
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   656
  \frametitle{\LARGE Other Direction}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   657
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   658
  One has to prove
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   661
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   662
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   663
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   664
  by induction on \smath{r}. Not trivial, but after a bit 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   665
  of thinking (by Chunhan), one can prove that if
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   668
  \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
   669
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_2)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   670
  \end{center}
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
  then
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   675
  \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
   676
  \end{center}
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
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   679
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   680
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   681
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   682
*}
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
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   685
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   686
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   687
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   688
  \frametitle{\LARGE What Have We Achieved?}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   689
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   690
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   691
  \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
   692
  \bigskip\pause
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   693
  \item regular languages are closed under complementation; this is easy
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   694
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   695
  \smath{U\!N\!IV /\!/ \approx_L \;\;=\;\; U\!N\!IV /\!/ \approx_{-L}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   696
  \end{center}\pause\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   697
  
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   698
  \item if you want to do regular expression matching (see Scott's paper)\pause\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   699
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   700
  \item I cannot yet give definite numbers
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   701
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   702
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   703
  \only<2>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   704
  \begin{textblock}{10}(4,14)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   705
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   706
  \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
   707
  \end{textblock}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   708
  }
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   709
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   710
  
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   711
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   712
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   713
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   714
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   715
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   716
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   717
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   718
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   719
  \begin{frame}[c]
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   720
  \frametitle{\LARGE Examples}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   721
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   722
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   723
  \item \smath{L \equiv \Sigma^\star 0 \Sigma} is regular
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   724
  \begin{quote}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   725
  \begin{tabular}{lcl}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   726
  \smath{A_1} & \smath{=} & \smath{\Sigma^\star 00}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   727
  \smath{A_2} & \smath{=} & \smath{\Sigma^\star 01}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   728
  \smath{A_3} & \smath{=} & \smath{\Sigma^\star 10 \cup \{0\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   729
  \smath{A_4} & \smath{=} & \smath{\Sigma^\star 11 \cup \{1\} \cup \{[]\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   730
  \end{tabular}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   731
  \end{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   732
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   733
  \item \smath{L \equiv \{ 0^n 1^n \,|\, n \ge 0\}} is not regular
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   734
  \begin{quote}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   735
  \begin{tabular}{lcl}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   736
  \smath{B_0} & \smath{=} & \smath{\{0^n 1^n \,|\,     n \ge 0\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   737
  \smath{B_1} & \smath{=} & \smath{\{0^n 1^{(n-1)} \,|\, n \ge 1\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   738
  \smath{B_2} & \smath{=} & \smath{\{0^n 1^{(n-2)} \,|\, n \ge 2\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   739
  \smath{B_3} & \smath{=} & \smath{\{0^n 1^{(n-3)} \,|\, n \ge 3\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   740
              & \smath{\vdots} &\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   741
  \end{tabular}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   742
  \end{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   743
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   744
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   745
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   746
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   747
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   748
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   749
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   750
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   751
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   752
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   753
  \begin{frame}[c]
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   754
  \frametitle{\LARGE What We Have Not Achieved}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   755
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   756
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   757
  \item regular expressions are not good if you look for a minimal
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   758
  one for a language (DFAs have this notion)\pause\bigskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   759
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   760
  \item Is there anything to be said about context free languages:\medskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   761
  
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   762
  \begin{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   763
  A context free language is where every string can be recognised by
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   764
  a pushdown automaton.
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   765
  \end{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   766
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   767
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   768
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   769
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   770
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   771
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   772
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   773
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   774
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   775
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   776
  \begin{frame}[c]
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   777
  \frametitle{\LARGE Conclusion}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   778
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   779
  \begin{itemize}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   780
  \item on balance regular expression are superior 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   781
  to DFAs, in my opinion\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   782
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   783
  \item I cannot think of a reason to not teach regular languages
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   784
  to students this way (!?)\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   785
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   786
  \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
   787
  regular expressions\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   788
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   789
  \item no application, but lots of fun\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   790
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   791
  \item great source of examples
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   792
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   793
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   794
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   795
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   796
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   797
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   798
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   799
(*<*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   800
end
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   801
(*>*)