Slides/Slides.thy
author urbanc
Mon, 14 Feb 2011 09:38:18 +0000
changeset 101 d3fe0597080a
parent 24 f72c82bf59e5
child 203 5d724fe0e096
permissions -rw-r--r--
updated paper
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
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     3
imports "LaTeXsugar"
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     4
begin
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     5
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     6
notation (latex output)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     7
  set ("_") and
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     8
  Cons  ("_::/_" [66,65] 65) 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     9
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    10
(*>*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    11
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    12
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    13
text_raw {*
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   241
  \mbox{}\\[5cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   242
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   243
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   244
  \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
   245
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   246
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   247
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   248
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   249
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   250
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   251
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
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   254
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   255
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   256
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   257
  \frametitle{\LARGE Equivalence Classes}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   258
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   259
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   260
  \item \smath{L = []}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   261
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   262
  \smath{\Big\{\{[]\},\; U\!N\!IV - \{[]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   263
  \end{center}\bigskip\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   264
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   265
  \item \smath{L = [c]}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   266
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   267
  \smath{\Big\{\{[]\},\; \{[c]\},\; U\!N\!IV - \{[], [c]\}\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   268
  \end{center}\bigskip\bigskip
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
  \item \smath{L = \varnothing}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   271
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   272
  \smath{\Big\{U\!N\!IV\Big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   273
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   274
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   275
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   276
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   277
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   278
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   279
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   282
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   283
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   284
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   285
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   286
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   287
  \frametitle{\LARGE Regular Languages}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   288
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   289
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   290
  \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
   291
  such that \smath{\mathbb{L}(M) = L}\\[1.5cm]
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
  \item Myhill-Nerode:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   294
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   295
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   296
  \begin{tabular}{l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   297
  finite $\Rightarrow$ regular\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   298
  \;\;\;\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
   299
  regular $\Rightarrow$ finite\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   300
  \;\;\;\smath{\text{finite}\, (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   301
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   302
  \end{center}
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
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   305
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   306
  \end{frame}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   307
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   308
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   309
*}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   310
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   311
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   312
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   313
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   314
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   315
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   316
  \frametitle{\LARGE Final States}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   317
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   318
  \mbox{}\\[3cm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   319
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   320
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   321
  \item \smath{\text{final}_L\,X \dn}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   322
  \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
   323
  \smallskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   324
  \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
   325
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   326
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   327
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   328
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   329
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
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
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   332
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   333
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   334
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   335
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   336
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   337
  \frametitle{\LARGE Transitions between\\[-3mm] Equivalence Classes}
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
  \smath{L = \{[c]\}}
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
  \begin{tabular}{@ {\hspace{-7mm}}cc}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   342
  \begin{tabular}{c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   343
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   344
  \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
   345
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   346
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   347
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   348
  \node[state,initial]   (q_0)                        {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   349
  \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
   350
  \node[state]           (q_2) [below right of=q_0]   {$R_3$};
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
  \path[->] (q_0) edge                node        {c} (q_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   353
                  edge                node [swap] {$\Sigma-{c}$} (q_2)
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   354
            (q_2) edge [loop below]   node        {$\Sigma$} ()
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   355
            (q_1) edge                node        {$\Sigma$} (q_2);
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   356
  \end{tikzpicture}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   357
  \end{tabular}
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
  \begin{tabular}[t]{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   360
  \\[-20mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   361
  \multicolumn{2}{l}{\smath{U\!N\!IV /\!/\approx_L} produces}\\[4mm]
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
  \smath{R_1}: & \smath{\{[]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   364
  \smath{R_2}: & \smath{\{[c]\}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   365
  \smath{R_3}: & \smath{U\!N\!IV - \{[], [c]\}}\\[6mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   366
  \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
   367
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   368
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   369
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   370
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   371
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   372
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   373
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   374
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   375
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   376
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   377
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   378
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   379
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   380
  \frametitle{\LARGE Systems of Equations}
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
  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
   383
  characterising the equivalence classes:
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   386
  \begin{tabular}{@ {\hspace{-20mm}}c}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   387
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   388
  \begin{tikzpicture}[shorten >=1pt,node distance=2cm,auto, ultra thick]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   389
  \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
   390
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   391
  %\draw[help lines] (0,0) grid (3,2);
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
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   394
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
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
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   397
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   398
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   399
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   400
  \end{tikzpicture}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   401
  \\[-13mm]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   402
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   403
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   404
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   405
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   406
  \begin{tabular}{@ {\hspace{-6mm}}ll@ {\hspace{1mm}}c@ {\hspace{1mm}}l}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   407
  & \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
   408
  & \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
   409
  \onslide<3->{we can prove} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   410
  & \onslide<3->{\smath{R_1}} & \onslide<3->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   411
      & \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
   412
  & \onslide<3->{\smath{R_2}} & \onslide<3->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   413
      & \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
   414
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   415
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   416
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   417
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   418
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   419
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   420
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   421
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   422
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   423
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   424
  \begin{frame}<1>[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   425
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   426
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   427
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   428
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   429
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   430
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   431
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   432
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
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
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   435
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   436
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   437
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   438
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   439
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   440
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   441
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   442
  & & & \onslide<4->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   443
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   444
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   445
      & \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
   446
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   447
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   448
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   449
  & & & \onslide<5->{by substitution}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   450
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   451
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   452
      & \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
   453
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   454
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   455
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   456
  & & & \onslide<6->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   457
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   458
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   459
      & \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
   460
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   461
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   462
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   463
  & & & \onslide<7->{by substitution}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   464
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   465
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   466
      & \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
   467
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   468
      & \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
   469
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   470
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   471
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   472
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   473
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   474
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   475
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   476
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   477
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   478
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   479
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   480
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   481
  \frametitle{\LARGE A Variant of Arden's Lemma}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   482
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   483
  {\bf Arden's Lemma:}\smallskip 
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   484
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   485
  If \smath{[] \not\in A} then
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   486
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   487
  \smath{X = X; A + \text{something}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   488
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   489
  has the (unique) solution
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   490
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   491
  \smath{X = \text{something} ; A^\star}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   492
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   493
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   494
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   495
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   496
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   497
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   498
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   499
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   500
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   501
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   502
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   503
  \begin{frame}<1->[t]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   504
  \small
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   507
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   508
  \onslide<1->{\smath{R_1}} & \onslide<1->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   509
      & \onslide<1->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   510
  \onslide<1->{\smath{R_2}} & \onslide<1->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   511
      & \onslide<1->{\smath{R_1; a + R_2; a}}\\
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
  & & & \onslide<2->{by Arden}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   514
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   515
  \onslide<2->{\smath{R_1}} & \onslide<2->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   516
      & \onslide<2->{\smath{R_1; b + R_2; b + \lambda;[]}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   517
  \onslide<2->{\smath{R_2}} & \onslide<2->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   518
      & \only<2>{\smath{R_1; a + R_2; a}}%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   519
        \only<3->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   520
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   521
  & & & \onslide<4->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   522
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   523
  \onslide<4->{\smath{R_1}} & \onslide<4->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   524
      & \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
   525
  \onslide<4->{\smath{R_2}} & \onslide<4->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   526
      & \onslide<4->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   527
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   528
  & & & \onslide<5->{by substitution}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   529
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   530
  \onslide<5->{\smath{R_1}} & \onslide<5->{\smath{=}} 
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   531
      & \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
   532
  \onslide<5->{\smath{R_2}} & \onslide<5->{\smath{=}}    
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   533
      & \onslide<5->{\smath{R_1; a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   534
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   535
  & & & \onslide<6->{by Arden}\\
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   536
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   537
  \onslide<6->{\smath{R_1}} & \onslide<6->{\smath{=}} 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   538
      & \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
   539
  \onslide<6->{\smath{R_2}} & \onslide<6->{\smath{=}}    
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   540
      & \onslide<6->{\smath{R_1; a\cdot a^\star}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   541
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   542
  & & & \onslide<7->{by substitution}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   543
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   544
  \onslide<7->{\smath{R_1}} & \onslide<7->{\smath{=}} 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   545
      & \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
   546
  \onslide<7->{\smath{R_2}} & \onslide<7->{\smath{=}}    
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   547
      & \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
   548
          \cdot a\cdot a^\star}}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   549
  \end{tabular}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   550
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   551
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   552
  \only<8->{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   553
  \begin{textblock}{6}(2.5,4)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   554
  \begin{block}{}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   555
  \begin{minipage}{8cm}\raggedright
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   556
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   557
  \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
   558
  \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
   559
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   560
  %\draw[help lines] (0,0) grid (3,2);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   561
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   562
  \node[state,initial]   (p_0)                  {$R_1$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   563
  \node[state,accepting] (p_1) [right of=q_0]   {$R_2$};
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   564
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   565
  \path[->] (p_0) edge [bend left]   node        {a} (p_1)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   566
                  edge [loop above]   node       {b} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   567
            (p_1) edge [loop above]   node       {a} ()
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   568
                  edge [bend left]   node        {b} (p_0);
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   569
  \end{tikzpicture}
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
  \end{minipage}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   572
  \end{block}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   573
  \end{textblock}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   574
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   575
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   576
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   577
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   578
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   579
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   580
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   581
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   582
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   583
  \frametitle{\LARGE The Equ's Solving Algorithm}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   584
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   585
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   586
  \item The algorithm must terminate: Arden makes one equation smaller; 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   587
  substitution deletes one variable from the right-hand sides.\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   588
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   589
  \item We need to maintain the invariant that Arden is applicable
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   590
  (if \smath{[] \not\in A} then \ldots):\medskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   591
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   592
  \begin{center}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   593
  \begin{tabular}{l@ {\hspace{1mm}}c@ {\hspace{1mm}}ll}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   594
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   595
  \smath{R_2} & \smath{=} & \smath{R_1; a + R_2; a}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   596
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   597
  & & & by Arden\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   598
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   599
  \smath{R_1} & \smath{=} & \smath{R_1; b + R_2; b + \lambda;[]}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   600
  \smath{R_2} & \smath{=} & \smath{R_1; a\cdot a^\star}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   601
  \end{tabular}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   602
  \end{center}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   603
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   604
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   605
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   606
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   607
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   608
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   609
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   610
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   611
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   612
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   613
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   614
  \begin{frame}[c]
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   615
  \frametitle{\LARGE The Equ's Solving Algorithm}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   616
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   617
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   618
  \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
   619
  for equations:
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   620
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   621
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   622
  \begin{tabular}{ll}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   623
  \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
   624
  \mbox{}\hspace{5mm}\smath{\ldots}\\
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   625
  & \smath{\big\}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   626
  \end{tabular}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   627
  \end{center}\bigskip\pause
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   628
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   629
  \small
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   630
  they are generated from \smath{U\!N\!IV /\!/ \approx_L}
21
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
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   633
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   634
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   635
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   636
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   637
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   638
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   639
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   640
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   641
text_raw {*
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
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   644
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   645
  \frametitle{\LARGE Other Direction}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   646
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   647
  One has to prove
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
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   650
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   651
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   652
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   653
  by induction on \smath{r}. Not trivial, but after a bit 
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   654
  of thinking (by Chunhan), one can prove that if
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   655
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   656
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   657
  \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
   658
  \smath{\text{finite} (U\!N\!IV /\!/ \approx_{\mathbb{L}(r_2)})}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   659
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   660
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   661
  then
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   662
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   663
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   664
  \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
   665
  \end{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   666
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   667
  
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   668
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   669
  \end{frame}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   670
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   671
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   672
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   673
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   674
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   675
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   676
  \begin{frame}[c]
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   677
  \frametitle{\LARGE What Have We Achieved?}
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
  \begin{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   680
  \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
   681
  \bigskip\pause
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   682
  \item regular languages are closed under complementation; this is easy
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   683
  \begin{center}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   684
  \smath{U\!N\!IV /\!/ \approx_L \;\;=\;\; U\!N\!IV /\!/ \approx_{-L}}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   685
  \end{center}\pause\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   686
  
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   687
  \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
   688
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   689
  \item I cannot yet give definite numbers
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   690
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   691
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   692
  \only<2>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   693
  \begin{textblock}{10}(4,14)
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   694
  \small
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   695
  \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
   696
  \end{textblock}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   697
  }
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   698
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   699
  
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   700
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   701
  \end{frame}}
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   704
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   705
text_raw {*
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   706
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   707
  \mode<presentation>{
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   708
  \begin{frame}[c]
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   709
  \frametitle{\LARGE Examples}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   710
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   711
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   712
  \item \smath{L \equiv \Sigma^\star 0 \Sigma} is regular
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   713
  \begin{quote}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   714
  \begin{tabular}{lcl}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   715
  \smath{A_1} & \smath{=} & \smath{\Sigma^\star 00}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   716
  \smath{A_2} & \smath{=} & \smath{\Sigma^\star 01}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   717
  \smath{A_3} & \smath{=} & \smath{\Sigma^\star 10 \cup \{0\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   718
  \smath{A_4} & \smath{=} & \smath{\Sigma^\star 11 \cup \{1\} \cup \{[]\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   719
  \end{tabular}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   720
  \end{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   721
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   722
  \item \smath{L \equiv \{ 0^n 1^n \,|\, n \ge 0\}} is not regular
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   723
  \begin{quote}\small
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   724
  \begin{tabular}{lcl}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   725
  \smath{B_0} & \smath{=} & \smath{\{0^n 1^n \,|\,     n \ge 0\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   726
  \smath{B_1} & \smath{=} & \smath{\{0^n 1^{(n-1)} \,|\, n \ge 1\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   727
  \smath{B_2} & \smath{=} & \smath{\{0^n 1^{(n-2)} \,|\, n \ge 2\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   728
  \smath{B_3} & \smath{=} & \smath{\{0^n 1^{(n-3)} \,|\, n \ge 3\}}\\
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   729
              & \smath{\vdots} &\\
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
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   733
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   734
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   735
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   736
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   737
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   738
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   739
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   740
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   741
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   742
  \begin{frame}[c]
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   743
  \frametitle{\LARGE What We Have Not Achieved}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   744
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   745
  \begin{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   746
  \item regular expressions are not good if you look for a minimal
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   747
  one for a language (DFAs have this notion)\pause\bigskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   748
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   749
  \item Is there anything to be said about context free languages:\medskip
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   750
  
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   751
  \begin{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   752
  A context free language is where every string can be recognised by
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   753
  a pushdown automaton.
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   754
  \end{quote}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   755
  \end{itemize}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   756
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   757
  \end{frame}}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   758
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   759
*}
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   760
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   761
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   762
text_raw {*
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   763
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   764
  \mode<presentation>{
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   765
  \begin{frame}[c]
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   766
  \frametitle{\LARGE Conclusion}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   767
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   768
  \begin{itemize}
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   769
  \item on balance regular expression are superior 
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   770
  to DFAs, in my opinion\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   771
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   772
  \item I cannot think of a reason to not teach regular languages
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   773
  to students this way (!?)\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   774
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   775
  \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
   776
  regular expressions\bigskip
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   777
24
f72c82bf59e5 added paper
urbanc
parents: 21
diff changeset
   778
  \item no application, but lots of fun\bigskip
21
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   779
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   780
  \item great source of examples
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   781
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   782
  \end{itemize}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   783
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   784
  \end{frame}}
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
*}
6a0538d8ccd5 my slides from the talk in Cambridge
urbanc
parents: 16
diff changeset
   787
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   788
(*<*)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   789
end
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   790
(*>*)