author | Christian Urban <urbanc@in.tum.de> |
Tue, 20 Nov 2018 08:00:16 +0000 | |
changeset 606 | a50feaa0c4b3 |
parent 543 | 16adebf18ef9 |
child 616 | 24bbe4e4b37b |
permissions | -rw-r--r-- |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
\documentclass[dvipsnames,14pt,t]{beamer} |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
2 |
\usepackage{../slides} |
215
828303e8e4af
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
93
diff
changeset
|
3 |
\usepackage{../langs} |
828303e8e4af
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
93
diff
changeset
|
4 |
\usepackage{../data} |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
5 |
\usepackage{../graphics} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
6 |
\usepackage{soul} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
|
223
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
8 |
\tikzset{onslide/.code args={<#1>#2}{% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
9 |
\only<#1>{\pgfkeysalso{#2}} % \pgfkeysalso doesn't change the path |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
10 |
}} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
11 |
|
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
12 |
\makeatletter |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
13 |
\newenvironment<>{btHighlight}[1][] |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
14 |
{\begin{onlyenv}#2\begingroup\tikzset{bt@Highlight@par/.style={#1}}\begin{lrbox}{\@tempboxa}} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
15 |
{\end{lrbox}\bt@HL@box[bt@Highlight@par]{\@tempboxa}\endgroup\end{onlyenv}} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
16 |
|
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
17 |
\newcommand<>\btHL[1][]{% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
18 |
\only#2{\begin{btHighlight}[#1]\bgroup\aftergroup\bt@HL@endenv}% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
19 |
} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
20 |
\def\bt@HL@endenv{% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
21 |
\end{btHighlight}% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
22 |
\egroup |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
23 |
} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
24 |
\newcommand{\bt@HL@box}[2][]{% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
25 |
\tikz[#1]{% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
26 |
\pgfpathrectangle{\pgfpoint{1pt}{0pt}}{\pgfpoint{\wd #2}{\ht #2}}% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
27 |
\pgfusepath{use as bounding box}% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
28 |
\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}}; |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
29 |
}% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
30 |
} |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
31 |
\makeatother |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
32 |
|
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
33 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
34 |
% beamer stuff |
459 | 35 |
\renewcommand{\slidecaption}{CFL 10, King's College London} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
36 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
37 |
|
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
38 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
39 |
\begin{document} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
40 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
41 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
42 |
\begin{frame}[t] |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
43 |
\frametitle{% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
44 |
\begin{tabular}{@ {}c@ {}} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
45 |
\\[-3mm] |
459 | 46 |
\LARGE Compilers and \\[-2mm] |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
47 |
\LARGE Formal Languages (10)\\[3mm] |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
48 |
\end{tabular}} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
49 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
50 |
\normalsize |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
51 |
\begin{center} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
52 |
\begin{tabular}{ll} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
53 |
Email: & christian.urban at kcl.ac.uk\\ |
500 | 54 |
Office: & N7.07 (North Wing, Bush House)\\ |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
55 |
Slides: & KEATS (also home work is there)\\ |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
56 |
\end{tabular} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
57 |
\end{center} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
58 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
59 |
\end{frame} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
60 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
61 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
62 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
63 |
\mode<presentation>{ |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
64 |
\begin{frame}[c] |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
65 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
66 |
\large\bf |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
67 |
Using a compiler, \\how can you mount the\\ perfect attack against a system? |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
68 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
69 |
\end{frame}} |
223
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
70 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
71 |
|
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
72 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
73 |
\mode<presentation>{ |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
74 |
\begin{frame}[c] |
223
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
75 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
76 |
{\large\bf |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
77 |
What is a \alert{perfect} attack?}\bigskip |
223
e4b29b57f6a3
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
215
diff
changeset
|
78 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
79 |
\begin{enumerate} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
80 |
\item you can potentially completely take over a target system |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
81 |
\item your attack is (nearly) undetectable |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
82 |
\item the victim has (almost) no chance to recover |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
83 |
\end{enumerate} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
84 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
85 |
\end{frame}} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
86 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
87 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
88 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
89 |
\mode<presentation>{ |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
90 |
\begin{frame}[c] |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
91 |
|
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
92 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
93 |
\begin{center} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
94 |
\begin{tikzpicture}[scale=1] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
95 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
96 |
\onslide<1->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
97 |
\node (A) at (0,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=17mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
98 |
\node [below right] at (A.north west) {\footnotesize\begin{tabular}{@{}l@{}} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
99 |
\only<1,2>{clean}\only<3->{\alert{hacked}}\\compiler\end{tabular}};} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
100 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
101 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
102 |
\onslide<2->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
103 |
\node (B) at (-2,2) [draw=black, rectangle, very thick, minimum height=10mm, minimum width=12mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
104 |
\node [below right] at (B.north west) {\footnotesize\begin{tabular}{@{}l@{}}login\\(src)\end{tabular}}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
105 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
106 |
\node (C) at (2,2) [draw=black, rectangle, very thick, minimum height=10mm, minimum width=12mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
107 |
\node [below right] at (C.north west) {\footnotesize\begin{tabular}{@{}l@{}}login\\(bin)\end{tabular}}; |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
108 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
109 |
\draw[->, line width=2mm] (B) -- (C); |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
110 |
} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
111 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
112 |
\onslide<3->{\node [above left=-1.5mm] at (C.south east) {\footnotesize \alert{$\blacksquare$}};} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
113 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
114 |
\end{tikzpicture} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
115 |
\end{center} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
116 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
117 |
\end{frame}} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
118 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
119 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
120 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
121 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
122 |
\mode<presentation>{ |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
123 |
\begin{frame}[c] |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
124 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
125 |
\begin{center} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
126 |
\begin{tikzpicture}[scale=1] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
127 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
128 |
\onslide<1->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
129 |
\node (A) at (0,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
130 |
\node [below right] at (A.north west) {\small V0.01}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
131 |
\node [below right] (A1) at (A.south west) {\small Scala}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
132 |
\node [below right] (A1) at (A1.south west) {\small\textcolor{gray}{host language}}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
133 |
\node [above right] at (A.north west) {my compiler (src)};} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
134 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
135 |
\onslide<2->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
136 |
\node (B) at (1.8,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
137 |
\node [below right] at (B.north west) {\small V0.02}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
138 |
\node [below right] at (B.south west) {\small Scala}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
139 |
\node at (3,0) {\ldots}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
140 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
141 |
\node (C) at (5,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
142 |
\node [below right] at (C.north west) {\small V1.00}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
143 |
\node [below right] at (C.south west) {\small Scala};} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
144 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
145 |
\onslide<3->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
146 |
\node (D) at (6.8,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
147 |
\node [below right] at (D.north west) {\small V1.00}; |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
148 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
149 |
\node (E) at (6.8,2) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
150 |
\node [below right] at (E.north west) {\small V1.01};} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
151 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
152 |
\onslide<4->{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
153 |
\node (F) at (8.6,0) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
154 |
\node [below right] at (F.north west) {\small V1.01}; |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
155 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
156 |
\node (G) at (8.6,2) [draw=black, rectangle, very thick, minimum height=18mm, minimum width=14mm] {}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
157 |
\node [below right] at (G.north west) {\small V1.02}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
158 |
\node at (9.8,0) {\ldots}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
159 |
\node at (9.8,2) {\ldots}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
160 |
\node at (8,-2) {\textcolor{gray}{\begin{tabular}{@{}l@{}}no host language\\needed\end{tabular}}}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
161 |
} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
162 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
163 |
\end{tikzpicture} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
164 |
\end{center} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
165 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
166 |
\end{frame}} |
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
167 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
168 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
169 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
170 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
171 |
\mode<presentation>{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
172 |
\begin{frame}<1-3> |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
173 |
\frametitle{\LARGE\begin{tabular}{c}Hacking Compilers |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
174 |
\end{tabular}} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
175 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
176 |
%Why is it so paramount to have a small trusted code base (TCB)? |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
177 |
\bigskip\bigskip |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
178 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
179 |
\begin{columns} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
180 |
\begin{column}{2.7cm} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
181 |
\begin{minipage}{2.5cm}% |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
182 |
\begin{tabular}{c@ {}} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
183 |
\includegraphics[scale=0.2]{../pics/ken-thompson.jpg}\\[-1.8mm] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
184 |
\footnotesize Ken Thompson\\[-1.8mm] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
185 |
\footnotesize Turing Award, 1983\\ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
186 |
\end{tabular} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
187 |
\end{minipage} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
188 |
\end{column} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
189 |
\begin{column}{9cm} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
190 |
\begin{tabular}{l@ {\hspace{1mm}}p{8cm}} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
191 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
192 |
& Ken Thompson showed how to hide a Trojan Horse in a |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
193 |
compiler \textcolor{red}{without} leaving any traces in the source code.\\[2mm] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
194 |
|
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
195 |
& No amount of source level verification will protect |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
196 |
you from such Thompson-hacks.\\[2mm] |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
197 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
198 |
\end{tabular} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
199 |
\end{column} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
200 |
\end{columns} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
201 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
202 |
\only<2>{ |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
203 |
\begin{textblock}{6}(4,2) |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
204 |
\begin{tikzpicture} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
205 |
\draw (0,0) node[inner sep=3mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
206 |
{\normalsize |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
207 |
\begin{minipage}{8cm} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
208 |
\begin{quote} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
209 |
\includegraphics[scale=0.05]{../pics/evil.png} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
210 |
\begin{enumerate} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
211 |
\item[1)] Assume you ship the compiler as binary and also with sources. |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
212 |
\item[2)] Make the compiler aware when it compiles itself. |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
213 |
\item[3)] Add the Trojan horse. |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
214 |
\item[4)] Compile. |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
215 |
\item[5)] Delete Trojan horse from the sources of the compiler. |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
216 |
\item[6)] Go on holiday for the rest of your life. ;o)\\[-7mm]\mbox{} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
217 |
\end{enumerate} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
218 |
\end{quote} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
219 |
\end{minipage}}; |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
220 |
\end{tikzpicture} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
221 |
\end{textblock}} |
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
222 |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
223 |
\end{frame}} |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
224 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
225 |
|
543 | 226 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
227 |
\begin{frame}[c] |
|
228 |
\frametitle{Compilers \& Boeings 777} |
|
229 |
||
230 |
First flight in 1994. They want to achieve triple redundancy in hardware |
|
231 |
faults.\bigskip |
|
232 |
||
233 |
They compile 1 Ada program to\medskip |
|
234 |
||
235 |
\begin{itemize} |
|
236 |
\item Intel 80486 |
|
237 |
\item Motorola 68040 (old Macintosh's) |
|
238 |
\item AMD 29050 (RISC chips used often in laser printers) |
|
239 |
\end{itemize}\medskip |
|
240 |
||
241 |
using 3 independent compilers.\bigskip\pause |
|
242 |
||
243 |
\small Airbus uses C and static analysers. Recently started using CompCert. |
|
244 |
||
245 |
\end{frame} |
|
246 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
247 |
||
248 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
249 |
\begin{frame}[c] |
|
250 |
||
251 |
{\Large\bf |
|
252 |
How many strings are in \bl{$L(a^*)$}?}\bigskip\pause |
|
253 |
||
254 |
\normalsize |
|
255 |
\begin{center} |
|
256 |
\begin{tabular}{llllll} |
|
257 |
\bl{$[]$} & \bl{$a$} & \bl{$aa$} & \bl{$aaa$} & \bl{$aaaa$} & \ldots\\ |
|
258 |
\bl{0} & \bl{1} & \bl{2} & \bl{3} & \bl{4} & \ldots |
|
259 |
\end{tabular} |
|
260 |
\end{center} |
|
261 |
||
262 |
\end{frame} |
|
263 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
264 |
||
265 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
266 |
\begin{frame}[c] |
|
267 |
||
268 |
\Large\bf There are more problems, than there are |
|
269 |
programs.\bigskip\bigskip\pause\\ |
|
270 |
||
271 |
There must be a problem for which there is no program. |
|
272 |
\end{frame} |
|
273 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
274 |
||
275 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
276 |
\begin{frame}[c] |
|
277 |
\frametitle{Subsets} |
|
278 |
||
279 |
\Large |
|
280 |
If \bl{$A \subseteq B$} then \bl{$A$} has fewer or equal elements |
|
281 |
than \bl{$B$}\bigskip\bigskip |
|
282 |
||
283 |
\Large |
|
284 |
\bl{$A \subseteq B$} and \bl{$B \subseteq A$}\bigskip |
|
285 |
||
286 |
then \bl{$A = B$} |
|
287 |
\end{frame} |
|
288 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
289 |
||
290 |
||
291 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
292 |
\begin{frame}[c] |
|
293 |
||
294 |
\begin{center} |
|
295 |
\begin{tikzpicture} |
|
296 |
||
297 |
\draw (-4,2.5) node [scale=2.5] (X) |
|
298 |
{\begin{tabular}{l} |
|
299 |
$\{$ |
|
300 |
\!\includegraphics[scale=0.02]{../pics/o1.jpg}, |
|
301 |
\includegraphics[scale=0.02]{../pics/o2.jpg}, |
|
302 |
\!\includegraphics[scale=0.02]{../pics/o3.jpg}, |
|
303 |
\includegraphics[scale=0.02]{../pics/o4.jpg}, |
|
304 |
\!\includegraphics[scale=0.027]{../pics/o5.jpg} |
|
305 |
$\}$ |
|
306 |
\end{tabular}}; |
|
307 |
||
308 |
\draw (-5.6,-2.5) node [scale=2.5] (Y) |
|
309 |
{\begin{tabular}{l} |
|
310 |
$\{$ |
|
311 |
\!\includegraphics[scale=0.059]{../pics/a1.jpg}, |
|
312 |
\includegraphics[scale=0.048]{../pics/a2.jpg}, |
|
313 |
\includegraphics[scale=0.02]{../pics/a3.jpg} |
|
314 |
$\}$ |
|
315 |
\end{tabular}}; |
|
316 |
||
317 |
\draw (0,1.5) node (X1) {5 elements}; |
|
318 |
\draw (0,-3.5) node (y1) {3 elements}; |
|
319 |
\end{tikzpicture} |
|
320 |
\end{center} |
|
321 |
||
322 |
\end{frame} |
|
323 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
324 |
||
325 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
326 |
\begin{frame}[c] |
|
327 |
\frametitle{Newton vs Feynman} |
|
328 |
||
329 |
\begin{center} |
|
330 |
\begin{tabular}{cc} |
|
331 |
\includegraphics[scale=0.2]{../pics/newton.jpg} & |
|
332 |
\includegraphics[scale=0.2]{../pics/feynman.jpg}\\ |
|
333 |
classical physics & quantum physics |
|
334 |
\end{tabular} |
|
335 |
\end{center} |
|
336 |
\end{frame} |
|
337 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
338 |
||
339 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
340 |
\begin{frame}[c] |
|
341 |
\frametitle{The Goal of the Talk} |
|
342 |
\large |
|
343 |
\begin{itemize} |
|
344 |
\item show you that something very unintuitive happens with very large sets |
|
345 |
\bigskip\bigskip |
|
346 |
||
347 |
\item convince you that there are more {\bf problems} than {\bf programs} |
|
348 |
\end{itemize} |
|
349 |
\end{frame} |
|
350 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
351 |
||
352 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
353 |
\begin{frame}[t] |
|
354 |
% |
|
355 |
\begin{center} |
|
356 |
\begin{tikzpicture} |
|
357 |
||
358 |
\draw (-5,2.5) node [scale=2.3] (X) |
|
359 |
{\begin{tabular}{@ {\hspace{-3mm}}l} |
|
360 |
\bl{$B$ $=$ $\{$ |
|
361 |
\!\includegraphics[scale=0.02]{../pics/o1.jpg}, |
|
362 |
\includegraphics[scale=0.02]{../pics/o2.jpg}, |
|
363 |
\!\includegraphics[scale=0.02]{../pics/o3.jpg}, |
|
364 |
\includegraphics[scale=0.02]{../pics/o4.jpg}, |
|
365 |
\!\includegraphics[scale=0.027]{../pics/o5.jpg} |
|
366 |
$\}$} |
|
367 |
\end{tabular}}; |
|
368 |
||
369 |
\draw (-6.6,-0.5) node [scale=2.3] (Y) |
|
370 |
{\begin{tabular}{@ {\hspace{-3mm}}l} |
|
371 |
\bl{$A$ $=$ $\{$ |
|
372 |
\!\includegraphics[scale=0.059]{../pics/a1.jpg}, |
|
373 |
\includegraphics[scale=0.048]{../pics/a2.jpg}, |
|
374 |
\includegraphics[scale=0.02]{../pics/a3.jpg} |
|
375 |
$\}$} |
|
376 |
\end{tabular}}; |
|
377 |
||
378 |
\only<1>{\draw (-5, -3) node[scale=2] |
|
379 |
{\bl{$|A|$ $=$ $5$}, \bl{$|B|$ $=$ $3$}};} |
|
380 |
\only<2>{ |
|
381 |
\draw [->, line width=1mm, red] (-7.4, 0.2) -- (-6.1, 2.1); |
|
382 |
\draw [->, line width=1mm, red] (-5.8, 0.2) -- (-3.1, 2.1); |
|
383 |
\draw [->, line width=1mm, red] (-4.5, 0.2) -- (-7.6, 2.1); |
|
384 |
\draw (-5, -3) node[scale=2] {then \bl{$|A|$ $\le$ $|B|$}}; |
|
385 |
} |
|
386 |
\only<3>{ |
|
387 |
\draw [<-, line width=1mm, red] (-7.5, 0.2) -- (-6.1, 2.1); |
|
388 |
\draw [<-, line width=1mm, red] (-7.3, 0.2) -- (-3.1, 2.1); |
|
389 |
\draw [<-, line width=1mm, red] (-6, 0.2) -- (-7.5, 2.1); |
|
390 |
\draw [<-, line width=1mm, red] (-4.5, 0.2) -- (-4.5, 2.1); |
|
391 |
\draw [<-, line width=1mm, red] (-4.3, 0.2) -- (-1.3, 2.1); |
|
392 |
||
393 |
\draw (-5, -3) node[scale=1.5] {\small{}for \bl{$=$} |
|
394 |
has to be a {\bf one-to-one} mapping}; |
|
395 |
} |
|
396 |
||
397 |
||
398 |
\end{tikzpicture} |
|
399 |
\end{center} |
|
400 |
||
401 |
\end{frame} |
|
402 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
403 |
||
404 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
405 |
\begin{frame}[c] |
|
406 |
\frametitle{Cardinality} |
|
407 |
||
408 |
\Large |
|
409 |
\bl{$|A|$} $\dn$ ``how many elements''\bigskip\\ |
|
410 |
||
411 |
\bl{$A \subseteq B \Rightarrow |A| \leq |B|$}\bigskip\\\pause |
|
412 |
||
413 |
if there is an injective function \bl{$f: A \rightarrow B$} then \bl{$|A| \leq |B|$}\ |
|
414 |
||
415 |
\begin{center} |
|
416 |
\bl{\large$\forall x y.\; f(x) = f(y) \Rightarrow x = y$} |
|
417 |
\end{center} |
|
418 |
\end{frame} |
|
419 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
420 |
||
421 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
422 |
\begin{frame}[t] |
|
423 |
||
424 |
\begin{center} |
|
425 |
\begin{tikzpicture} |
|
426 |
||
427 |
\draw (-6.6,2.5) node [scale=2.3] (X) |
|
428 |
{\begin{tabular}{@ {\hspace{-3mm}}l} |
|
429 |
$A$ $=$ $\{$ |
|
430 |
\!\includegraphics[scale=0.02]{../pics/o1.jpg}, |
|
431 |
\includegraphics[scale=0.02]{../pics/o2.jpg}, |
|
432 |
\!\includegraphics[scale=0.02]{../pics/o3.jpg} |
|
433 |
$\}$ |
|
434 |
\end{tabular}}; |
|
435 |
||
436 |
\draw (-6.6,-0.5) node [scale=2.3] (Y) |
|
437 |
{\begin{tabular}{@ {\hspace{-3mm}}l} |
|
438 |
$B$ $=$ $\{$ |
|
439 |
\!\includegraphics[scale=0.059]{../pics/a1.jpg}, |
|
440 |
\includegraphics[scale=0.048]{../pics/a2.jpg}, |
|
441 |
\includegraphics[scale=0.02]{../pics/a3.jpg} |
|
442 |
$\}$ |
|
443 |
\end{tabular}}; |
|
444 |
\onslide<3->{\draw (-7, -3) node[scale=1.5] |
|
445 |
{then \bl{$|A|$ \alert{$=$} $|B|$}};} |
|
446 |
\only<1>{ |
|
447 |
\draw [->, line width=1mm, red] (-7.4, 0.2) -- (-6.1, 2.1); |
|
448 |
\draw [->, line width=1mm, red] (-5.8, 0.2) -- (-4.3, 2.1); |
|
449 |
\draw [->, line width=1mm, red] (-4.5, 0.2) -- (-7.6, 2.1); |
|
450 |
} |
|
451 |
\only<2->{ |
|
452 |
\draw [<-, line width=1mm, blue] (-7.5, 0.2) -- (-7.5, 2.1); |
|
453 |
\draw [<-, line width=1mm, blue] (-5.8, 0.2) -- (-4.3, 2.1); |
|
454 |
\draw [<-, line width=1mm, blue] (-4.5, 0.2) -- (-6.1, 2.1); |
|
455 |
} |
|
456 |
||
457 |
||
458 |
\end{tikzpicture} |
|
459 |
\end{center} |
|
460 |
||
461 |
\end{frame} |
|
462 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
315
470922b46a63
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
224
diff
changeset
|
463 |
|
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
464 |
|
543 | 465 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
466 |
\begin{frame}[c] |
|
467 |
\frametitle{Natural Numbers} |
|
468 |
||
469 |
\Large |
|
470 |
\bl{$\mathbb{N}$} \bl{$\dn$} \bl{$\{0, 1, 2, 3, .......\}$}\bigskip\pause |
|
471 |
||
472 |
\bl{$A$} is \alert{countable} iff \bl{$|A| \leq |\mathbb{N}|$} |
|
473 |
||
474 |
\end{frame} |
|
475 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
476 |
||
477 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
478 |
\begin{frame}[c] |
|
479 |
\frametitle{First Question} |
|
480 |
||
481 |
\Large |
|
482 |
\bl{$|\mathbb{N} - \{0\}| \;\;\;\alert{?}\;\;\; |\mathbb{N}| $}\bigskip\bigskip |
|
483 |
||
484 |
\large |
|
485 |
\bl{$\geq$} or \bl{$\leq$} or \bl{$=$} ? |
|
486 |
\bigskip\bigskip\bigskip\pause |
|
487 |
||
488 |
\bl{$x$ $\mapsto$ $x + 1$},\\ \bl{$|\mathbb{N} - \{0\}|$ $=$ |
|
489 |
$|\mathbb{N}|$} |
|
490 |
\end{frame} |
|
491 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
492 |
||
493 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
494 |
\mode<presentation>{ |
|
495 |
\begin{frame}[c] |
|
496 |
||
497 |
\Large |
|
498 |
\bl{$|\mathbb{N} - \{0, 1\}| \;\;\;\alert{?}\;\;\; |\mathbb{N}| $}\bigskip\pause |
|
499 |
||
500 |
\bl{$|\mathbb{N} - \mathbb{O}| \;\;\;\alert{?}\;\;\; |\mathbb{N}| $}\bigskip\bigskip |
|
501 |
||
502 |
\normalsize |
|
503 |
\bl{$\mathbb{O}$} $\dn$ odd numbers\quad \bl{$\{1,3,5......\}$}\\ \pause |
|
504 |
\bl{$\mathbb{E}$} $\dn$ even numbers\quad \bl{$\{0,2,4......\}$}\\ |
|
505 |
\end{frame}} |
|
506 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
507 |
||
508 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
509 |
\mode<presentation>{ |
|
510 |
\begin{frame}[c] |
|
511 |
||
512 |
\Large |
|
513 |
\bl{$|\mathbb{N} \cup \mathbb{-N}| \;\;\;\alert{?}\;\;\; |\mathbb{N}| $}\bigskip\bigskip |
|
514 |
||
515 |
||
516 |
\normalsize |
|
517 |
\bl{$\mathbb{\phantom{-}N}$} $\dn$ positive numbers\quad \bl{$\{0,1,2,3,......\}$}\\ |
|
518 |
\bl{$\mathbb{-N}$} $\dn$ negative numbers\quad \bl{$\{0,-1,-2,-3,......\}$}\\ |
|
519 |
\end{frame}} |
|
520 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
521 |
||
522 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
523 |
\mode<presentation>{ |
|
524 |
\begin{frame}[c] |
|
525 |
||
526 |
\Large |
|
527 |
\bl{$A$} is \alert{countable} if there exists an injective \bl{$f : A \rightarrow \mathbb{N}$}\bigskip |
|
528 |
||
529 |
\bl{$A$} is \alert{uncountable} if there does not exist an injective \bl{$f : A \rightarrow \mathbb{N}$}\bigskip\bigskip |
|
530 |
||
531 |
||
532 |
countable: \bl{$|A| \leq |\mathbb{N}|$}\\ |
|
533 |
uncountable: \bl{$|A| > |\mathbb{N}|$}\pause\bigskip |
|
534 |
||
535 |
||
536 |
Does there exist such an \bl{$A$} ? |
|
537 |
||
538 |
\end{frame}} |
|
539 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
540 |
||
541 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
542 |
\mode<presentation>{ |
|
543 |
\begin{frame}[c] |
|
544 |
\frametitle{Hilbert's Hotel} |
|
545 |
||
546 |
\begin{center} |
|
547 |
\includegraphics[scale=0.8]{../pics/hilberts_hotel.jpg} |
|
548 |
\end{center} |
|
549 |
||
550 |
\begin{itemize} |
|
551 |
\item \ldots has as many rooms as there are natural numbers |
|
552 |
\end{itemize} |
|
553 |
||
554 |
\end{frame}} |
|
555 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
556 |
||
557 |
||
558 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
559 |
\begin{frame}[t] |
|
560 |
\frametitle{\begin{tabular}{c}Real Numbers between\\[-2mm] 0 and 1\end{tabular}} |
|
561 |
||
562 |
\begin{center} |
|
563 |
\begin{tikzpicture} |
|
564 |
\draw [fill, color=black!50] (1,4) rectangle (2, 3); |
|
565 |
\draw [fill, color=black!50] (2,3) rectangle (3, 2); |
|
566 |
\draw [fill, color=black!50] (3,2) rectangle (4, 1); |
|
567 |
\draw [fill, color=black!50] (4,1) rectangle (5, 0); |
|
568 |
\draw (0, 0) grid (8, 5); |
|
569 |
\draw [line width = 1.mm] (1,0) -- (1, 5); |
|
570 |
\draw [line width = 1.mm] (0, 4) -- (8, 4); |
|
571 |
\draw (0.5,3.5) node {$1$}; |
|
572 |
\draw (0.5,2.5) node {$2$}; |
|
573 |
\draw (0.5,1.5) node {$3$}; |
|
574 |
\draw (0.5,0.5) node {$4$}; |
|
575 |
||
576 |
\draw (1.5,3.5) node {\only<1>{$3$}\only<2->{$4$}}; |
|
577 |
\draw (2.5,3.5) node {$3$}; |
|
578 |
\draw (3.5,3.5) node {$3$}; |
|
579 |
\draw (4.5,3.5) node {$3$}; |
|
580 |
\draw (5.5,3.5) node {$3$}; |
|
581 |
\draw (6.5,3.5) node {$3$}; |
|
582 |
\draw (7.5,3.5) node {$\ldots$}; |
|
583 |
||
584 |
\draw (1.5,2.5) node {$1$}; |
|
585 |
\draw (2.5,2.5) node {\only<1-2>{$2$}\only<3->{$3$}}; |
|
586 |
\draw (3.5,2.5) node {$3$}; |
|
587 |
\draw (4.5,2.5) node {$4$}; |
|
588 |
\draw (5.5,2.5) node {$5$}; |
|
589 |
\draw (6.5,2.5) node {$6$}; |
|
590 |
\draw (7.5,2.5) node {$7$}; |
|
591 |
||
592 |
\draw (1.5,1.5) node {$0$}; |
|
593 |
\draw (2.5,1.5) node {$1$}; |
|
594 |
\draw (3.5,1.5) node {\only<1-3>{$0$}\only<4->{$1$}}; |
|
595 |
\draw (4.5,1.5) node {$1$}; |
|
596 |
\draw (5.5,1.5) node {$0$}; |
|
597 |
\draw (6.5,1.5) node {$\ldots$}; |
|
598 |
||
599 |
\draw (1.5,0.5) node {$7$}; |
|
600 |
\draw (2.5,0.5) node {$8$}; |
|
601 |
\draw (3.5,0.5) node {$5$}; |
|
602 |
\draw (4.5,0.5) node {\only<1-4>{$3$}\only<5->{$4$}}; |
|
603 |
\draw (5.5,0.5) node {$9$}; |
|
604 |
\draw (6.5,0.5) node {$\ldots$}; |
|
605 |
||
606 |
\draw (1.5,-0.5) node {$\ldots$}; |
|
607 |
\draw (8.5,3.5) node {$\ldots$}; |
|
608 |
\end{tikzpicture} |
|
609 |
\end{center} |
|
610 |
\mbox{}\\[-20mm]\mbox{} |
|
611 |
||
612 |
\onslide<6->{ |
|
613 |
\begin{center} |
|
614 |
\Large\bl{$|\mathbb{N}| < |R|$} |
|
615 |
\end{center} |
|
616 |
} |
|
617 |
||
618 |
\end{frame} |
|
619 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
620 |
||
621 |
||
622 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
623 |
\mode<presentation>{ |
|
624 |
\begin{frame}[t] |
|
625 |
\frametitle{The Set of Problems} |
|
626 |
||
627 |
$\aleph_0$ |
|
628 |
||
629 |
\begin{center} |
|
630 |
\begin{tikzpicture} |
|
631 |
\draw [fill, color=black!50] (1,4) rectangle (2, 3); |
|
632 |
\draw [fill, color=black!50] (2,3) rectangle (3, 2); |
|
633 |
\draw [fill, color=black!50] (3,2) rectangle (4, 1); |
|
634 |
\draw [fill, color=black!50] (4,1) rectangle (5, 0); |
|
635 |
\draw (0, 0) grid (8, 5); |
|
636 |
\draw [line width = 1.mm] (1,0) -- (1, 5); |
|
637 |
\draw [line width = 1.mm] (0, 4) -- (8, 4); |
|
638 |
\draw (0.5,3.5) node {$1$}; |
|
639 |
\draw (0.5,2.5) node {$2$}; |
|
640 |
\draw (0.5,1.5) node {$3$}; |
|
641 |
\draw (0.5,0.5) node {$4$}; |
|
642 |
||
643 |
\draw (1.5,4.5) node {$0$}; |
|
644 |
\draw (2.5,4.5) node {$1$}; |
|
645 |
\draw (3.5,4.5) node {$2$}; |
|
646 |
\draw (4.5,4.5) node {$3$}; |
|
647 |
\draw (5.5,4.5) node {$4$}; |
|
648 |
\draw (6.5,4.5) node {$5$}; |
|
649 |
\draw (7.5,4.5) node {$\ldots$}; |
|
650 |
||
651 |
\draw (1.5,3.5) node {$0$}; |
|
652 |
\draw (2.5,3.5) node {$1$}; |
|
653 |
\draw (3.5,3.5) node {$0$}; |
|
654 |
\draw (4.5,3.5) node {$1$}; |
|
655 |
\draw (5.5,3.5) node {$0$}; |
|
656 |
\draw (6.5,3.5) node {$1$}; |
|
657 |
\draw (7.5,3.5) node {$\ldots$}; |
|
658 |
||
659 |
\draw (1.5,2.5) node {$0$}; |
|
660 |
\draw (2.5,2.5) node {$0$}; |
|
661 |
\draw (3.5,2.5) node {$0$}; |
|
662 |
\draw (4.5,2.5) node {$1$}; |
|
663 |
\draw (5.5,2.5) node {$1$}; |
|
664 |
\draw (6.5,2.5) node {$0$}; |
|
665 |
\draw (7.5,2.5) node {$0$}; |
|
666 |
||
667 |
\draw (1.5,1.5) node {$0$}; |
|
668 |
\draw (2.5,1.5) node {$0$}; |
|
669 |
\draw (3.5,1.5) node {$0$}; |
|
670 |
\draw (4.5,1.5) node {$0$}; |
|
671 |
\draw (5.5,1.5) node {$0$}; |
|
672 |
\draw (6.5,1.5) node {$\ldots$}; |
|
673 |
||
674 |
\draw (1.5,0.5) node {$1$}; |
|
675 |
\draw (2.5,0.5) node {$1$}; |
|
676 |
\draw (3.5,0.5) node {$0$}; |
|
677 |
\draw (4.5,0.5) node {$1$}; |
|
678 |
\draw (5.5,0.5) node {$1$}; |
|
679 |
\draw (6.5,0.5) node {$\ldots$}; |
|
680 |
||
681 |
\draw (1.5,-0.5) node {$\ldots$}; |
|
682 |
\draw (8.5,3.5) node {$\ldots$}; |
|
683 |
||
684 |
\end{tikzpicture} |
|
685 |
\end{center} |
|
686 |
||
687 |
||
688 |
\onslide<2>{ |
|
689 |
\begin{center} |
|
690 |
\large \bl{|Progs| $=$ $|\mathbb{N}|$ $<$ |Probs|} |
|
691 |
\end{center} |
|
692 |
} |
|
693 |
||
694 |
||
695 |
\end{frame}} |
|
696 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
697 |
||
698 |
||
699 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
700 |
\mode<presentation>{ |
|
701 |
\begin{frame}[c] |
|
702 |
\frametitle{Halting Problem} |
|
703 |
||
704 |
\large |
|
705 |
Assume a program \bl{$H$} that decides for all programs \bl{$A$} and all |
|
706 |
input data \bl{$D$} whether\bigskip |
|
707 |
||
708 |
\begin{itemize} |
|
709 |
\item \bl{$H(A, D) \dn 1$} iff \bl{$A(D)$} terminates |
|
710 |
\item \bl{$H(A, D) \dn 0$} otherwise |
|
711 |
\end{itemize} |
|
712 |
||
713 |
\end{frame}} |
|
714 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
715 |
||
716 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
717 |
\mode<presentation>{ |
|
718 |
\begin{frame}[c] |
|
719 |
\frametitle{Halting Problem (2)} |
|
720 |
||
721 |
\large |
|
722 |
Given such a program \bl{$H$} define the following program \bl{$C$}: |
|
723 |
for all programs \bl{$A$}\bigskip |
|
724 |
||
725 |
\begin{itemize} |
|
726 |
\item \bl{$C(A) \dn 0$} iff \bl{$H(A, A) = 0$} |
|
727 |
\item \bl{$C(A) \dn$ loops} otherwise |
|
728 |
\end{itemize} |
|
729 |
||
730 |
\end{frame}} |
|
731 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
732 |
||
733 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
734 |
\mode<presentation>{ |
|
735 |
\begin{frame}[c] |
|
736 |
\frametitle{Contradiction} |
|
737 |
||
738 |
||
739 |
\bl{$H(C, C)$} is either \bl{$0$} or \bl{$1$}. |
|
740 |
||
741 |
\begin{itemize} |
|
742 |
\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$} |
|
743 |
\item \bl{$H(C, C) = 0$} $\stackrel{\text{def}\,H}{\Rightarrow}$ \bl{$C(C)$} loops $\stackrel{\text{def}\,C}{\Rightarrow}$\\ |
|
744 |
\hspace{7cm}\bl{$H(C, C)=1$} |
|
745 |
\end{itemize} |
|
746 |
||
747 |
Contradiction in both cases. So \bl{$H$} cannot exist. |
|
748 |
||
749 |
\end{frame}} |
|
750 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
751 |
||
752 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
753 |
\mode<presentation>{ |
|
754 |
\begin{frame}[c] |
|
755 |
\frametitle{Take Home Points} |
|
756 |
\large |
|
757 |
||
758 |
\begin{itemize} |
|
759 |
\item there are sets that are more infinite than others\bigskip |
|
760 |
\item even with the most powerful computer we can imagine, there |
|
761 |
are problems that cannot be solved by any program\bigskip\bigskip |
|
762 |
||
763 |
\item in CS we actually hit quite often such problems (halting problem) |
|
764 |
\end{itemize} |
|
765 |
||
766 |
\end{frame}} |
|
767 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
768 |
||
86
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
769 |
\end{document} |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
770 |
|
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
771 |
%%% Local Variables: |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
772 |
%%% mode: latex |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
773 |
%%% TeX-master: t |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
774 |
%%% End: |
6a7fe83820c8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
775 |