author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 29 Oct 2013 12:18:43 +0000 | |
changeset 125 | 27103cafb297 |
parent 124 | 382aad582d8b |
child 241 | 07e4d8f64ca8 |
permissions | -rw-r--r-- |
52 | 1 |
\documentclass[dvipsnames,14pt,t]{beamer} |
2 |
\usepackage{proof} |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
3 |
\usepackage{beamerthemeplaincu} |
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
4 |
\usepackage{fontenc} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
5 |
\usepackage[latin1]{inputenc} |
52 | 6 |
\usepackage{mathpartir} |
7 |
\usepackage{isabelle} |
|
8 |
\usepackage{isabellesym} |
|
9 |
\usepackage[absolute,overlay]{textpos} |
|
10 |
\usepackage{ifthen} |
|
11 |
\usepackage{tikz} |
|
12 |
\usepackage{courier} |
|
13 |
\usepackage{listings} |
|
14 |
\usetikzlibrary{arrows} |
|
15 |
\usetikzlibrary{positioning} |
|
16 |
\usetikzlibrary{calc} |
|
17 |
\usepackage{graphicx} |
|
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
18 |
\setmonofont{Consolas} |
52 | 19 |
|
20 |
\isabellestyle{rm} |
|
21 |
\renewcommand{\isastyle}{\rm}% |
|
22 |
\renewcommand{\isastyleminor}{\rm}% |
|
23 |
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}% |
|
24 |
\renewcommand{\isatagproof}{} |
|
25 |
\renewcommand{\endisatagproof}{} |
|
26 |
\renewcommand{\isamarkupcmt}[1]{#1} |
|
27 |
||
28 |
% Isabelle characters |
|
29 |
\renewcommand{\isacharunderscore}{\_} |
|
30 |
\renewcommand{\isacharbar}{\isamath{\mid}} |
|
31 |
\renewcommand{\isasymiota}{} |
|
32 |
\renewcommand{\isacharbraceleft}{\{} |
|
33 |
\renewcommand{\isacharbraceright}{\}} |
|
34 |
\renewcommand{\isacharless}{$\langle$} |
|
35 |
\renewcommand{\isachargreater}{$\rangle$} |
|
36 |
\renewcommand{\isasymsharp}{\isamath{\#}} |
|
37 |
\renewcommand{\isasymdots}{\isamath{...}} |
|
38 |
\renewcommand{\isasymbullet}{\act} |
|
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
39 |
\newcommand{\isaliteral}[1]{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
40 |
\newcommand{\isactrlisub}[1]{\emph{\isascriptstyle${}\sb{#1}$}} |
52 | 41 |
|
42 |
\definecolor{javared}{rgb}{0.6,0,0} % for strings |
|
43 |
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments |
|
44 |
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords |
|
45 |
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc |
|
46 |
||
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
47 |
\makeatletter |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
48 |
\lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
49 |
\@empty\z@\@empty |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
50 |
\makeatother |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
51 |
|
52 | 52 |
|
53 |
\lstdefinelanguage{scala}{ |
|
54 |
morekeywords={abstract,case,catch,class,def,% |
|
55 |
do,else,extends,false,final,finally,% |
|
56 |
for,if,implicit,import,match,mixin,% |
|
57 |
new,null,object,override,package,% |
|
58 |
private,protected,requires,return,sealed,% |
|
59 |
super,this,throw,trait,true,try,% |
|
60 |
type,val,var,while,with,yield}, |
|
61 |
otherkeywords={=>,<-,<\%,<:,>:,\#,@}, |
|
62 |
sensitive=true, |
|
63 |
morecomment=[l]{//}, |
|
64 |
morecomment=[n]{/*}{*/}, |
|
65 |
morestring=[b]", |
|
66 |
morestring=[b]', |
|
67 |
morestring=[b]""" |
|
68 |
} |
|
69 |
||
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
70 |
\lstdefinelanguage{while}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
71 |
morekeywords={while, if, then. else, read, write}, |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
72 |
otherkeywords={=>,<-,<\%,<:,>:,\#,@}, |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
73 |
sensitive=true, |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
74 |
morecomment=[l]{//}, |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
75 |
morecomment=[n]{/*}{*/}, |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
76 |
morestring=[b]", |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
77 |
morestring=[b]', |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
78 |
morestring=[b]""" |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
79 |
} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
80 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
81 |
|
52 | 82 |
\lstset{language=Scala, |
83 |
basicstyle=\ttfamily, |
|
84 |
keywordstyle=\color{javapurple}\bfseries, |
|
85 |
stringstyle=\color{javagreen}, |
|
86 |
commentstyle=\color{javagreen}, |
|
87 |
morecomment=[s][\color{javadocblue}]{/**}{*/}, |
|
88 |
numbers=left, |
|
89 |
numberstyle=\tiny\color{black}, |
|
90 |
stepnumber=1, |
|
91 |
numbersep=10pt, |
|
92 |
tabsize=2, |
|
93 |
showspaces=false, |
|
94 |
showstringspaces=false} |
|
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
95 |
|
52 | 96 |
|
97 |
% beamer stuff |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
98 |
\renewcommand{\slidecaption}{APP 05, King's College London, 29 October 2013} |
52 | 99 |
|
100 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
|
101 |
\begin{document} |
|
102 |
||
103 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
104 |
\mode<presentation>{ |
|
105 |
\begin{frame}<1>[t] |
|
106 |
\frametitle{% |
|
107 |
\begin{tabular}{@ {}c@ {}} |
|
108 |
\\ |
|
109 |
\LARGE Access Control and \\[-3mm] |
|
110 |
\LARGE Privacy Policies (5)\\[-6mm] |
|
111 |
\end{tabular}}\bigskip\bigskip\bigskip |
|
112 |
||
113 |
%\begin{center} |
|
114 |
%\includegraphics[scale=1.3]{pics/barrier.jpg} |
|
115 |
%\end{center} |
|
116 |
||
117 |
\normalsize |
|
118 |
\begin{center} |
|
119 |
\begin{tabular}{ll} |
|
120 |
Email: & christian.urban at kcl.ac.uk\\ |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
121 |
Office: & S1.27 (1st floor Strand Building)\\ |
52 | 122 |
Slides: & KEATS (also homework is there)\\ |
123 |
\end{tabular} |
|
124 |
\end{center} |
|
125 |
||
126 |
||
127 |
\end{frame}} |
|
128 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
129 |
||
130 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
131 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
132 |
\begin{frame}[t] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
133 |
\frametitle{Last Week} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
134 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
135 |
\mbox{} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
136 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
137 |
\begin{tabular}{l} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
138 |
{\Large \bl{$A\;\rightarrow\; B : \ldots$}}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
139 |
\onslide<1->{\Large \bl{$B\;\rightarrow\; A : \ldots$}}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
140 |
\onslide<1->{\Large \;\;\;\;\;\bl{$:$}}\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
141 |
\end{tabular} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
142 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
143 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
144 |
\item by convention \bl{$A$}, \bl{$B$} are named principals \bl{Alice\ldots}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
145 |
but most likely they are programs |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
146 |
\item indicates one ``protocol run'', or session, which specifies an |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
147 |
order in the communication |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
148 |
\item there can be several sessions in parallel (think of wifi routers) |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
149 |
\item nonces (randomly generated numbers) used only once |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
150 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
151 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
152 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
153 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
154 |
|
52 | 155 |
|
156 |
||
157 |
||
158 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
159 |
\mode<presentation>{ |
|
160 |
\begin{frame}[c] |
|
54 | 161 |
\frametitle{Cryptographic Protocol Failures} |
162 |
||
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
163 |
Ross Anderson and Roger Needham wrote:\bigskip |
54 | 164 |
|
165 |
\begin{quote} |
|
166 |
\textcolor{gray}{ |
|
167 |
A lot of the recorded frauds were the result of this kind of blunder, or from |
|
168 |
management negligence pure and simple.} However, there have been a |
|
169 |
significant number of cases where the designers protected the right things, |
|
170 |
used cryptographic algorithms which were not broken, and yet found that their |
|
171 |
systems were still successfully attacked. |
|
172 |
\end{quote} |
|
173 |
||
52 | 174 |
|
175 |
\end{frame}} |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
176 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
177 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
178 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
179 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
180 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
181 |
\frametitle{Protocols} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
182 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
183 |
Examples where ``over-the-air'' protocols are used |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
184 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
185 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
186 |
\item wifi |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
187 |
\item card readers (you cannot trust the terminals) |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
188 |
\item RFI (passports) |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
189 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
190 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
191 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
192 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
193 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
194 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
195 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
196 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
197 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
198 |
\begin{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
199 |
\includegraphics[scale=0.5]{pics/dogs.jpg} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
200 |
\end{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
201 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
202 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
203 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
204 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
205 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
206 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
207 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
208 |
\frametitle{\begin{tabular}{c}Chip-and-PIN\end{tabular}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
209 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
210 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
211 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
212 |
\item A ``tamperesitant'' terminal playing Tetris on |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
213 |
\textcolor{blue}{\href{http://www.youtube.com/watch?v=wWTzkD9M0sU}{youtube}}.\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
214 |
\textcolor{lightgray}{\footnotesize(\url{http://www.youtube.com/watch?v=wWTzkD9M0sU})} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
215 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
216 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
217 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
218 |
\includegraphics[scale=0.2]{pics/tetris.jpg} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
219 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
220 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
221 |
\end{frame}} |
52 | 222 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
223 |
||
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
224 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
225 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
226 |
\begin{frame}<1-3>[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
227 |
\frametitle{Oyster Cards} |
52 | 228 |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
229 |
\includegraphics[scale=0.4]{pics/oysterc.jpg} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
230 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
231 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
232 |
\item good example of a bad protocol\\ (security by obscurity)\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
233 |
\item<3-> ``Breaching security on Oyster cards should not |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
234 |
allow unauthorised use for more than a day, as TfL promises to turn |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
235 |
off any cloned cards within 24 hours\ldots'' |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
236 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
237 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
238 |
\only<2>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
239 |
\begin{textblock}{12}(0.5,0.5) |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
240 |
\begin{tikzpicture} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
241 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
242 |
{\color{darkgray} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
243 |
\begin{minipage}{11cm}\raggedright\footnotesize |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
244 |
{\bf Wirelessly Pickpocketing a Mifare Classic Card}\medskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
245 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
246 |
The Mifare Classic is the most widely used contactless smartcard on the |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
247 |
market. The stream cipher CRYPTO1 used by the Classic has recently been |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
248 |
reverse engineered and serious attacks have been proposed. The most serious |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
249 |
of them retrieves a secret key in under a second. In order to clone a card, |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
250 |
previously proposed attacks require that the adversary either has access to |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
251 |
an eavesdropped communication session or executes a message-by-message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
252 |
man-in-the-middle attack between the victim and a legitimate |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
253 |
reader. Although this is already disastrous from a cryptographic point of |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
254 |
view, system integrators maintain that these attacks cannot be performed |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
255 |
undetected.\smallskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
256 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
257 |
This paper proposes four attacks that can be executed by an adversary having |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
258 |
only wireless access to just a card (and not to a legitimate reader). The |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
259 |
most serious of them recovers a secret key in less than a second on ordinary |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
260 |
hardware. Besides the cryptographic weaknesses, we exploit other weaknesses |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
261 |
in the protocol stack. A vulnerability in the computation of parity bits |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
262 |
allows an adversary to establish a side channel. Another vulnerability |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
263 |
regarding nested authentications provides enough plaintext for a speedy |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
264 |
known-plaintext attack. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
265 |
\end{minipage}}; |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
266 |
\end{tikzpicture} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
267 |
\end{textblock}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
268 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
269 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
270 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
271 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
272 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
273 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
274 |
\begin{frame}<1->[t] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
275 |
\frametitle{Another Example} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
276 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
277 |
In an email from Ross Anderson\bigskip\small |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
278 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
279 |
\begin{tabular}{l} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
280 |
From: Ross Anderson <Ross.Anderson@cl.cam.ac.uk>\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
281 |
Sender: cl-security-research-bounces@lists.cam.ac.uk\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
282 |
To: cl-security-research@lists.cam.ac.uk\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
283 |
Subject: Birmingham case\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
284 |
Date: Tue, 13 Aug 2013 15:13:17 +0100\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
285 |
\end{tabular} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
286 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
287 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
288 |
\only<2>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
289 |
\begin{textblock}{12}(0.5,0.5) |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
290 |
\begin{tikzpicture} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
291 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
292 |
{\color{darkgray} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
293 |
\begin{minipage}{11cm}\raggedright\footnotesize |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
294 |
As you may know, Volkswagen got an injunction against the University of |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
295 |
Birmingham suppressing the publication of the design of a weak cipher |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
296 |
used in the remote key entry systems in its recent-model cars. The paper |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
297 |
is being given today at Usenix, minus the cipher design.\medskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
298 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
299 |
I've been contacted by Birmingham University's lawyers who seek to prove |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
300 |
that the cipher can be easily obtained anyway. They are looking for a |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
301 |
student who will download the firmware from any newish VW, disassemble |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
302 |
it and look for the cipher. They'd prefer this to be done by a student |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
303 |
rather than by a professor to emphasise how easy it is.\medskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
304 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
305 |
Volkswagen's argument was that the Birmingham people had reversed a |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
306 |
locksmithing tool produced by a company in Vietnam, and since their key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
307 |
fob chip is claimed to be tamper-resistant, this must have involved a |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
308 |
corrupt insider at VW or at its supplier Thales. Birmingham's argument |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
309 |
is that this is nonsense as the cipher is easy to get hold of. Their |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
310 |
lawyers feel this argument would come better from an independent |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
311 |
outsider.\medskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
312 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
313 |
Let me know if you're interested in having a go, and I'll put you in |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
314 |
touch |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
315 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
316 |
Ross |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
317 |
\end{minipage}}; |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
318 |
\end{tikzpicture} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
319 |
\end{textblock}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
320 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
321 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
322 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
323 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
324 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
325 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
326 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
327 |
\frametitle{Authentication Protocols} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
328 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
329 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
330 |
Alice (\bl{$A$}) and Bob (\bl{$B$}) share a secret key \bl{$K_{AB}$}\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
331 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
332 |
Passwords: |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
333 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
334 |
\begin{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
335 |
\bl{$B \rightarrow A: K_{AB}$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
336 |
\end{center}\pause\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
337 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
338 |
Problems: Eavesdropper can capture the secret and replay it; \bl{$A$} cannot confirm the |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
339 |
identity of \bl{$B$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
340 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
341 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
342 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
52 | 343 |
|
344 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
345 |
\mode<presentation>{ |
|
346 |
\begin{frame}[c] |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
347 |
\frametitle{Authentication Protocols} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
348 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
349 |
Alice (\bl{$A$}) and Bob (\bl{$B$}) share a secret key \bl{$K_{AB}$}\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
350 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
351 |
Simple Challenge Response: |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
352 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
353 |
\begin{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
354 |
\begin{tabular}{ll} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
355 |
\bl{$A \rightarrow B:$} & \bl{$N$}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
356 |
\bl{$B \rightarrow A:$} & \bl{$\{N\}_{K_{AB}}$}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
357 |
\end{tabular} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
358 |
\end{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
359 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
360 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
361 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
362 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
52 | 363 |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
364 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
365 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
366 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
367 |
\frametitle{Authentication Protocols} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
368 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
369 |
Alice (\bl{$A$}) and Bob (\bl{$B$}) share a secret key \bl{$K_{AB}$}\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
370 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
371 |
Mutual Challenge Response: |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
372 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
373 |
\begin{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
374 |
\begin{tabular}{ll} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
375 |
\bl{$A \rightarrow B:$} & \bl{$N_A$}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
376 |
\bl{$B \rightarrow A:$} & \bl{$\{N_A, N_B\}_{K_{AB}}$}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
377 |
\bl{$A \rightarrow B:$} & \bl{$N_B$}\\ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
378 |
\end{tabular} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
379 |
\end{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
380 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
381 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
382 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
383 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
384 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
385 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
386 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
387 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
388 |
\frametitle{One Time Passwords} |
52 | 389 |
|
390 |
\begin{center} |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
391 |
\bl{$B \rightarrow A: C, C_{K_{AB}}$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
392 |
\end{center}\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
393 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
394 |
A counter \bl{$C$} increases with each transmission; \bl{$A$} will not accept a |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
395 |
\bl{$C$} which has already been accepted (used in car key fob). |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
396 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
397 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
398 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
399 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
400 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
401 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
402 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
403 |
\frametitle{Person-in-the-Middle} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
404 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
405 |
``Normal'' protocol run:\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
406 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
407 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
408 |
\item \bl{$A$} sends public key to \bl{$B$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
409 |
\item \bl{$B$} sends public key to \bl{$A$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
410 |
\item \bl{$A$} sends message encrypted with \bl{$B$}'s public key, \bl{$B$} decrypts it |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
411 |
with its private key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
412 |
\item \bl{$B$} sends message encrypted with \bl{$A$}'s public key, \bl{$A$} decrypts it |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
413 |
with its private key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
414 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
415 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
416 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
417 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
418 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
419 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
420 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
421 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
422 |
\frametitle{Person-in-the-Middle} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
423 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
424 |
Attack: |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
425 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
426 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
427 |
\item \bl{$A$} sends public key to \bl{$B$} --- \bl{$C$} intercepts this message and send his own public key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
428 |
\item \bl{$B$} sends public key to \bl{$A$} --- \bl{$C$} intercepts this message and send his own public key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
429 |
\item \bl{$A$} sends message encrypted with \bl{$C$}'s public key, \bl{$C$} decrypts it |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
430 |
with its private key, re-encrypts with \bl{$B$}'s public key |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
431 |
\item similar |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
432 |
\end{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
433 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
434 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
435 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
436 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
437 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
438 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
439 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
440 |
\frametitle{Person-in-the-Middle} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
441 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
442 |
Prevention: |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
443 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
444 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
445 |
\item \bl{$A$} sends public key to \bl{$B$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
446 |
\item \bl{$B$} sends public key to \bl{$A$} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
447 |
\item \bl{$A$} encrypts message with \bl{$B$}'s public key, send's {\bf half} of the message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
448 |
\item \bl{$B$} encrypts message with \bl{$A$}'s public key, send's {\bf half} of the message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
449 |
\item \bl{$A$} sends other half, \bl{$B$} can now decrypt entire message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
450 |
\item \bl{$B$} sends other half, \bl{$A$} can now decrypt entire message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
451 |
\end{itemize}\pause |
52 | 452 |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
453 |
\bl{$C$} would have to invent a totally new message |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
454 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
455 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
456 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
457 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
458 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
459 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
460 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
461 |
\frametitle{Motivation} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
462 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
463 |
The ISO/IEC 9798 specifies authentication mechanisms which use security |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
464 |
techniques. These mechanisms are used to corroborate that an entity is the one |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
465 |
that is claimed. An entity to be authenticated proves its identity by showing its |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
466 |
knowledge of a secret. The mechanisms are defined as exchanges of information |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
467 |
between entities and, where required, exchanges with a trusted third party. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
468 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
469 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
470 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
471 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
472 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
473 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
474 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
475 |
\frametitle{Motivation} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
476 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
477 |
But\ldots\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
478 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
479 |
The ISO/IEC 9798 standard neither specifies a threat model nor defines the security properties that the protocols should satisfy.\pause\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
480 |
Unfortunately, there are no general precise definitions for the goals of protocols. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
481 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
482 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
483 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
484 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
485 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
486 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
487 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
488 |
\frametitle{Best Practices} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
489 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
490 |
{\bf Principle 1:} Every message should say what it means: the interpretation of |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
491 |
a message should not depend on the context.\bigskip\pause |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
492 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
493 |
{\bf Principle 2:} If the identity of a principal is essential to the meaning of a message, it is prudent |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
494 |
to mention the principal’s name explicitly in the message (though difficult).\bigskip |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
495 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
496 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
497 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
498 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
499 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
500 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
501 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
502 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
503 |
\frametitle{Best Practices} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
504 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
505 |
{\bf Principle 3:} Be clear about why encryption is being done. Encryption is not wholly cheap, and not asking precisely why it is being done can lead to redundancy. Encryption is not synonymous with security. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
506 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
507 |
\begin{center} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
508 |
Possible Uses of Encryption |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
509 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
510 |
\begin{itemize} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
511 |
\item Preservation of confidentiality: \bl{$\{X\}_K$} only those that have \bl{$K$} may recover \bl{$X$}. \item Guarantee authenticity: The partner is indeed some particular principal. \item Guarantee confidentiality and authenticity: binds two parts of a message --- |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
512 |
\bl{$\{X,Y\}_K$} is not the same as \bl{$\{X\}_K$} and \bl{$\{Y\}_K$}. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
513 |
\end{itemize} |
52 | 514 |
\end{center} |
515 |
||
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
516 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
517 |
|
52 | 518 |
\end{frame}} |
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
519 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
520 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
521 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
522 |
\mode<presentation>{ |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
523 |
\begin{frame}[c] |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
524 |
\frametitle{Best Practices} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
525 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
526 |
{\bf Principle 4:} The protocol designer should know which trust relations his protocol depends on, and why the dependence is necessary. The reasons for particular trust relations being acceptable should be explicit though they will be founded on judgment and policy rather than on logic.\bigskip |
52 | 527 |
|
123
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
528 |
Example Certification Authorities: CAs are trusted to certify a key only after proper steps |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
529 |
have been taken to identify the principal that owns it. |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
530 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
531 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
532 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
533 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
534 |
|
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
535 |
\end{frame}} |
2185acdb43bb
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
536 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
52 | 537 |
|
538 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
539 |
\mode<presentation>{ |
|
540 |
\begin{frame}[c] |
|
541 |
\frametitle{Access Control Logic} |
|
542 |
||
543 |
Ross Anderson about the use of Logic:\bigskip |
|
544 |
||
545 |
\begin{quote} |
|
546 |
Formal methods can be an excellent way of finding |
|
547 |
bugs in security protocol designs as they force the designer |
|
53 | 548 |
to make everything explicit and thus confront dif$\!$ficult design |
52 | 549 |
choices that might otherwise be fudged. |
550 |
\end{quote} |
|
551 |
||
552 |
\end{frame}} |
|
553 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
554 |
||
124
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
555 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
556 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
557 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
558 |
\frametitle{\Large\begin{tabular}{@ {}c@ {}}Logic(s)\end{tabular}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
559 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
560 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
561 |
\item Formulas |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
562 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
563 |
\begin{center}\color{blue} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
564 |
\begin{tabular}{rcl@ {\hspace{10mm}}l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
565 |
\isa{F} & \isa{{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}} & \isa{true} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
566 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{false} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
567 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C616E643E}{\isasymand}}\ F} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
568 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
569 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F} & \textcolor{black}{implies}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
570 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{{\isaliteral{5C3C6E6F743E}{\isasymnot}}\ F} & \textcolor{black}{negation}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
571 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{p\ {\isaliteral{28}{\isacharparenleft}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{2C}{\isacharcomma}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{2C}{\isacharcomma}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub n{\isaliteral{29}{\isacharparenright}}} & \textcolor{black}{predicates}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
572 |
& \onslide<2->{\isa{{\isaliteral{7C}{\isacharbar}}}} & \onslide<2->{\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ F}} & |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
573 |
\onslide<2->{\textcolor{black}{forall quantification}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
574 |
& \onslide<2->{\isa{{\isaliteral{7C}{\isacharbar}}}} & \onslide<2->{\isa{{\isaliteral{5C3C6578697374733E}{\isasymexists}}x{\isaliteral{2E}{\isachardot}}\ F}} & |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
575 |
\onslide<2->{\textcolor{black}{exists quantification}}\\[-7mm] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
576 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
577 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
578 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
579 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
580 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
581 |
\begin{textblock}{12}(1,14) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
582 |
Terms \textcolor{blue}{\isa{t\ {\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}\ x\ {\isaliteral{5C3C646F74733E}{\isasymdots}}\ {\isaliteral{7C}{\isacharbar}}\ c\ {\isaliteral{5C3C646F74733E}{\isasymdots}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
583 |
\end{textblock} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
584 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
585 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
586 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
587 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
588 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
589 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
590 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
591 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
592 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
593 |
{\lstset{language=Scala}\fontsize{10}{12}\selectfont |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
594 |
\texttt{\lstinputlisting{../programs/formulas.scala}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
595 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
596 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
597 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
598 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
599 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
600 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
601 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
602 |
\frametitle{Judgements} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
603 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
604 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
605 |
\LARGE |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
606 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
607 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
608 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
609 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}}} is a collection of formulas, called the \alert{assumptions}\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
610 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
611 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
612 |
\item Example\mbox{}\\[-3mm] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
613 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
614 |
\only<2>{\begin{center}\tiny |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
615 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
616 |
\begin{tabular}{l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
617 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
618 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
619 |
\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
620 |
\end{tabular}\isa{{\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
621 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
622 |
\only<3>{\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
623 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
624 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
625 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
626 |
\infer{\mbox{\isa{may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
627 |
{\mbox{\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
628 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
629 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
630 |
\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
631 |
\end{tabular}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
632 |
} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
633 |
} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
634 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
635 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
636 |
\only<4>{\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
637 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
638 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
639 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
640 |
\infer{\mbox{\isa{may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Alice{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
641 |
{\mbox{\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
642 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Alice{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
643 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
644 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
645 |
\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
646 |
\end{tabular}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
647 |
} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
648 |
} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
649 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
650 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
651 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
652 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
653 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
654 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
655 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
656 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
657 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
658 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
659 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
660 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
661 |
{\lstset{language=Scala}\fontsize{10}{12}\selectfont |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
662 |
\texttt{\lstinputlisting{../programs/judgement.scala}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
663 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
664 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
665 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
666 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
667 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
668 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
669 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
670 |
\frametitle{Inference Rules} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
671 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
672 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
673 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
674 |
\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
675 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
676 |
\infer{\mbox{\isa{conclusion}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
677 |
{\mbox{\isa{premise\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} & \mbox{\isa{{\isaliteral{5C3C646F74733E}{\isasymdots}}}} & \mbox{\isa{premise\isaliteral{5C3C5E697375623E}{}\isactrlisub n}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
678 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
679 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
680 |
The conlusion and premises are judgements\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
681 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
682 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
683 |
\item Examples |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
684 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
685 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
686 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
687 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
688 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
689 |
\end{center}}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
690 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
691 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
692 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
693 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
694 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
695 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
696 |
\hspace{10mm} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
697 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
698 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
699 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
700 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
701 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
702 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
703 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
704 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
705 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
706 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
707 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
708 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
709 |
\frametitle{Implication} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
710 |
\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
711 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
712 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
713 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
714 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
715 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
716 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}{\isaliteral{2C}{\isacharcomma}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
717 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
718 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
719 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
720 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
721 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
722 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
723 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
724 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
725 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
726 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
727 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
728 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
729 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
730 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
731 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
732 |
\frametitle{Universal Quantification} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
733 |
\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
734 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
735 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
736 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
737 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
738 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F{\isaliteral{5B}{$\isacharbrackleft$}}x\ {\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}\ t{\isaliteral{5D}{$\isacharbrackright$}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
739 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ {\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ F}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
740 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
741 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
742 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
743 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
744 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
745 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
746 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
747 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
748 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
749 |
\frametitle{Start Rules / Axioms} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
750 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
751 |
\normalsize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
752 |
\alert{if \textcolor{blue}{\isa{F\ {\isaliteral{5C3C696E3E}{\isasymin}}\ {\isaliteral{5C3C47616D6D613E}{\isasymGamma}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
753 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
754 |
\textcolor{blue}{\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
755 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
756 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
757 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}{}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
758 |
\end{center}}\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
759 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
760 |
\normalsize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
761 |
Also written as: |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
762 |
\textcolor{blue}{\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
763 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
764 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
765 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}{\isaliteral{2C}{\isacharcomma}}\ F\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}{}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
766 |
\end{center}}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
767 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
768 |
\textcolor{blue}{\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
769 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
770 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
771 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ true}}}{}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
772 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
773 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
774 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
775 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
776 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
777 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
778 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
779 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
780 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
781 |
\frametitle{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
782 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
783 |
\begin{minipage}{1.1\textwidth} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
784 |
Let \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\footnotesize\begin{tabular}{l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
785 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
786 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
787 |
\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
788 |
\end{tabular}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
789 |
\end{minipage} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
790 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
791 |
\only<2>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
792 |
\begin{textblock}{12}(4,3)\footnotesize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
793 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}}\hspace{10mm} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
794 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
795 |
\end{textblock}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
796 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
797 |
\only<3->{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
798 |
\begin{textblock}{12}(4,3)\footnotesize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
799 |
\mbox{\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
800 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
801 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}} &\hspace{10mm} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
802 |
\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
803 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
804 |
\end{textblock}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
805 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
806 |
\only<4>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
807 |
\begin{textblock}{14}(0.5,6)\footnotesize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
808 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ {\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
809 |
\end{textblock}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
810 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
811 |
\only<5->{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
812 |
\begin{textblock}{14}(0.5,6)\footnotesize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
813 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
814 |
\infer{\mbox{\begin{tabular}{l}\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
815 |
\hspace{40mm}\isa{{\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}\end{tabular}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
816 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ {\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
817 |
\end{textblock}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
818 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
819 |
\only<6->{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
820 |
\begin{textblock}{14}(5,10)\footnotesize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
821 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
822 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
823 |
{\vdots & \hspace{30mm} \vdots}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
824 |
\end{textblock}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
825 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
826 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
827 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
828 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
829 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
830 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
831 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
832 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
833 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
834 |
\frametitle{Access Control} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
835 |
\Large |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
836 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
837 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
838 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
839 |
\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
840 |
\end{center}}\bigskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
841 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
842 |
\normalsize |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
843 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
844 |
\item If there is a proof \isa{{\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}} yes (granted) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
845 |
\item If there isn't \isa{{\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}} no (denied) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
846 |
\end{itemize}\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
847 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
848 |
\begin{minipage}{1.1\textwidth} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
849 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
850 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
851 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
852 |
\isa{is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
853 |
\isa{{\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}x{\isaliteral{2E}{\isachardot}}\ is{\isaliteral{5F}{\isacharunderscore}}at{\isaliteral{5F}{\isacharunderscore}}library\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C616E643E}{\isasymand}}\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}x{\isaliteral{29}{\isacharparenright}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
854 |
\end{tabular}}\medskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
855 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
856 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
857 |
\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}} $\not\vdash$ \isa{may{\isaliteral{5F}{\isacharunderscore}}obtain{\isaliteral{5F}{\isacharunderscore}}email\ {\isaliteral{28}{\isacharparenleft}}Alice{\isaliteral{29}{\isacharparenright}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
858 |
\end{minipage} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
859 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
860 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
861 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
862 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
863 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
864 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
865 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
866 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
867 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
868 |
\frametitle{The Access Control Problem} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
869 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
870 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
871 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
872 |
\begin{tikzpicture}[scale=1] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
873 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
874 |
\draw[line width=1mm] (-.3, 0) rectangle (1.5,2); |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
875 |
\draw (-2.7,1) node {\begin{tabular}{l}access\\request\\ (\bl{$F$})\end{tabular}}; |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
876 |
\draw (4.2,1) node {\begin{tabular}{l}granted/\\not granted\end{tabular}}; |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
877 |
\draw (0.6,1.2) node {\footnotesize \begin{tabular}{l}Access\\Control\\Checker\end{tabular}}; |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
878 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
879 |
\draw[red, ->, line width = 2mm] (1.7,1) -- (2.7,1); |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
880 |
\draw[red,<-, line width = 2mm] (-0.6,1) -- (-1.6,1); |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
881 |
\draw[red, <-, line width = 3mm] (0.6,2.2) -- (0.6,3.2); |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
882 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
883 |
\draw (0.6,4) node {\begin{tabular}{l}\large Access Policy (\bl{$\Gamma$})\end{tabular}}; |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
884 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
885 |
\end{tikzpicture} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
886 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
887 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
888 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
889 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
890 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
891 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
892 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
893 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
894 |
\frametitle{Bad News} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
895 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
896 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
897 |
\item We introduced (roughly) first-order logic. \bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
898 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
899 |
\item Judgements |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
900 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
901 |
\textcolor{blue} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
902 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
903 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
904 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
905 |
are in general \alert{undecidable}.\pause\medskip\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
906 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
907 |
The problem is \alert{semi-decidable}. |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
908 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
909 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
910 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
911 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
912 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
913 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
914 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
915 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
916 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
917 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
918 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
919 |
\frametitle{\Large\begin{tabular}{@ {}c@ {}}Access Control Logic\end{tabular}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
920 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
921 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
922 |
\item[] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
923 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
924 |
\begin{center}\color{blue} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
925 |
\begin{tabular}[t]{rcl@ {\hspace{10mm}}l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
926 |
\isa{F} & \isa{{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}} & \isa{true} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
927 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{false} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
928 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C616E643E}{\isasymand}}\ F} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
929 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
930 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{F\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
931 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{p\ {\isaliteral{28}{\isacharparenleft}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{2C}{\isacharcomma}}{\isaliteral{5C3C646F74733E}{\isasymdots}}{\isaliteral{2C}{\isacharcomma}}t\isaliteral{5C3C5E697375623E}{}\isactrlisub n{\isaliteral{29}{\isacharparenright}}} \\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
932 |
& \isa{{\isaliteral{7C}{\isacharbar}}} & \alert{\isa{P\ says\ F}} & \textcolor{black}{``saying predicate''}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
933 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
934 |
\end{center}\medskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
935 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
936 |
where \textcolor{blue}{\isa{P\ {\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}\ Alice{\isaliteral{2C}{\isacharcomma}}\ Bob{\isaliteral{2C}{\isacharcomma}}\ Christian{\isaliteral{2C}{\isacharcomma}}\ {\isaliteral{5C3C646F74733E}{\isasymdots}}}} (principals)\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
937 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
938 |
\item \textcolor{blue}{\isa{HoD\ says\ is{\isaliteral{5F}{\isacharunderscore}}staff\ {\isaliteral{28}{\isacharparenleft}}Christian{\isaliteral{29}{\isacharparenright}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
939 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
940 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
941 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
942 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
943 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
944 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
945 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
946 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
947 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
948 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
949 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
950 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
951 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
952 |
{\lstset{language=Scala}\fontsize{10}{12}\selectfont |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
953 |
\texttt{\lstinputlisting{../programs/formulas1.scala}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
954 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
955 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
956 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
957 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
958 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
959 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
960 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
961 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
962 |
\frametitle{Rules about Says} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
963 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
964 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
965 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
966 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
967 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
968 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
969 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
970 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
971 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
972 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
973 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
974 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
975 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ {\isaliteral{28}{\isacharparenleft}}F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}{\isaliteral{29}{\isacharparenright}}}} & \hspace{10mm}\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
976 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
977 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
978 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
979 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
980 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
981 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
982 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ {\isaliteral{28}{\isacharparenleft}}P\ says\ F{\isaliteral{29}{\isacharparenright}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
983 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
984 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
985 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
986 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
987 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
988 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
989 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
990 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
991 |
\frametitle{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
992 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
993 |
Consider the following scenario: |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
994 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
995 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
996 |
\item If \textcolor{blue}{Admin} says that \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
997 |
should be deleted, then this file must be deleted. |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
998 |
\item \textcolor{blue}{Admin} trusts \textcolor{blue}{Bob} to decide whether |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
999 |
\textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} should be deleted. |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1000 |
\item \textcolor{blue}{Bob} wants to delete \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}}. |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1001 |
\end{itemize}\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1002 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1003 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1004 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1005 |
\isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1006 |
\isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ {\isaliteral{28}{\isacharparenleft}}{\isaliteral{28}{\isacharparenleft}}Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1007 |
\isa{Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1008 |
\end{tabular}}\medskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1009 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1010 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1011 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1012 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1013 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1014 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1015 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1016 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1017 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1018 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1019 |
\frametitle{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1020 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1021 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1022 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1023 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1024 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1025 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}}\\\bigskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1026 |
\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1027 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1028 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ {\isaliteral{28}{\isacharparenleft}}F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{2}}{\isaliteral{29}{\isacharparenright}}}} & \hspace{5mm}\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1029 |
\end{center}}\bigskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1030 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1031 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1032 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1033 |
\isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1034 |
\isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ {\isaliteral{28}{\isacharparenleft}}{\isaliteral{28}{\isacharparenleft}}Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}{\isaliteral{29}{\isacharparenright}}{\isaliteral{29}{\isacharparenright}}},\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1035 |
\isa{Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1036 |
\end{tabular}}\medskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1037 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1038 |
\textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}\isactrlisub {\isadigit{1}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1039 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1040 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1041 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1042 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1043 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1044 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1045 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1046 |
\begin{frame}[t] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1047 |
\frametitle{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1048 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1049 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1050 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1051 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1052 |
\only<1>{$ \underbrace{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1053 |
\mbox{\infer{\Gamma \vdash \mbox{Admin says (Bob says del\_file)}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1054 |
{\infer{\Gamma \vdash \mbox{Bob says del\_file}}{}}}}_{X}$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1055 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1056 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1057 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1058 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1059 |
\only<1>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1060 |
$ \underbrace{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1061 |
\mbox{\infer{\Gamma \vdash \mbox{Admin says del\_file}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1062 |
{\infer{\Gamma \vdash \mbox{Admin says (Bob says del\_file \isa{{\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}} del\_file)}}{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1063 |
& |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1064 |
\deduce[$\vdots$]{X}{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1065 |
}}}_{Y}$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1066 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1067 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1068 |
\textcolor{blue}{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1069 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1070 |
\only<1>{\mbox{\infer{\Gamma \vdash \mbox{del\_file}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1071 |
{\infer{\Gamma \vdash \mbox{(Admin says del\_file) \isa{{\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}} del\_file}}{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1072 |
& |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1073 |
\deduce[$\vdots$]{Y}{} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1074 |
}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1075 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1076 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1077 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1078 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1079 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1080 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1081 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1082 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1083 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1084 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1085 |
\frametitle{Controls} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1086 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1087 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1088 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1089 |
\item \bl{\isa{P\ controls\ F\ {\isaliteral{5C3C65717569763E}{\isasymequiv}}\ {\isaliteral{28}{\isacharparenleft}}P\ says\ F{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1090 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1091 |
\item its meaning ``\bl{P} is entitled to do \bl{F}'' |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1092 |
\item if \bl{P controls F} and \bl{P says F} then \bl{F}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1093 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1094 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1095 |
\bl{\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1096 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1097 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ controls\ F}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1098 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1099 |
\end{center}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1100 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1101 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1102 |
\bl{\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1103 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1104 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ {\isaliteral{28}{\isacharparenleft}}P\ says\ F{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1105 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1106 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1107 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1108 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1109 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1110 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1111 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1112 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1113 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1114 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1115 |
\frametitle{Speaks For} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1116 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1117 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1118 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1119 |
\item \bl{\isa{P\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ Q\ {\isaliteral{5C3C65717569763E}{\isasymequiv}}\ {\isaliteral{5C3C666F72616C6C3E}{\isasymforall}}F{\isaliteral{2E}{\isachardot}}\ {\isaliteral{28}{\isacharparenleft}}P\ says\ F{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ {\isaliteral{28}{\isacharparenleft}}Q\ says\ F{\isaliteral{29}{\isacharparenright}}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1120 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1121 |
\item its meaning ``\bl{P} speaks for \bl{Q}'' |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1122 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1123 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1124 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1125 |
\bl{\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1126 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ Q\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1127 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ Q}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1128 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1129 |
\end{center}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1130 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1131 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1132 |
\bl{\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1133 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ controls\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1134 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ Q}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ Q\ controls\ F}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1135 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1136 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1137 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1138 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1139 |
\bl{\mbox{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1140 |
\infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ R}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1141 |
{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ Q}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ Q\ {\isaliteral{5C3C6D617073746F3E}{\isasymmapsto}}\ R}}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1142 |
}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1143 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1144 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1145 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1146 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1147 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1148 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1149 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1150 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1151 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1152 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1153 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1154 |
\frametitle{Security Levels} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1155 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1156 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1157 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1158 |
\item Top secret (\bl{$T\!S$}) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1159 |
\item Secret (\bl{$S$}) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1160 |
\item Public (\bl{$P$}) |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1161 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1162 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1163 |
\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1164 |
\bl{$slev(P) < slev(S) < slev(T\!S)$}\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1165 |
\end{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1166 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1167 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1168 |
\item Bob has a clearance for ``secret'' |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1169 |
\item Bob can read documents that are public or sectret, but not top secret |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1170 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1171 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1172 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1173 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1174 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1175 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1176 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1177 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1178 |
\frametitle{Reading a File} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1179 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1180 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1181 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1182 |
\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1183 |
\only<2->{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1184 |
\only<2->{\hspace{3cm}}Bob controls Permitted $($File, read$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1185 |
Bob says Permitted $($File, read$)$\only<2->{\\} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1186 |
\only<2>{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$}}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1187 |
\only<3>{\textcolor{red}{$slev($File$)$ $=$ $P$}\\}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1188 |
\only<3>{\textcolor{red}{$slev($Bob$)$ $=$ $S$}\\}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1189 |
\only<3>{\textcolor{red}{$slev(P)$ $<$ $slev(S)$}\\}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1190 |
\end{tabular}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1191 |
\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1192 |
Permitted $($File, read$)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1193 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1194 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1195 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1196 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1197 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1198 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1199 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1200 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1201 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1202 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1203 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1204 |
\frametitle{Substitution Rule} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1205 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1206 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1207 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1208 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1209 |
$\Gamma \vdash slev(P) = l_1$ \hspace{4mm} $\Gamma \vdash slev(Q) = l_2$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1210 |
\hspace{4mm} $\Gamma \vdash l_1 < l_2$\\\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1211 |
$\Gamma \vdash slev(P) < slev(Q)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1212 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1213 |
\end{center}}\bigskip\pause |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1214 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1215 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1216 |
\item \bl{$slev($Bob$)$ $=$ $S$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1217 |
\item \bl{$slev($File$)$ $=$ $P$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1218 |
\item \bl{$slev(P) < slev(S)$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1219 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1220 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1221 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1222 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1223 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1224 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1225 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1226 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1227 |
\frametitle{Reading a File} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1228 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1229 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1230 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1231 |
\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1232 |
$slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1233 |
\hspace{3cm}Bob controls Permitted $($File, read$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1234 |
Bob says Permitted $($File, read$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1235 |
$slev($File$)$ $=$ $P$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1236 |
$slev($Bob$)$ $=$ $T\!S$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1237 |
\only<1>{\textcolor{red}{$?$}}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1238 |
\only<2>{\textcolor{red}{$slev(P) < slev(S)$}\\}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1239 |
\only<2>{\textcolor{red}{$slev(S) < slev(T\!S)$}}% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1240 |
\end{tabular}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1241 |
\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1242 |
Permitted $($File, read$)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1243 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1244 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1245 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1246 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1247 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1248 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1249 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1250 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1251 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1252 |
\frametitle{Transitivity Rule} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1253 |
\small |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1254 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1255 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1256 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1257 |
$\Gamma \vdash l_1 < l_2$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1258 |
\hspace{4mm} $\Gamma \vdash l_2 < l_3$\\\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1259 |
$\Gamma \vdash l_1 < l_3$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1260 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1261 |
\end{center}}\bigskip |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1262 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1263 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1264 |
\item \bl{$slev(P) < slev (S)$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1265 |
\item \bl{$slev(S) < slev (T\!S)$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1266 |
\item[] \bl{$slev(P) < slev (T\!S)$} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1267 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1268 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1269 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1270 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1271 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1272 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1273 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1274 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1275 |
\frametitle{Reading Files} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1276 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1277 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1278 |
\item Access policy for reading |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1279 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1280 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1281 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1282 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1283 |
\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1284 |
$\forall f.\;slev(f)$ \only<1>{$<$}\only<2>{\textcolor{red}{$\le$}} $slev($Bob$)$ $\Rightarrow$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1285 |
\hspace{3cm}Bob controls Permitted $(f$, read$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1286 |
Bob says Permitted $($File, read$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1287 |
$slev($File$)$ $=$ \only<1>{$P$}\only<2>{\textcolor{red}{$T\!S$}}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1288 |
$slev($Bob$)$ $=$ $T\!S$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1289 |
$slev(P) < slev(S)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1290 |
$slev(S) < slev(T\!S)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1291 |
\end{tabular}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1292 |
\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1293 |
Permitted $($File, read$)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1294 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1295 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1296 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1297 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1298 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1299 |
% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1300 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1301 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1302 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1303 |
\mode<presentation>{ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1304 |
\begin{frame}[c] |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1305 |
\frametitle{Writing Files} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1306 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1307 |
\begin{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1308 |
\item Access policy for \underline{writing} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1309 |
\end{itemize} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1310 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1311 |
\bl{\begin{center} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1312 |
\begin{tabular}{c} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1313 |
\begin{tabular}{@ {}l@ {}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1314 |
$\forall f.\;slev($Bob$)$ $\le$ $slev(f)$ $\Rightarrow$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1315 |
\hspace{3cm}Bob controls Permitted $(f$, write$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1316 |
Bob says Permitted $($File, write$)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1317 |
$slev($File$)$ $=$ $T\!S$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1318 |
$slev($Bob$)$ $=$ $S$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1319 |
$slev(P) < slev(S)$\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1320 |
$slev(S) < slev(T\!S)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1321 |
\end{tabular}\\ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1322 |
\hline |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1323 |
Permitted $($File, write$)$ |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1324 |
\end{tabular} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1325 |
\end{center}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1326 |
|
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1327 |
\end{frame}} |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1328 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
382aad582d8b
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
123
diff
changeset
|
1329 |
% |
52 | 1330 |
|
125
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1331 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1332 |
\mode<presentation>{ |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1333 |
\begin{frame}[c] |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1334 |
\frametitle{Point to Take Home} |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1335 |
|
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1336 |
\begin{itemize} |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1337 |
\item Formal methods can be an excellent way of finding |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1338 |
bugs as they force the designer |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1339 |
to make everything explicit and thus confront difficult design |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1340 |
choices that might otherwise be fudged. |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1341 |
\end{itemize} |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1342 |
|
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1343 |
\end{frame}} |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1344 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
27103cafb297
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
124
diff
changeset
|
1345 |
|
52 | 1346 |
\end{document} |
1347 |
||
1348 |
%%% Local Variables: |
|
1349 |
%%% mode: latex |
|
1350 |
%%% TeX-master: t |
|
1351 |
%%% End: |
|
1352 |