slides/slides10.tex
author Christian Urban <urbanc@in.tum.de>
Sat, 07 Dec 2019 00:57:23 +0000
changeset 704 6d9c960a2b26
parent 617 f7de0915fff2
child 744 99c5916d9a8f
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
704
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
     1
% !TEX program = xelatex
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\documentclass[dvipsnames,14pt,t]{beamer}
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
     3
\usepackage{../slides}
215
828303e8e4af updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
     4
\usepackage{../langs}
828303e8e4af updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
     5
\usepackage{../data}
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
     6
\usepackage{../graphics}
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
     7
\usepackage{soul}
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
223
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
     9
\tikzset{onslide/.code args={<#1>#2}{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    10
  \only<#1>{\pgfkeysalso{#2}} % \pgfkeysalso doesn't change the path
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    11
}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    12
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    13
\makeatletter
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    14
\newenvironment<>{btHighlight}[1][]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    15
{\begin{onlyenv}#2\begingroup\tikzset{bt@Highlight@par/.style={#1}}\begin{lrbox}{\@tempboxa}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    16
{\end{lrbox}\bt@HL@box[bt@Highlight@par]{\@tempboxa}\endgroup\end{onlyenv}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    17
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    18
\newcommand<>\btHL[1][]{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    19
  \only#2{\begin{btHighlight}[#1]\bgroup\aftergroup\bt@HL@endenv}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    20
}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    21
\def\bt@HL@endenv{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    22
  \end{btHighlight}%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    23
  \egroup
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    24
}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    25
\newcommand{\bt@HL@box}[2][]{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    26
  \tikz[#1]{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    27
    \pgfpathrectangle{\pgfpoint{1pt}{0pt}}{\pgfpoint{\wd #2}{\ht #2}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    28
    \pgfusepath{use as bounding box}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    29
    \node[anchor=base west, fill=orange!30,outer sep=0pt,inner xsep=1pt, inner ysep=0pt, rounded corners=3pt, minimum height=\ht\strutbox+1pt,#1]{\raisebox{1pt}{\strut}\strut\usebox{#2}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    30
  }%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    31
}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    32
\makeatother
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 215
diff changeset
    33
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
    35
% beamer stuff
459
780486571e38 updated
Christian Urban <urbanc@in.tum.de>
parents: 315
diff changeset
    36
\renewcommand{\slidecaption}{CFL 10, King's College London}
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
\newcommand{\bl}[1]{\textcolor{blue}{#1}}       
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
    38
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
\begin{document}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    42
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
    43
\begin{frame}[t]
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
\frametitle{%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    45
  \begin{tabular}{@ {}c@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
  \\[-3mm]
459
780486571e38 updated
Christian Urban <urbanc@in.tum.de>
parents: 315
diff changeset
    47
  \LARGE Compilers and \\[-2mm] 
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
  \LARGE Formal Languages (10)\\[3mm] 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
  \end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
  \normalsize
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
  \begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    53
  \begin{tabular}{ll}
704
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    54
    Email:  & christian.urban at kcl.ac.uk\\
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    55
    Office Hours: & Thursdays 12 -- 14\\
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    56
    Location: & N7.07 (North Wing, Bush House)\\
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    57
    Slides \& Progs: & KEATS (also homework is there)\\  
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    58
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    59
  \end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    60
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
    61
\end{frame}
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    62
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    63
704
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    64
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    65
\begin{frame}[c,fragile]
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    66
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    67
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    68
\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    69
def fact(n: Int) : Int = {
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    70
  if (n == 0) 1 else n * fact(n - 1) 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    71
}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    72
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    73
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    74
def factC(n: Int, ret: Int => Int) : Int = {
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    75
  if (n == 0) ret(1) 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    76
  else factC(n - 1, x => ret(n * x)) 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    77
}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    78
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    79
fact(10)
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    80
factC(10, identity)
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    81
\end{lstlisting}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    82
\end{frame}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    83
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    84
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    85
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    86
\begin{frame}[c,fragile]
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    87
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    88
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    89
\begin{lstlisting}[language=Scala, numbers=none, xleftmargin=-6mm]
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    90
def fibC(n: Int, ret: Int => Int) : Int = {
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    91
  if (n == 0 || n == 1) ret(1) else
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    92
  fibC(n - 1,
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    93
       r1 => fibC(n - 2,
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    94
        r2 => ret(r1 + r2)))
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    95
}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    96
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    97
fibC(10, identity)
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    98
\end{lstlisting}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
    99
\end{frame}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   100
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   101
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   102
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   103
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   104
543
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   105
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   106
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   107
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   108
704
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   109
  \Large\bf Are there more strings in \\ \hfill\bl{$L(a^*)$} or
617
f7de0915fff2 updated
Christian Urban <urbanc@in.tum.de>
parents: 616
diff changeset
   110
  \bl{$L((a + b)^*)$}?
543
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   111
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   112
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   113
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   114
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   115
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   116
\begin{frame}[c]
704
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   117
\frametitle{Can you remember this HW?}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   118
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   119
  \begin{itemize}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   120
  \item (1) How many basic regular expressions are there to match
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   121
      the string \bl{$abcd$}? 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   122
  \item (2) How many if they cannot include
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   123
      \bl{$\ONE$} and \bl{$\ZERO$}? 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   124
  \item (3) How many if they are also not
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   125
      allowed to contain stars? 
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   126
  \item (4) How many if they are also
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   127
      not allowed to contain \bl{$\_ + \_$}?
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   128
   \end{itemize}  
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   129
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   130
\end{frame}
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   131
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   132
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   133
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   134
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6d9c960a2b26 updated
Christian Urban <urbanc@in.tum.de>
parents: 617
diff changeset
   135
\begin{frame}[c]
543
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   136
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   137
\Large\bf There are more problems, than there are
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   138
programs.\bigskip\bigskip\pause\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   139
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   140
There must be a problem for which there is no program.
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   141
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   142
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   143
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   144
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   145
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   146
\frametitle{Subsets}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   147
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   148
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   149
If \bl{$A \subseteq B$} then \bl{$A$} has fewer or equal elements 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   150
than \bl{$B$}\bigskip\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   151
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   152
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   153
\bl{$A \subseteq B$} and \bl{$B \subseteq A$}\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   154
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   155
then \bl{$A = B$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   156
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   157
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   158
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   159
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   160
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   161
  \begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   162
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   163
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   164
  \begin{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   165
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   166
  \draw (-4,2.5) node [scale=2.5] (X) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   167
    {\begin{tabular}{l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   168
     $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   169
     \!\includegraphics[scale=0.02]{../pics/o1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   170
     \includegraphics[scale=0.02]{../pics/o2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   171
     \!\includegraphics[scale=0.02]{../pics/o3.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   172
     \includegraphics[scale=0.02]{../pics/o4.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   173
     \!\includegraphics[scale=0.027]{../pics/o5.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   174
     $\}$
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   175
    \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   176
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   177
    \draw (-5.6,-2.5) node [scale=2.5] (Y) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   178
    {\begin{tabular}{l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   179
     $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   180
     \!\includegraphics[scale=0.059]{../pics/a1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   181
     \includegraphics[scale=0.048]{../pics/a2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   182
     \includegraphics[scale=0.02]{../pics/a3.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   183
     $\}$
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   184
    \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   185
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   186
     \draw (0,1.5) node (X1) {5 elements};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   187
     \draw (0,-3.5) node (y1) {3 elements};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   188
  \end{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   189
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   190
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   191
  \end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   193
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   194
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   195
  \begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   196
  \frametitle{Newton vs Feynman}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   197
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   198
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   199
  \begin{tabular}{cc}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   200
  \includegraphics[scale=0.2]{../pics/newton.jpg} &
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   201
  \includegraphics[scale=0.2]{../pics/feynman.jpg}\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   202
  classical physics & quantum physics
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   203
  \end{tabular}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   204
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   205
  \end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   206
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   207
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   208
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   209
  \begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   210
  \frametitle{The Goal of the Talk}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   211
 \large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   212
  \begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   213
  \item show you that something very unintuitive happens with very large sets	
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   214
  \bigskip\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   215
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   216
  \item convince you that there are more {\bf problems} than {\bf programs}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   217
  \end{itemize}	
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   218
  \end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   219
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   220
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   221
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   222
\begin{frame}[t]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   223
%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   224
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   225
  \begin{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   226
 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   227
  \draw (-5,2.5) node [scale=2.3] (X) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   228
    {\begin{tabular}{@ {\hspace{-3mm}}l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   229
     \bl{$B$ $=$ $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   230
     \!\includegraphics[scale=0.02]{../pics/o1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   231
     \includegraphics[scale=0.02]{../pics/o2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   232
     \!\includegraphics[scale=0.02]{../pics/o3.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   233
     \includegraphics[scale=0.02]{../pics/o4.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   234
     \!\includegraphics[scale=0.027]{../pics/o5.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   235
     $\}$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   236
    \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   237
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   238
    \draw (-6.6,-0.5) node [scale=2.3] (Y) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   239
    {\begin{tabular}{@ {\hspace{-3mm}}l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   240
     \bl{$A$ $=$ $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   241
     \!\includegraphics[scale=0.059]{../pics/a1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   242
     \includegraphics[scale=0.048]{../pics/a2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   243
     \includegraphics[scale=0.02]{../pics/a3.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   244
     $\}$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   245
     \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   246
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   247
     \only<1>{\draw (-5, -3) node[scale=2] 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   248
       {\bl{$|A|$ $=$ $5$}, \bl{$|B|$ $=$ $3$}};}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   249
     \only<2>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   250
       \draw [->, line width=1mm, red] (-7.4, 0.2) -- (-6.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   251
       \draw [->, line width=1mm, red] (-5.8, 0.2) -- (-3.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   252
       \draw [->, line width=1mm, red] (-4.5, 0.2) -- (-7.6, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   253
       \draw (-5, -3) node[scale=2] {then \bl{$|A|$ $\le$ $|B|$}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   254
       }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   255
    \only<3>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   256
       \draw [<-, line width=1mm, red] (-7.5, 0.2) -- (-6.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   257
       \draw [<-, line width=1mm, red] (-7.3, 0.2) -- (-3.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   258
       \draw [<-, line width=1mm, red] (-6, 0.2) -- (-7.5, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   259
       \draw [<-, line width=1mm, red] (-4.5, 0.2) -- (-4.5, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   260
       \draw [<-, line width=1mm, red] (-4.3, 0.2) -- (-1.3, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   261
       
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   262
       \draw (-5, -3) node[scale=1.5] {\small{}for \bl{$=$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   263
        has to be a {\bf one-to-one} mapping};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   264
       }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   265
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   266
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   267
  \end{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   268
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   269
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   270
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   271
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   272
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   273
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   274
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   275
\frametitle{Cardinality}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   276
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   277
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   278
\bl{$|A|$} $\dn$ ``how many elements''\bigskip\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   279
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   280
\bl{$A \subseteq B  \Rightarrow |A| \leq |B|$}\bigskip\\\pause
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   281
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   282
if there is an injective function \bl{$f: A \rightarrow B$} then \bl{$|A| \leq |B|$}\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   283
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   284
\begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   285
\bl{\large$\forall x y.\; f(x) = f(y) \Rightarrow x = y$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   286
\end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   287
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   288
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   289
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   290
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   291
\begin{frame}[t]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   292
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   293
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   294
  \begin{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   295
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   296
  \draw (-6.6,2.5) node [scale=2.3] (X) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   297
    {\begin{tabular}{@ {\hspace{-3mm}}l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   298
     $A$ $=$ $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   299
     \!\includegraphics[scale=0.02]{../pics/o1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   300
     \includegraphics[scale=0.02]{../pics/o2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   301
     \!\includegraphics[scale=0.02]{../pics/o3.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   302
     $\}$
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   303
    \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   304
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   305
    \draw (-6.6,-0.5) node [scale=2.3] (Y) 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   306
    {\begin{tabular}{@ {\hspace{-3mm}}l}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   307
     $B$ $=$ $\{$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   308
     \!\includegraphics[scale=0.059]{../pics/a1.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   309
     \includegraphics[scale=0.048]{../pics/a2.jpg},
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   310
     \includegraphics[scale=0.02]{../pics/a3.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   311
     $\}$
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   312
     \end{tabular}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   313
   \onslide<3->{\draw (-7, -3) node[scale=1.5] 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   314
      {then \bl{$|A|$ \alert{$=$} $|B|$}};}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   315
     \only<1>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   316
       \draw [->, line width=1mm, red] (-7.4, 0.2) -- (-6.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   317
       \draw [->, line width=1mm, red] (-5.8, 0.2) -- (-4.3, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   318
       \draw [->, line width=1mm, red] (-4.5, 0.2) -- (-7.6, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   319
     }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   320
    \only<2->{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   321
       \draw [<-, line width=1mm, blue] (-7.5, 0.2) -- (-7.5, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   322
       \draw [<-, line width=1mm, blue] (-5.8, 0.2) -- (-4.3, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   323
       \draw [<-, line width=1mm, blue] (-4.5, 0.2) -- (-6.1, 2.1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   324
       }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   325
   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   326
    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   327
  \end{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   328
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   329
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   330
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   331
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
315
470922b46a63 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 224
diff changeset
   332
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   333
543
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   334
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   335
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   336
\frametitle{Natural Numbers}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   337
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   338
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   339
\bl{$\mathbb{N}$} \bl{$\dn$} \bl{$\{0, 1, 2, 3, .......\}$}\bigskip\pause 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   340
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   341
\bl{$A$} is \alert{countable} iff \bl{$|A| \leq |\mathbb{N}|$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   342
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   343
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   344
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   345
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   346
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   347
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   348
\frametitle{First Question}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   349
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   350
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   351
\bl{$|\mathbb{N} - \{0\}|   \;\;\;\alert{?}\;\;\;  |\mathbb{N}| $}\bigskip\bigskip 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   352
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   353
\large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   354
\bl{$\geq$} or \bl{$\leq$} or \bl{$=$} ?
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   355
\bigskip\bigskip\bigskip\pause
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   356
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   357
\bl{$x$ $\mapsto$ $x + 1$},\\  \bl{$|\mathbb{N} - \{0\}|$ $=$  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   358
$|\mathbb{N}|$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   359
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   360
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   361
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   362
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   363
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   364
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   365
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   366
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   367
\bl{$|\mathbb{N} - \{0, 1\}|   \;\;\;\alert{?}\;\;\;  |\mathbb{N}| $}\bigskip\pause 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   368
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   369
\bl{$|\mathbb{N} - \mathbb{O}|   \;\;\;\alert{?}\;\;\;  |\mathbb{N}| $}\bigskip\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   370
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   371
\normalsize
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   372
\bl{$\mathbb{O}$} $\dn$ odd numbers\quad   \bl{$\{1,3,5......\}$}\\ \pause
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   373
\bl{$\mathbb{E}$} $\dn$ even numbers\quad   \bl{$\{0,2,4......\}$}\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   374
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   375
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   376
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   378
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   379
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   380
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   381
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   382
\bl{$|\mathbb{N} \cup \mathbb{-N}|   \;\;\;\alert{?}\;\;\;  |\mathbb{N}| $}\bigskip\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   383
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   384
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   385
\normalsize
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   386
\bl{$\mathbb{\phantom{-}N}$} $\dn$ positive numbers\quad   \bl{$\{0,1,2,3,......\}$}\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   387
\bl{$\mathbb{-N}$} $\dn$ negative numbers\quad   \bl{$\{0,-1,-2,-3,......\}$}\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   388
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   389
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   390
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   391
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   392
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   393
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   394
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   395
\Large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   396
\bl{$A$} is \alert{countable} if there exists an injective \bl{$f : A \rightarrow \mathbb{N}$}\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   397
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   398
\bl{$A$} is \alert{uncountable} if there does not exist an injective \bl{$f : A \rightarrow \mathbb{N}$}\bigskip\bigskip 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   399
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   400
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   401
countable:  \bl{$|A| \leq |\mathbb{N}|$}\\
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   402
uncountable:  \bl{$|A| > |\mathbb{N}|$}\pause\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   403
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   404
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   405
Does there exist such an \bl{$A$} ?
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   406
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   407
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   408
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   409
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   410
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   411
  \mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   412
  \begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   413
  \frametitle{Hilbert's Hotel}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   414
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   415
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   416
 \includegraphics[scale=0.8]{../pics/hilberts_hotel.jpg}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   417
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   418
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   419
  \begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   420
  \item \ldots has as many rooms as there are natural numbers
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   421
  \end{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   422
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   423
  \end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   424
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   425
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   426
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   427
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   428
\begin{frame}[t]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   429
 \frametitle{\begin{tabular}{c}Real Numbers between\\[-2mm] 0 and 1\end{tabular}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   430
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   431
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   432
  \begin{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   433
  \draw [fill, color=black!50] (1,4) rectangle (2, 3);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   434
  \draw [fill, color=black!50] (2,3) rectangle (3, 2);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   435
  \draw [fill, color=black!50] (3,2) rectangle (4, 1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   436
  \draw [fill, color=black!50] (4,1) rectangle (5, 0);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   437
  \draw (0, 0) grid (8, 5);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   438
  \draw [line width = 1.mm] (1,0) -- (1, 5);    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   439
  \draw [line width = 1.mm] (0, 4) -- (8, 4);    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   440
  \draw (0.5,3.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   441
  \draw (0.5,2.5) node {$2$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   442
  \draw (0.5,1.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   443
  \draw (0.5,0.5) node {$4$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   444
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   445
  \draw (1.5,3.5) node {\only<1>{$3$}\only<2->{$4$}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   446
  \draw (2.5,3.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   447
  \draw (3.5,3.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   448
  \draw (4.5,3.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   449
  \draw (5.5,3.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   450
  \draw (6.5,3.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   451
  \draw (7.5,3.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   452
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   453
  \draw (1.5,2.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   454
  \draw (2.5,2.5) node {\only<1-2>{$2$}\only<3->{$3$}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   455
  \draw (3.5,2.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   456
  \draw (4.5,2.5) node {$4$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   457
  \draw (5.5,2.5) node {$5$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   458
  \draw (6.5,2.5) node {$6$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   459
  \draw (7.5,2.5) node {$7$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   460
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   461
  \draw (1.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   462
  \draw (2.5,1.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   463
  \draw (3.5,1.5) node {\only<1-3>{$0$}\only<4->{$1$}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   464
  \draw (4.5,1.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   465
  \draw (5.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   466
  \draw (6.5,1.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   467
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   468
   \draw (1.5,0.5) node {$7$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   469
  \draw (2.5,0.5) node {$8$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   470
  \draw (3.5,0.5) node {$5$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   471
  \draw (4.5,0.5) node {\only<1-4>{$3$}\only<5->{$4$}};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   472
  \draw (5.5,0.5) node {$9$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   473
  \draw (6.5,0.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   474
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   475
   \draw (1.5,-0.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   476
   \draw (8.5,3.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   477
  \end{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   478
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   479
  \mbox{}\\[-20mm]\mbox{}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   480
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   481
  \onslide<6->{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   482
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   483
  \Large\bl{$|\mathbb{N}| < |R|$}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   484
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   485
  }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   486
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   487
\end{frame}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   488
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   489
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   490
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   491
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   492
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   493
\begin{frame}[t]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   494
 \frametitle{The Set of Problems}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   495
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   496
  $\aleph_0$
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   497
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   498
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   499
  \begin{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   500
  \draw [fill, color=black!50] (1,4) rectangle (2, 3);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   501
  \draw [fill, color=black!50] (2,3) rectangle (3, 2);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   502
  \draw [fill, color=black!50] (3,2) rectangle (4, 1);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   503
  \draw [fill, color=black!50] (4,1) rectangle (5, 0);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   504
  \draw (0, 0) grid (8, 5);
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   505
  \draw [line width = 1.mm] (1,0) -- (1, 5);    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   506
  \draw [line width = 1.mm] (0, 4) -- (8, 4);    
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   507
  \draw (0.5,3.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   508
  \draw (0.5,2.5) node {$2$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   509
  \draw (0.5,1.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   510
  \draw (0.5,0.5) node {$4$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   511
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   512
  \draw (1.5,4.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   513
  \draw (2.5,4.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   514
  \draw (3.5,4.5) node {$2$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   515
  \draw (4.5,4.5) node {$3$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   516
  \draw (5.5,4.5) node {$4$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   517
  \draw (6.5,4.5) node {$5$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   518
  \draw (7.5,4.5) node {$\ldots$}; 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   519
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   520
  \draw (1.5,3.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   521
  \draw (2.5,3.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   522
  \draw (3.5,3.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   523
  \draw (4.5,3.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   524
  \draw (5.5,3.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   525
  \draw (6.5,3.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   526
  \draw (7.5,3.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   527
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   528
  \draw (1.5,2.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   529
  \draw (2.5,2.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   530
  \draw (3.5,2.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   531
  \draw (4.5,2.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   532
  \draw (5.5,2.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   533
  \draw (6.5,2.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   534
  \draw (7.5,2.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   535
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   536
  \draw (1.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   537
  \draw (2.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   538
  \draw (3.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   539
  \draw (4.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   540
  \draw (5.5,1.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   541
  \draw (6.5,1.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   542
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   543
   \draw (1.5,0.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   544
  \draw (2.5,0.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   545
  \draw (3.5,0.5) node {$0$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   546
  \draw (4.5,0.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   547
  \draw (5.5,0.5) node {$1$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   548
  \draw (6.5,0.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   549
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   550
  \draw (1.5,-0.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   551
   \draw (8.5,3.5) node {$\ldots$};
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   552
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   553
  \end{tikzpicture}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   554
  \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   555
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   556
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   557
  \onslide<2>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   558
  \begin{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   559
  \large \bl{|Progs| $=$ $|\mathbb{N}|$ $<$ |Probs|}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   560
 \end{center}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   561
  }
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   562
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   563
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   564
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   565
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   566
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   567
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   568
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   569
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   570
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   571
\frametitle{Halting Problem}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   572
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   573
\large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   574
Assume a program \bl{$H$} that decides for all programs \bl{$A$} and all 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   575
input data \bl{$D$} whether\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   576
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   577
\begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   578
\item \bl{$H(A, D) \dn 1$} iff \bl{$A(D)$} terminates
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   579
\item \bl{$H(A, D) \dn 0$} otherwise
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   580
\end{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   581
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   582
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   583
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   584
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   585
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   586
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   587
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   588
\frametitle{Halting Problem (2)}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   589
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   590
\large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   591
Given such a program \bl{$H$} define the following program \bl{$C$}:
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   592
for all programs \bl{$A$}\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   593
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   594
\begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   595
\item \bl{$C(A) \dn 0$} iff \bl{$H(A, A) = 0$} 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   596
\item \bl{$C(A) \dn$ loops} otherwise
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   597
\end{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   598
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   599
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   600
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   601
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   602
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   603
\mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   604
\begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   605
\frametitle{Contradiction}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   606
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   607
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   608
\bl{$H(C, C)$} is either \bl{$0$} or \bl{$1$}.
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   609
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   610
\begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   611
\item \bl{$H(C, C) = 1$} $\stackrel{\text{def}\,H}{\Rightarrow}$ \bl{$C(C)\downarrow$} $\stackrel{\text{def}\,C}{\Rightarrow}$ \bl{$H(C, C)=0$} 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   612
\item \bl{$H(C, C) = 0$} $\stackrel{\text{def}\,H}{\Rightarrow}$ \bl{$C(C)$} loops $\stackrel{\text{def}\,C}{\Rightarrow}$\\ 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   613
\hspace{7cm}\bl{$H(C, C)=1$} 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   614
\end{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   615
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   616
Contradiction in both cases. So \bl{$H$} cannot exist.
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   617
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   618
\end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   619
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   620
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   621
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   622
  \mode<presentation>{
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   623
  \begin{frame}[c]
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   624
  \frametitle{Take Home Points}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   625
 \large
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   626
 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   627
  \begin{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   628
  \item there are sets that are more infinite than others\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   629
  \item even  with the most powerful computer we can imagine, there 
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   630
  are problems that cannot be solved by any program\bigskip\bigskip
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   631
  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   632
  \item in CS we actually hit quite often such problems (halting problem)
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   633
  \end{itemize}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   634
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   635
  \end{frame}}
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   636
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
16adebf18ef9 updated
Christian Urban <urbanc@in.tum.de>
parents: 500
diff changeset
   637
  
86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   638
\end{document}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   639
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   640
%%% Local Variables:  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   641
%%% mode: latex
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   642
%%% TeX-master: t
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   643
%%% End: 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   644