slides/slides06.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 07 Oct 2014 09:37:47 +0100
changeset 224 b07777a393dc
parent 135 e78af5feb655
child 277 d6dc6f0e3556
permissions -rw-r--r--
added format string args
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{proof}
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     3
\usepackage{beamerthemeplaincu}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     4
%\usepackage[T1]{fontenc}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     5
%\usepackage[latin1]{inputenc}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage{mathpartir}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{isabelle}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{isabellesym}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage[absolute,overlay]{textpos}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{ifthen}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{tikz}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\usetikzlibrary{arrows}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{positioning}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{calc}
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    17
\usetikzlibrary{shapes}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\usepackage{graphicx} 
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
    19
\setmonofont[Scale=MatchLowercase]{Consolas}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\isabellestyle{rm}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\renewcommand{\isastyle}{\rm}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
\renewcommand{\isastyleminor}{\rm}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\renewcommand{\isatagproof}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\renewcommand{\endisatagproof}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\renewcommand{\isamarkupcmt}[1]{#1}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
% Isabelle characters
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
\renewcommand{\isacharunderscore}{\_}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\renewcommand{\isacharbar}{\isamath{\mid}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\renewcommand{\isasymiota}{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
\renewcommand{\isacharbraceleft}{\{}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
\renewcommand{\isacharbraceright}{\}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\renewcommand{\isacharless}{$\langle$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
\renewcommand{\isachargreater}{$\rangle$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
\renewcommand{\isasymsharp}{\isamath{\#}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
\renewcommand{\isasymdots}{\isamath{...}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
\renewcommand{\isasymbullet}{\act}
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    40
\newcommand{\isaliteral}[1]{}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    41
\newcommand{\isactrlisub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
\definecolor{javared}{rgb}{0.6,0,0} % for strings
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
\lstset{language=Java,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
	basicstyle=\ttfamily,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
	keywordstyle=\color{javapurple}\bfseries,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
	stringstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
	commentstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
	numbers=left,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
	numberstyle=\tiny\color{black},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
	stepnumber=1,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
	numbersep=10pt,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
	tabsize=2,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
	showspaces=false,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
	showstringspaces=false}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
\lstdefinelanguage{scala}{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
  morekeywords={abstract,case,catch,class,def,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
    do,else,extends,false,final,finally,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
    for,if,implicit,import,match,mixin,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
    new,null,object,override,package,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
    private,protected,requires,return,sealed,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
    super,this,throw,trait,true,try,%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
    type,val,var,while,with,yield},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
  otherkeywords={=>,<-,<\%,<:,>:,\#,@},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
  sensitive=true,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
  morecomment=[l]{//},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
  morecomment=[n]{/*}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
  morestring=[b]",
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
  morestring=[b]',
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
  morestring=[b]"""
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
\lstset{language=Scala,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
	basicstyle=\ttfamily,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
	keywordstyle=\color{javapurple}\bfseries,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
	stringstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
	commentstyle=\color{javagreen},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
	morecomment=[s][\color{javadocblue}]{/**}{*/},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
	numbers=left,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
	numberstyle=\tiny\color{black},
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
	stepnumber=1,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
	numbersep=10pt,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
	tabsize=2,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
	showspaces=false,
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
	showstringspaces=false}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    95
%sudoku
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    96
\newcounter{row}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    97
\newcounter{col}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    98
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
    99
\newcommand\setrow[9]{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   100
        \setcounter{col}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   101
        \foreach \n in {#1, #2, #3, #4, #5, #6, #7, #8, #9} {
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   102
            \edef\x{\value{col} - 0.5}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   103
            \edef\y{9.5 - \value{row}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   104
            \node[anchor=center] at (\x, \y) {\n};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   105
            \stepcounter{col}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   106
        }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   107
        \stepcounter{row}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   108
}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   109
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   110
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   111
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
% beamer stuff 
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   113
\renewcommand{\slidecaption}{APP 06, King's College London, 12 November 2013}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
\begin{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
\begin{frame}<1>[t]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
\frametitle{%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
  \begin{tabular}{@ {}c@ {}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  \LARGE Access Control and \\[-3mm] 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
  \LARGE Privacy Policies (6)\\[-6mm] 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
  \end{tabular}}\bigskip\bigskip\bigskip
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
  %\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
  %\includegraphics[scale=1.3]{pics/barrier.jpg}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
  %\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
\normalsize
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
  \begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
  \begin{tabular}{ll}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
  Email:  & christian.urban at kcl.ac.uk\\
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   136
  Office: & S1.27 (1st floor Strand Building)\\
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
  Slides: & KEATS (also homework is there)\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
  \end{tabular}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
  \end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
  \mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
  \begin{frame}[t]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
  \frametitle{\Large\begin{tabular}{@ {}c@ {}}Access Control Logic\end{tabular}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
  Formulas
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
  \begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
  \item[]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
  \begin{center}\color{blue}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
  \begin{tabular}[t]{rcl@ {\hspace{10mm}}l}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
  \isa{F} & \isa{{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3A}{\isacharcolon}}{\isaliteral{3D}{\isacharequal}}} & \isa{true} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
            & \isa{{\isaliteral{7C}{\isacharbar}}} & \isa{false} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C616E643E}{\isasymand}}\ F} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C6F723E}{\isasymor}}\ F} \\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \isa{F\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
            & \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}}} \\  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
            & \isa{{\isaliteral{7C}{\isacharbar}}}   & \alert{\isa{P\ says\ F}} & \textcolor{black}{``saying predicate''}\\ 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
  \end{tabular}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
  \end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
  \end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
Judgements
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
\begin{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
\item[] \mbox{\hspace{9mm}}\bl{$\Gamma \vdash \text{F}$}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
\end{itemize}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
  \end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   177
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   178
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   179
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   180
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   181
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   182
\frametitle{Judgements}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   183
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   184
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   185
\begin{tikzpicture}[scale=1]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   186
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   187
  \draw (0.0,0.0) node {\LARGE \bl{$\Gamma \vdash F$}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   188
  \onslide<2->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   189
  \draw (-1,-0.3) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   190
  \draw (-2.0,-2.0) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   191
  \draw (0.7,-3) node {\begin{tabular}{l}Gamma\\stands for a collection of formulas\\(``assumptions'')\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   192
  \draw[red, ->, line width = 2mm] (Y) -- (X);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   193
 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   194
  \draw (1.2,-0.1) node (X1) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   195
  \draw (2.8,-0.1) node (Y1) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   196
  \draw (4.5,-0.1) node {\begin{tabular}{l}a single formula\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   197
  \draw[red, ->, line width = 2mm] (Y1) -- (X1);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   198
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   199
  \draw (-0.1,0.1) node (X2) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   200
  \draw (0.5,1.5) node (Y2) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   201
  \draw (1,1.8) node {\begin{tabular}{l}entails sign\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   202
  \draw[red, ->, line width = 2mm] (Y2) -- (X2);}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   203
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   204
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   205
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   206
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   207
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   208
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   209
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   210
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   211
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   212
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   213
\frametitle{Inference Rules}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   214
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   215
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   216
\begin{tikzpicture}[scale=1]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   217
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   218
  \draw (0.0,0.0) node 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   219
  {\Large\bl{\infer{\Gamma \vdash F_1 \wedge F_2}{\Gamma \vdash F_1 & \Gamma \vdash F_2}}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   220
 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   221
  \draw (-0.1,-0.7) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   222
  \draw (-0.1,-1.9) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   223
  \draw (-0.2,-2) node {\begin{tabular}{l}conclusion\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   224
  \draw[red, ->, line width = 2mm] (Y) -- (X);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   225
 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   226
  \draw (-1,0.6) node (X2) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   227
  \draw (0.0,1.6) node (Y2) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   228
  \draw (0,1.8) node {\begin{tabular}{l}premisses\end{tabular}};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   229
  \draw[red, ->, line width = 2mm] (Y2) -- (X2);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   230
   \draw (1,0.6) node (X3) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   231
  \draw (0.0,1.6) node (Y3) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   232
  \draw[red, ->, line width = 2mm] (Y3) -- (X3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   233
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   234
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   235
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   236
\only<2>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   237
\begin{textblock}{11}(1,13)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   238
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   239
\bl{$P \,\text{says}\, F \vdash Q\,\text{says}\, F\wedge P \,\text{says}\, G $}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   240
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   241
\only<3>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   242
\begin{textblock}{11}(1,13)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   243
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   244
\bl{$\underbrace{P \,\text{says}\, F}_{\Gamma} \vdash \underbrace{Q\,\text{says}\, F}_{F_1} \,\wedge
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   245
        \underbrace{P \,\text{says}\, G}_{F_2} $}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   246
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   247
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   248
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   249
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   250
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   252
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
\frametitle{Inference Rules}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
\bl{\infer{\Gamma, F\vdash F}{}}\bigskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
   260
\bl{\infer{\Gamma \vdash F_2}{\Gamma \vdash F_1 \Rightarrow F_2 \quad \Gamma \vdash F_1}}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
\qquad
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
\bl{\infer{\Gamma \vdash F_1 \Rightarrow F_2}{F_1, \Gamma \vdash F_2}}\bigskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
\bl{\infer{\Gamma \vdash P\,\text{says}\, F}{\Gamma \vdash F}}\medskip\\
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
\bl{\infer{\Gamma \vdash P \,\text{says}\, F_2}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
              {\Gamma \vdash P \,\text{says}\, (F_1\Rightarrow F_2) \quad 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
               \Gamma \vdash P \,\text{says}\, F_1}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   274
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   275
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   276
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   277
  \frametitle{Sending Messages}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   278
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   279
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   280
  \item Alice sends a message \bl{$m$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   281
  \begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   282
  \bl{Alice says $m$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   283
  \end{center}\medskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   284
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   285
  \item Alice sends an encrypted message \bl{$m$} with key \bl{$K$} 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   286
  (\bl{$\{m\}_K \dn K \Rightarrow m$})
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   287
  \begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   288
  \bl{Alice says $\{m\}_K$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   289
  \end{center}\medskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   290
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   291
  \item Decryption of Alice's message\smallskip
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   292
  \begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   293
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   294
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   295
  \end{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   296
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   297
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   298
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   299
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   300
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   301
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
\frametitle{Proofs}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   307
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   308
\bl{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   309
\infer{\Gamma \vdash F}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   310
         {\infer{\hspace{1cm}:\hspace{1cm}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   311
             {\infer{\hspace{1cm}:\hspace{1cm}}{:}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   312
               &
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   313
              \infer{\hspace{1cm}:\hspace{1cm}}{:\quad :}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   314
           }}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   315
}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   316
\end{center}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   321
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   322
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
\begin{frame}[c]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
\frametitle{The Access Control Problem}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
\begin{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
  \begin{tikzpicture}[scale=1]
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
  \draw[line width=1mm] (-.3, -0.5) rectangle (1.5,2);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
  \draw (-2.7,1) node {\begin{tabular}{l}access\\request\\ (\bl{$F$})\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
  \draw (4.2,1) node {\begin{tabular}{l}provable/\\not provable\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
  \draw (0.6,0.8) node {\footnotesize \begin{tabular}{l}AC-\\ Checker:\\ applies\\ inference\\ rules\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
  \draw[red, ->, line width = 2mm] (1.7,1) -- (2.7,1); 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
  \draw[red,<-, line width = 2mm] (-0.6,1) -- (-1.6,1);
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
  \draw[red, <-, line width = 3mm] (0.6,2.2) -- (0.6,3.2); 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
  \draw (0.6,4) node {\begin{tabular}{l}\large Access Policy (\bl{$\Gamma$})\end{tabular}};
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
  \end{tikzpicture}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
\end{frame}}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
\mode<presentation>{
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
\begin{frame}[c]
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   353
\frametitle{Proofs}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
\begin{center}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   356
\includegraphics[scale=0.4]{pics/river-stones.jpg}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
\end{center}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   359
\begin{textblock}{5}(11.7,5)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   360
goal
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   361
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   362
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   363
\begin{textblock}{5}(11.7,14)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   364
start
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   365
\end{textblock}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   367
\begin{textblock}{5}(0,7)
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
\begin{center}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   369
\bl{\infer[\small\textcolor{black}{\text{axiom}}]{\quad\vdash\quad}{}}\\[8mm]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   370
\bl{\infer{\vdash}{\quad\vdash\quad}}\\[8mm]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   371
\bl{\infer{\vdash}{\quad\vdash\qquad\vdash\quad}}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
\end{center}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   373
\end{textblock}
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
\end{frame}}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   376
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   378
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   379
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   380
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   381
\begin{frame}[c]
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   382
\frametitle{Sudoku}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   383
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   384
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   385
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   386
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   387
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   388
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   389
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   390
    \setrow { }{2}{ }  {5}{ }{1}  { }{9}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   391
    \setrow {8}{ }{ }  {2}{ }{3}  { }{ }{6}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   392
    \setrow { }{3}{ }  { }{6}{ }  { }{7}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   393
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   394
    \setrow { }{ }{1}  { }{ }{ }  {6}{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   395
    \setrow {5}{4}{ }  { }{ }{ }  { }{1}{9}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   396
    \setrow { }{ }{2}  { }{ }{ }  {7}{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   397
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   398
    \setrow { }{9}{ }  { }{3}{ }  { }{8}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   399
    \setrow {2}{ }{ }  {8}{ }{4}  { }{ }{7}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   400
    \setrow { }{1}{ }  {9}{ }{7}  { }{6}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   401
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   402
    \fill[red, fill opacity=0.4] (4,0) rectangle (5,9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   403
    \fill[red, fill opacity=0.4] (0,5) rectangle (9,6);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   404
    \fill[red!50, fill opacity=0.4] (3,3) rectangle (4,5);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   405
    \fill[red!50, fill opacity=0.4] (5,3) rectangle (6,5);  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   406
    \node[gray, anchor=center] at (4.5, -0.5) {columns};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   407
    \node[gray, rotate=90, anchor=center] at (-0.6, 4.5, -0.5) {rows};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   408
    \node[gray, anchor=center] at (4.5, 4.5) {box};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   409
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   410
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   411
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   412
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   413
\begin{textblock}{7}(9,3)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   414
\begin{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   415
\item {\bf Row-Column:} each cell, must contain exactly one number
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   416
\item {\bf Row-Number:} each row must contain each number exactly once
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   417
\item {\bf Column-Number:} each column must contain each number exactly once
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   418
\item {\bf Box-Number:} each box must contain each number exactly once
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   419
\end{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   420
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   421
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   422
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   423
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   424
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   425
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   426
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   427
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   428
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   429
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   430
\frametitle{Solving Sudokus}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   431
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   432
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   433
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   434
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   435
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   436
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   437
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   438
    \setrow { }{ }{ }  {7}{ }{ }  { }{5}{8}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   439
    \setrow {}{5}{6}  {2}{1}{8}  {7}{9}{3}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   440
    \setrow { }{ }{ }  { }{ }{ }  {1}{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   441
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   442
    \setrow { }{ }{ }  { }{ }{ }  { }{8}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   443
    \setrow { }{ }{ }  {3}{7}{6}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   444
    \setrow {9}{6}{ }  { }{ }{ }  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   445
133
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 131
diff changeset
   446
    \setrow { }{ }{5}  { }{ }{ }  { }{ }{ }
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   447
    \setrow { }{ }{4}  { }{2}{1}  {8}{3}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   448
    \setrow {8}{7}{ }  { }{ }{3}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   449
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   450
    \fill[red, fill opacity=0.4] (0,7) rectangle (1,8);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   451
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   452
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   453
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   454
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   455
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   456
\begin{textblock}{6}(9,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   457
{\bf single position rules}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   458
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   459
\bl{\infer{4\;\text{in empty position}}{\{1..9\} - \{4\}\;\text{in one row}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   460
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   461
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   462
\onslide<2->{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   463
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   464
\bl{\infer{x\;\text{in empty position}}{\{1..9\} - \{x\}\;\text{in one column}}}\medskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   465
\bl{\infer{x\;\text{in empty position}}{\{1..9\} - \{x\}\;\text{in one box}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   466
\end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   467
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   468
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   469
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   470
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   471
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   472
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   473
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   474
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   475
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   476
\frametitle{Solving Sudokus}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   477
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   478
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   479
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   480
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   481
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   482
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   483
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   484
    \setrow { }{ }{ }  {7}{ }{ }  {\alert{\footnotesize 2}}{5}{8}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   485
    \setrow {}{5}{6}  {2}{1}{8}  {7}{9}{3}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   486
    \setrow { }{ }{ }  { }{ }{ }  {1}{\alert{\footnotesize 2}}{\alert{\footnotesize 2}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   487
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   488
    \setrow { }{ }{ }  { }{ }{ }  { }{8}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   489
    \setrow { }{ }{ }  {3}{7}{6}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   490
    \setrow {9}{6}{ }  { }{ }{ }  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   491
133
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 131
diff changeset
   492
    \setrow { }{ }{5}  { }{ }{ }  { }{ }{ }
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   493
    \setrow { }{ }{4}  { }{2}{1}  {8}{3}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   494
    \setrow {8}{7}{ }  { }{ }{3}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   495
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   496
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   497
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   498
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   499
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   500
\begin{textblock}{6}(7.5,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   501
{\bf candidate rules}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   502
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   503
\bl{\infer{x\;\text{candidate in empty positions}}{X - \{x\}\;\text{in one box} & X \subseteq \{1..9\}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   504
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   505
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   506
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   507
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   508
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   509
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   510
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   511
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   512
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   513
\frametitle{Solving Sudokus}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   514
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   515
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   516
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   517
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   518
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   519
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   520
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   521
    \setrow { }{ }{ }  {7}{ }{ }  {\alert{\footnotesize 2}}{5}{8}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   522
    \setrow {\alert{4}}{5}{6}  {2}{1}{8}  {7}{9}{3}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   523
    \setrow { }{ }{ }  { }{ }{ }  {1}{\alert{\footnotesize 2}}{\alert{\footnotesize 2}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   524
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   525
    \setrow { }{ }{ }  { }{ }{ }  { }{8}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   526
    \setrow { }{ }{ }  {3}{7}{6}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   527
    \setrow {9}{6}{ }  { }{ }{ }  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   528
133
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 131
diff changeset
   529
    \setrow { }{ }{5}  { }{ }{ }  { }{ }{ }
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   530
    \setrow { }{ }{4}  { }{2}{1}  {8}{3}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   531
    \setrow {8}{7}{ }  { }{ }{3}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   532
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   533
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   534
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   535
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   536
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   537
\begin{textblock}{6}(7.5,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   538
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   539
\bl{\infer{4\;\text{in empty position}}{\{1..9\} - \{4\}\;\text{in one row}}}\bigskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   540
\bl{\infer{2\;\text{candidate in empty positions}}{X - \{2\}\;\text{in one box} & X \subseteq \{1..9\}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   541
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   542
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   543
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   544
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   545
\begin{textblock}{3}(13.5,6.8)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   546
  \begin{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   547
  \onslide<1>{\node at (0,0) [single arrow, shape border rotate=270, fill=red,text=white]{\mbox{\alert{a}}};}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   548
  \onslide<2>{\node at (0,0) [single arrow, shape border rotate=90, fill=red,text=white]{\mbox{\alert{a}}};}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   549
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   550
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   551
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   552
\begin{textblock}{3}(14.5,9.3)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   553
  \begin{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   554
  \onslide<1>{\node at (0,0) [single arrow, shape border rotate=270, fill=red,text=white]{\mbox{\alert{a}}};}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   555
  \onslide<2>{\node at (0,0) [single arrow, shape border rotate=90, fill=red,text=white]{\mbox{\alert{a}}};}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   556
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   557
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   558
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   559
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   560
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   561
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   562
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   563
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   564
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   565
\frametitle{Solving Sudokus}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   566
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   567
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   568
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   569
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   570
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   571
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   572
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   573
    \setrow { }{ }{ }  {7}{ }{ }  { }{5}{8}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   574
    \setrow { }{5}{6}  {2}{1}{8}  {7}{9}{3}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   575
    \setrow { }{ }{ }  { }{ }{ }  {1}{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   576
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   577
    \setrow { }{ }{ }  { }{ }{ }  { }{8}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   578
    \setrow { }{ }{ }  {3}{7}{6}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   579
    \setrow {9}{6}{ }  { }{ }{ }  { }{ }{ \alert{2}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   580
133
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 131
diff changeset
   581
    \setrow { }{ }{5}  { }{ }{ }  { }{ }{ }
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   582
    \setrow { }{ }{4}  { }{2}{1}  {8}{3}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   583
    \setrow {8}{7}{ }  { }{ }{3}  { }{ }{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   584
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   585
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   586
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   587
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   588
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   589
\begin{textblock}{6}(7.5,6)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   590
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   591
\bl{\infer{2\;\text{candidate}}{X - \{2\}\;\text{in one box} & X \subseteq \{1..9\}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   592
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   593
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   594
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   595
\begin{textblock}{3}(14.5,8.3)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   596
  \begin{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   597
  \onslide<1>{\node at (0,0) [single arrow, shape border rotate=90, fill=red,text=white]{\mbox{\alert{a}}};}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   598
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   599
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   600
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   601
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   602
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   603
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   604
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   605
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   606
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   607
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   608
\begin{frame}[c]
131
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 130
diff changeset
   609
\frametitle{BTW}
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   610
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   611
Are there sudokus that cannot be solved?\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   612
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   613
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   614
\begin{tikzpicture}[scale=.5]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   615
  \begin{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   616
    \draw (0, 0) grid (9, 9);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   617
    \draw[very thick, scale=3] (0, 0) grid (3, 3);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   618
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   619
    \setcounter{row}{1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   620
    \setrow {1}{2}{3}  {4}{5}{6}  {7}{8}{ }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   621
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{2}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   622
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{3}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   623
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   624
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{4}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   625
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{5}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   626
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{6}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   627
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   628
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{7}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   629
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{8}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   630
    \setrow { }{ }{ }  { }{ }{ }  { }{ }{9}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   631
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   632
  \end{scope}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   633
  \end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   634
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   635
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   636
Sometimes no rules apply at all....unsolvable sudoku.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   637
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   638
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   639
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   640
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   641
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   642
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   643
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   644
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   645
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   646
\frametitle{Example Proof}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   647
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   648
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   649
\bl{\infer{P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2 \wedge P\;\text{says}\;F_1}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   650
         {\raisebox{2mm}{\text{\LARGE $?$}}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   651
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   652
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   653
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   654
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   655
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   656
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   657
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   658
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   659
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   660
\frametitle{Example Proof}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   661
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   662
\begin{tabular}{@{\hspace{-6mm}}l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   663
\begin{minipage}{1.1\textwidth}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   664
We have (by axiom)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   665
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   666
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   667
\begin{tabular}{@{}ll@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   668
(1) & \bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   669
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   670
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   671
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   672
From (1) we get
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   673
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   674
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   675
\begin{tabular}{@{}ll@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   676
(2) & \bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash P\;\text{says}\;F_1$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   677
(3) & \bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   678
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   679
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   680
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   681
From (3) and (2) we get
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   682
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   683
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   684
\begin{tabular}{@{}ll@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   685
\bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2 \wedge P\;\text{says}\;F_1$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   686
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   687
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   688
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   689
Done.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   690
\end{minipage}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   691
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   692
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   693
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   694
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   695
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   696
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   697
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   698
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   699
\frametitle{Other Direction}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   700
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   701
\begin{tabular}{@{\hspace{-6mm}}l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   702
\begin{minipage}{1.1\textwidth}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   703
We want to prove
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   704
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   705
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   706
\begin{tabular}{@{}ll@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   707
\bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2 \wedge P\;\text{says}\;F_1$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   708
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   709
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   710
129
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   711
We better be able to prove:
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   712
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   713
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   714
\begin{tabular}{@{}ll@{}}
129
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   715
(1) & \bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2$}\\
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   716
(2) & \bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash P\;\text{says}\;F_1$}\\
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   717
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   718
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   719
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   720
For (1): If we can prove
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   721
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   722
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   723
\begin{tabular}{@{}ll@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   724
\bl{$P\;\text{says}\;F_1 \wedge Q\;\text{says}\;F_2 \vdash Q\;\text{says}\;F_2 \wedge P\;\text{says}\;F_1$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   725
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   726
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   727
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   728
then (1) is fine. Similarly for (2).
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   729
\end{minipage}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   730
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   731
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   732
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   733
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   734
     
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   735
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
129
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   736
\mode<presentation>{
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   737
\begin{frame}[t]
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   738
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   739
I want to prove
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   740
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   741
\begin{center}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   742
\bl{$\Gamma \vdash \text{del\_file}$}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   743
\end{center}\pause
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   744
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   745
There is an inference rule
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   746
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   747
\begin{center}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   748
\bl{\infer{\Gamma \vdash P \,\text{says}\, F}{\Gamma \vdash F}}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   749
\end{center}\pause
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   750
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   751
So I can derive \bl{$\Gamma \vdash \text{Alice} \,\text{says}\,\text{del\_file}$}.\bigskip\pause
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   752
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   753
\bl{$\Gamma$} contains already \bl{$\text{Alice} \,\text{says}\,\text{del\_file}$}. \\
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   754
So I can use the rule
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   755
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   756
\begin{center}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   757
\bl{\infer{\Gamma, F \vdash F}{}}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   758
\end{center}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   759
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   760
\onslide<5>{\bf\alert{What is wrong with this?}}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   761
\hfill{\bf Done. Qed.}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   762
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   763
\end{frame}}
10526c967679 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 128
diff changeset
   764
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%        
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   765
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   766
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   767
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   768
\begin{frame}[c]
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   769
\frametitle{Program}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   770
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   771
How to prove \bl{$\Gamma \vdash F$}?\bigskip\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   772
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   773
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   774
\Large \bl{\infer{\Gamma, F\vdash F}{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   775
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   776
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   777
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   778
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   779
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   780
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   781
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   782
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   783
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   784
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   785
\Large 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   786
\bl{\infer{\Gamma \vdash F_1 \Rightarrow F_2}{F_1, \Gamma \vdash F_2}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   787
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   788
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   789
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   790
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   791
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   792
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   793
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   794
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   795
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   796
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   797
\Large 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   798
\bl{\infer{\Gamma \vdash P \,\text{says}\, F}{\Gamma \vdash F}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   799
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   800
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   801
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   802
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   803
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   804
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   805
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   806
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   807
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   808
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   809
\Large 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   810
\bl{\infer{\Gamma \vdash F_1 \vee F_2}{\Gamma \vdash F_1}}\qquad
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   811
\bl{\infer{\Gamma \vdash F_1 \vee F_2}{\Gamma \vdash F_2}}\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   812
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   813
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   814
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   815
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   816
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   817
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   818
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   819
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   820
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   821
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   822
\Large 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   823
\bl{\infer{\Gamma \vdash F_1 \wedge F_2}{\Gamma \vdash F_1 \quad \Gamma \vdash F_2}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   824
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   825
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   826
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   827
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   828
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   829
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   830
     
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   831
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   832
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   833
\begin{frame}[t]
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   834
\frametitle{Program: \texttt{prove2}}
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   835
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   836
I want to prove \bl{$\Gamma \vdash \text{Pred}$}\bigskip\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   837
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   838
\begin{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   839
\item I found that \bl{$\Gamma$} contains the assumption \bl{$F_1 \Rightarrow F_2$}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   840
\item If I can prove \bl{$\Gamma \vdash F_1$},\pause{} then I can prove
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   841
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   842
\bl{$\Gamma \vdash F_2$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   843
\end{center}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   844
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   845
\item So I am able to try to prove \bl{$\Gamma \vdash \text{Pred}$} with the additional assumption
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   846
\bl{$F_2$}.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   847
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   848
\bl{$F_2, \Gamma \vdash \text{Pred}$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   849
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   850
\end{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   851
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   852
\only<4>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   853
\begin{textblock}{11}(1,10.5)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   854
\bl{\infer{\Gamma\vdash F_2}{\Gamma\vdash F_1\Rightarrow F_2 & \Gamma\vdash F_1}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   855
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   856
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   857
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   858
\end{frame}}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   859
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%       
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   860
     
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   861
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   862
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   863
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   864
  \frametitle{}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   865
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   866
  Recall the following scenario:
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   867
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   868
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   869
  \item If \textcolor{blue}{Admin} says that \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{} {}}} 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   870
  should be deleted, then this file must be deleted.
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   871
  \item \textcolor{blue}{Admin} trusts \textcolor{blue}{Bob} to decide whether 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   872
  \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}}} should be deleted.
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   873
  \item \textcolor{blue}{Bob} wants to delete \textcolor{blue}{\isa{file\isaliteral{5C3C5E697375623E}{}}}.
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   874
  \end{itemize}\bigskip
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   875
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   876
  \small
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   877
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{3D}{\isacharequal}}}\small\begin{tabular}{l}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   878
  \isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}},\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   879
  \isa{{\isaliteral{28}{\isacharparenleft}}Admin\ says\ {\isaliteral{28}{\isacharparenleft}}{\isaliteral{28}{\isacharparenleft}}Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}{\isaliteral{29}{\isacharparenright}}{\isaliteral{29}{\isacharparenright}}},\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   880
  \isa{Bob\ says\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   881
  \end{tabular}}\medskip
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   882
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   883
  \textcolor{blue}{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ del{\isaliteral{5F}{\isacharunderscore}}file\isaliteral{5C3C5E697375623E}{}}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   884
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   885
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   886
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   887
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   888
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   889
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   890
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   891
\begin{itemize}
135
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 133
diff changeset
   892
\item \bl{$P \,\text{says}\, F$} means \bl{$P$} can send a ``signal'' \bl{$F$} through a wire, or
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 133
diff changeset
   893
can make a statement \bl{$F$}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 133
diff changeset
   894
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   895
\item \bl{$P$} is entitled to do \bl{$F$}\smallskip\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   896
\bl{$P \,\text{controls}\, F \,\dn\, (P\,\text{says}\, F) \Rightarrow F$}\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   897
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   898
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   899
\bl{\infer{\Gamma \vdash F}{\Gamma \vdash P\,\text{controls}\, F & \Gamma \vdash P\,\text{says}\,F}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   900
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   901
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   902
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   903
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   904
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   905
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   906
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   907
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
   908
126
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
   909
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   910
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   911
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   912
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   913
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   914
\frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   915
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   916
Simple protocol for establishing a secure connection via a mutually
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   917
trusted 3rd party (server):
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   918
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   919
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   920
\begin{tabular}{@ {\hspace{-7mm}}l@{\hspace{2mm}}r@ {\hspace{1mm}}l}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   921
Message 1 & \bl{$A \rightarrow S :$} & \bl{$A, B$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   922
Message 2 & \bl{$S \rightarrow A :$} & \bl{$\{K_{AB}\}_{K_{AS}}$} and \bl{$\{\{K_{AB}\}_{K_{BS}} \}_{K_{AS}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   923
Message 3 & \bl{$A \rightarrow B :$} & \bl{$\{K_{AB}\}_{K_{BS}} $}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   924
Message 4 & \bl{$A \rightarrow B :$} & \bl{$\{m\}_{K_{AB}}$}\\
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   925
\end{tabular}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   926
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   927
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   928
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   929
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   930
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   931
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   932
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   933
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   934
  \frametitle{Sending Rule}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   935
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   936
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   937
  \mbox{\infer{\Gamma \vdash Q \;\text{says}\; F}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   938
              {\Gamma \vdash P \;\text{says}\; F & \Gamma \vdash P \;\text{sends}\; Q : F}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   939
  \end{center}}\bigskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   940
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   941
  \bl{$P \,\text{sends}\, Q : F \dn$}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   942
  \hspace{6mm}\bl{$(P \,\text{says}\, F) \Rightarrow (Q \,\text{says}\, F)$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   943
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   944
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   945
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   946
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   947
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   948
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   949
  \begin{frame}[c]
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   950
  \frametitle{Trusted Third Party}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   951
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   952
  \begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   953
  \bl{\begin{tabular}{l}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   954
  $A$ sends $S$ : $\text{Connect}(A,B)$\\  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   955
  \bl{$S \,\text{says}\, (\text{Connect}(A,B) \Rightarrow$}\\ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   956
  \hspace{2.5cm}\bl{$\{K_{AB}\}_{K_{AS}} \wedge 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   957
  \{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}})$}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   958
 $S$ sends $A$ : $\{K_{AB}\}_{K_{AS}}$ \bl{$\wedge$} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   959
  $A$ sends $B$ : $\{K_{AB}\}_{K_{BS}}$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   960
  $A$ sends $B$ : $\{m\}_{K_{AB}}$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   961
  \end{tabular}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   962
  \end{center}\bigskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   963
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   964
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   965
  \bl{$\Gamma \vdash B \,\text{says} \, m$}?
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   966
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   967
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   968
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   969
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   970
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   971
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   972
  \frametitle{Public/Private Keys}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   973
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   974
  \begin{itemize}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   975
  \item Bob has a private and public key: \bl{$K_{Bob}^{pub}$}, \bl{$K_{Bob}^{priv}$}\bigskip
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   976
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
   977
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   978
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_{K_{Bob}^{pub}} & 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   979
               \Gamma \vdash K_{Bob}^{priv}}}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   980
  \end{center}\bigskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   981
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   982
  \item this is {\bf not} a derived rule! 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   983
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   984
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   985
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   986
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   987
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   988
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   989
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   990
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   991
  \frametitle{Security Levels}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   992
  \small
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   993
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   994
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   995
  \item Top secret (\bl{$T\!S$})
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   996
  \item Secret (\bl{$S$})
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   997
  \item Public (\bl{$P$})
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   998
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
   999
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1000
  \begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1001
  \bl{$slev(P) < slev(S) < slev(T\!S)$}\pause
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1002
  \end{center}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1003
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1004
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1005
  \item Bob has a clearance for ``secret''
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1006
  \item Bob can read documents that are public or sectret, but not top secret
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1007
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1008
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1009
  \end{frame}}
130
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1010
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1011
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1012
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1013
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1014
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1015
  \frametitle{Reading a File}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1016
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1017
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1018
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1019
  \begin{tabular}{@ {}l@ {}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1020
  \only<2->{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$}}\\ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1021
  \only<2->{\hspace{3cm}}Bob controls Permitted $($File, read$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1022
  Bob says Permitted $($File, read$)$\only<2->{\\}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1023
  \only<2>{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$}}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1024
  \only<3>{\textcolor{red}{$slev($File$)$ $=$ $P$}\\}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1025
  \only<3>{\textcolor{red}{$slev($Bob$)$ $=$ $S$}\\}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1026
  \only<3>{\textcolor{red}{$slev(P)$ $<$ $slev(S)$}\\}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1027
  \end{tabular}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1028
  \hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1029
  Permitted $($File, read$)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1030
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1031
  \end{center}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1032
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1033
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1034
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1035
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1036
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1037
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1038
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1039
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1040
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1041
  \frametitle{Substitution Rule}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1042
  \small
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1043
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1044
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1045
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1046
  $\Gamma \vdash slev(P) = l_1$ \hspace{4mm} $\Gamma \vdash slev(Q) = l_2$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1047
  \hspace{4mm} $\Gamma \vdash l_1 < l_2$\\\hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1048
  $\Gamma \vdash slev(P) < slev(Q)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1049
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1050
  \end{center}}\bigskip\pause
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1051
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1052
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1053
  \item \bl{$slev($Bob$)$ $=$ $S$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1054
  \item \bl{$slev($File$)$ $=$ $P$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1055
  \item \bl{$slev(P) < slev(S)$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1056
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1057
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1058
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1059
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1060
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1061
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1062
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1063
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1064
  \frametitle{Reading a File}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1065
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1066
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1067
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1068
  \begin{tabular}{@ {}l@ {}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1069
  $slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$\\ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1070
  \hspace{3cm}Bob controls Permitted $($File, read$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1071
  Bob says Permitted $($File, read$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1072
  $slev($File$)$ $=$ $P$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1073
  $slev($Bob$)$ $=$ $T\!S$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1074
  \only<1>{\textcolor{red}{$?$}}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1075
  \only<2>{\textcolor{red}{$slev(P) < slev(S)$}\\}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1076
  \only<2>{\textcolor{red}{$slev(S) < slev(T\!S)$}}%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1077
  \end{tabular}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1078
  \hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1079
  Permitted $($File, read$)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1080
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1081
  \end{center}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1082
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1083
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1084
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1085
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1086
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1087
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1088
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1089
  \frametitle{Transitivity Rule}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1090
  \small
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1091
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1092
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1093
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1094
  $\Gamma \vdash l_1 < l_2$ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1095
  \hspace{4mm} $\Gamma \vdash l_2 < l_3$\\\hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1096
  $\Gamma \vdash l_1 < l_3$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1097
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1098
  \end{center}}\bigskip
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1099
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1100
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1101
  \item \bl{$slev(P) < slev (S)$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1102
  \item \bl{$slev(S) < slev (T\!S)$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1103
  \item[] \bl{$slev(P) < slev (T\!S)$}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1104
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1105
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1106
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1107
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1108
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1109
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1110
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1111
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1112
  \frametitle{Reading Files}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1113
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1114
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1115
  \item Access policy for reading
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1116
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1117
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1118
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1119
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1120
  \begin{tabular}{@ {}l@ {}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1121
  $\forall f.\;slev(f)$ \only<1>{$<$}\only<2>{\textcolor{red}{$\le$}} $slev($Bob$)$ $\Rightarrow$\\ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1122
  \hspace{3cm}Bob controls Permitted $(f$, read$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1123
  Bob says Permitted $($File, read$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1124
  $slev($File$)$ $=$ \only<1>{$P$}\only<2>{\textcolor{red}{$T\!S$}}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1125
  $slev($Bob$)$ $=$ $T\!S$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1126
  $slev(P) < slev(S)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1127
  $slev(S) < slev(T\!S)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1128
  \end{tabular}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1129
  \hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1130
  Permitted $($File, read$)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1131
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1132
  \end{center}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1133
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1134
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1135
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1136
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1137
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1138
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1139
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1140
  \mode<presentation>{
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1141
  \begin{frame}[c]
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1142
  \frametitle{Writing Files}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1143
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1144
  \begin{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1145
  \item Access policy for \underline{writing}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1146
  \end{itemize}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1147
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1148
  \bl{\begin{center}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1149
  \begin{tabular}{c}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1150
  \begin{tabular}{@ {}l@ {}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1151
  $\forall f.\;slev($Bob$)$ $\le$ $slev(f)$ $\Rightarrow$\\ 
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1152
  \hspace{3cm}Bob controls Permitted $(f$, write$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1153
  Bob says Permitted $($File, write$)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1154
  $slev($File$)$ $=$ $T\!S$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1155
  $slev($Bob$)$ $=$ $S$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1156
  $slev(P) < slev(S)$\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1157
  $slev(S) < slev(T\!S)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1158
  \end{tabular}\\
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1159
  \hline
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1160
  Permitted $($File, write$)$
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1161
  \end{tabular}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1162
  \end{center}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1163
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1164
  \end{frame}}
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1165
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1166
%
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1167
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1168
  
4e8482e50590 more slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 129
diff changeset
  1169
\end{document}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1170
  
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1171
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1172
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1173
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1174
  \frametitle{Encryption}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1175
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1176
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1177
  \item Encryption of a message\smallskip
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1178
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1179
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_K}
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
  1180
              {\Gamma \vdash \text{Alice}\;\text{says}\;m & \Gamma \vdash \text{Alice}\,\text{says}\,K}}}
60
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1181
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1182
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1183
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1184
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1185
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents: 59
diff changeset
  1186
  
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1187
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1188
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1189
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1190
  \frametitle{Public/Private Keys}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1191
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1192
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1193
  \item Bob has a private and public key: \bl{$K_{Bob}^{pub}$}, \bl{$K_{Bob}^{priv}$}\bigskip
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1194
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1195
  \bl{\mbox{\infer{\Gamma \vdash \text{Alice}\;\text{says}\;m}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1196
              {\Gamma \vdash \text{Alice}\;\text{says}\;\{m\}_{K_{Bob}^{pub}} & 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1197
               \Gamma \vdash K_{Bob}^{priv}}}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1198
  \end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1199
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1200
  \item this is {\bf not} a derived rule! 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1201
  \end{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1202
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1203
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1204
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1205
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1206
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1207
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1208
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1209
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1210
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1211
  \begin{itemize}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1212
  \item Alice calls Sam for a key to communicate with Bob
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1213
  \item Sam responds with a key that Alice can read and a key Bob can read (pre-shared)
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1214
  \item Alice sends the message encrypted with the key and the second key it recieved
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1215
  \end{itemize}\bigskip
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1216
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1217
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1218
  \bl{\begin{tabular}{lcl}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1219
  $A$ sends $S$ &:& $\textit{Connect}(A,B)$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1220
  $S$ sends $A$ &:& $\{K_{AB}\}_{K_{AS}}$ \textcolor{black}{and} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1221
  $A$ sends $B$ &:& $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1222
  $A$ sends $B$ &:& $\{m\}_{K_{AB}}$
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1223
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1224
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1225
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1226
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1227
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1228
  
128
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1229
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1230
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1231
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1232
  \frametitle{Controls}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1233
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1234
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1235
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1236
  \item \bl{\isa{P\ controls\ F\ {\isaliteral{5C3C65717569763E}{\isasymequiv}}\ {\isaliteral{28}{\isacharparenleft}}P\ says\ F{\isaliteral{29}{\isacharparenright}}\ {\isaliteral{5C3C52696768746172726F773E}{\isasymRightarrow}}\ F}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1237
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1238
  \item its meaning ``\bl{P} is entitled to do \bl{F}''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1239
  \item if \bl{P controls F} and \bl{P says F} then \bl{F}\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1240
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1241
  \begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1242
  \bl{\mbox{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1243
  \infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1244
        {\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ controls\ F}} & \mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ P\ says\ F}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1245
  }}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1246
  \end{center}\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1247
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1248
  \begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1249
  \bl{\mbox{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1250
  \infer{\mbox{\isa{{\isaliteral{5C3C47616D6D613E}{\isasymGamma}}\ {\isaliteral{5C3C7475726E7374696C653E}{\isasymturnstile}}\ F}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1251
        {\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}}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1252
  }}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1253
  \end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1254
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1255
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1256
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1257
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1258
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1259
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1260
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1261
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1262
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1263
  \frametitle{Security Levels}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1264
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1265
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1266
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1267
  \item Top secret (\bl{$T\!S$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1268
  \item Secret (\bl{$S$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1269
  \item Public (\bl{$P$})
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1270
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1271
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1272
  \begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1273
  \bl{$slev(P) < slev(S) < slev(T\!S)$}\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1274
  \end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1275
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1276
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1277
  \item Bob has a clearance for ``secret''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1278
  \item Bob can read documents that are public or sectret, but not top secret
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1279
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1280
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1281
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1282
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1283
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1284
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1285
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1286
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1287
  \frametitle{Reading a File}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1288
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1289
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1290
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1291
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1292
  \only<2->{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$}}\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1293
  \only<2->{\hspace{3cm}}Bob controls Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1294
  Bob says Permitted $($File, read$)$\only<2->{\\}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1295
  \only<2>{\textcolor{red}{$slev($File$)$ $<$ $slev($Bob$)$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1296
  \only<3>{\textcolor{red}{$slev($File$)$ $=$ $P$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1297
  \only<3>{\textcolor{red}{$slev($Bob$)$ $=$ $S$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1298
  \only<3>{\textcolor{red}{$slev(P)$ $<$ $slev(S)$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1299
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1300
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1301
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1302
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1303
  \end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1304
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1305
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1306
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1307
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1308
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1309
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1310
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1311
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1312
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1313
  \frametitle{Substitution Rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1314
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1315
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1316
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1317
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1318
  $\Gamma \vdash slev(P) = l_1$ \hspace{4mm} $\Gamma \vdash slev(Q) = l_2$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1319
  \hspace{4mm} $\Gamma \vdash l_1 < l_2$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1320
  $\Gamma \vdash slev(P) < slev(Q)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1321
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1322
  \end{center}}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1323
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1324
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1325
  \item \bl{$slev($Bob$)$ $=$ $S$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1326
  \item \bl{$slev($File$)$ $=$ $P$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1327
  \item \bl{$slev(P) < slev(S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1328
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1329
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1330
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1331
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1332
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1333
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1334
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1335
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1336
  \frametitle{Reading a File}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1337
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1338
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1339
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1340
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1341
  $slev($File$)$ $<$ $slev($Bob$)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1342
  \hspace{3cm}Bob controls Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1343
  Bob says Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1344
  $slev($File$)$ $=$ $P$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1345
  $slev($Bob$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1346
  \only<1>{\textcolor{red}{$?$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1347
  \only<2>{\textcolor{red}{$slev(P) < slev(S)$}\\}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1348
  \only<2>{\textcolor{red}{$slev(S) < slev(T\!S)$}}%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1349
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1350
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1351
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1352
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1353
  \end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1354
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1355
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1356
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1357
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1358
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1359
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1360
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1361
  \frametitle{Transitivity Rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1362
  \small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1363
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1364
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1365
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1366
  $\Gamma \vdash l_1 < l_2$ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1367
  \hspace{4mm} $\Gamma \vdash l_2 < l_3$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1368
  $\Gamma \vdash l_1 < l_3$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1369
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1370
  \end{center}}\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1371
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1372
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1373
  \item \bl{$slev(P) < slev (S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1374
  \item \bl{$slev(S) < slev (T\!S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1375
  \item[] \bl{$slev(P) < slev (T\!S)$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1376
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1377
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1378
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1379
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1380
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1381
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1382
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1383
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1384
  \frametitle{Reading Files}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1385
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1386
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1387
  \item Access policy for reading
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1388
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1389
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1390
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1391
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1392
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1393
  $\forall f.\;slev(f)$ \only<1>{$<$}\only<2>{\textcolor{red}{$\le$}} $slev($Bob$)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1394
  \hspace{3cm}Bob controls Permitted $(f$, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1395
  Bob says Permitted $($File, read$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1396
  $slev($File$)$ $=$ \only<1>{$P$}\only<2>{\textcolor{red}{$T\!S$}}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1397
  $slev($Bob$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1398
  $slev(P) < slev(S)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1399
  $slev(S) < slev(T\!S)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1400
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1401
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1402
  Permitted $($File, read$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1403
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1404
  \end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1405
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1406
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1407
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1408
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1409
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1410
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1411
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1412
  \mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1413
  \begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1414
  \frametitle{Writing Files}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1415
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1416
  \begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1417
  \item Access policy for \underline{writing}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1418
  \end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1419
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1420
  \bl{\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1421
  \begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1422
  \begin{tabular}{@ {}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1423
  $\forall f.\;slev($Bob$)$ $\le$ $slev(f)$ $\Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1424
  \hspace{3cm}Bob controls Permitted $(f$, write$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1425
  Bob says Permitted $($File, write$)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1426
  $slev($File$)$ $=$ $T\!S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1427
  $slev($Bob$)$ $=$ $S$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1428
  $slev(P) < slev(S)$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1429
  $slev(S) < slev(T\!S)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1430
  \end{tabular}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1431
  \hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1432
  Permitted $($File, write$)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1433
  \end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1434
  \end{center}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1435
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1436
  \end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1437
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1438
%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1439
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 126
diff changeset
  1440
  
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1441
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1442
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1443
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1444
  \frametitle{Sending Rule}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1445
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1446
  \bl{\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1447
  \mbox{\infer{\Gamma \vdash Q \;\textit{says}\; F}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1448
              {\Gamma \vdash P \;\textit{says}\; F & \Gamma \vdash P \;\textit{sends}\; Q : F}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1449
  \end{center}}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1450
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1451
  \bl{$P \,\text{sends}\, Q : F \dn$}\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1452
  \hspace{6mm}\bl{$(P \,\text{says}\, F) \Rightarrow (Q \,\text{says}\, F)$}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1453
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1454
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1455
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1456
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1457
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1458
  \mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1459
  \begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1460
  \frametitle{Trusted Third Party}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1461
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1462
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1463
  \bl{\begin{tabular}{l}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1464
  $A$ sends $S$ : $\textit{Connect}(A,B)$\\  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1465
  \bl{$S \,\text{says}\, (\textit{Connect}(A,B) \Rightarrow$}\\ 
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1466
  \hspace{2.5cm}\bl{$\{K_{AB}\}_{K_{AS}} \wedge 
62
Christian Urban <urbanc@in.tum.de>
parents: 61
diff changeset
  1467
  \{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}})$}\\
61
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1468
 $S$ sends $A$ : $\{K_{AB}\}_{K_{AS}}$ \bl{$\wedge$} $\{\{K_{AB}\}_{K_{BS}}\}_{K_{AS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1469
  $A$ sends $B$ : $\{K_{AB}\}_{K_{BS}}$\\
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1470
  $A$ sends $B$ : $\{m\}_{K_{AB}}$
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1471
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1472
  \end{center}\bigskip\pause
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1473
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1474
  
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1475
  \bl{$\Gamma \vdash B \,\text{says} \, m$}?
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1476
  \end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
  1477
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      
59
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1478
\end{document}
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1479
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1480
%%% Local Variables:  
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1481
%%% mode: latex
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1482
%%% TeX-master: t
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1483
%%% End: 
8b44bd114292 added slides
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
  1484