Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phdNotes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
koizel
phdNotes
Commits
337789b6
Commit
337789b6
authored
1 year ago
by
Gabriel Hondet
Browse files
Options
Downloads
Patches
Plain Diff
continued
parent
4ff2db1c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
itp-lesson/main.tex
+34
-6
34 additions, 6 deletions
itp-lesson/main.tex
with
34 additions
and
6 deletions
itp-lesson/main.tex
+
34
−
6
View file @
337789b6
...
...
@@ -3,7 +3,8 @@
\usepackage
{
tikz
}
\usetikzlibrary
{
positioning,graphdrawing, arrows, chains, shapes, quotes,
fit, calc, decorations.pathmorphing, decorations.shapes, matrix
}
fit, calc, decorations.pathmorphing, decorations.shapes, matrix,
overlay-beamer-styles
}
\usepackage
{
tcolorbox
}
\tcbuselibrary
{
theorems
}
...
...
@@ -115,6 +116,12 @@ fit, calc, decorations.pathmorphing, decorations.shapes, matrix}
\end{frame}
\begin{frame}
{
What we'll learn
}
\begin{itemize}
\item
Identify a formal proof
\item
Produce a formal proof out of an informal statement
\item
Compare formal proofs
\item
Relate proofs and programs
\end{itemize}
% TODO alignement pedagogique &c.
\end{frame}
...
...
@@ -424,7 +431,8 @@ fit, calc, decorations.pathmorphing, decorations.shapes, matrix}
\begin{frame}
{
Intuitionistic natural deduction
}
% Sequent calculus: easy to progress, apply rules quasi blindly
\begin{block}
{
Sequent calculus
}
% Sequent calculus: only introduction rules, no elimination rule
\begin{block}
{
Classical sequent calculus
}
\[
\begin
{
array
}{
cc
}
\begin
{
prooftree
}
...
...
@@ -441,7 +449,7 @@ fit, calc, decorations.pathmorphing, decorations.shapes, matrix}
\]
\end{block}
\begin{block}
{
N
atural deduction
}
\begin{block}
{
Intuitionistic n
atural deduction
}
\[
\begin
{
prooftree
}
\hypo
{
\Gamma
\vdash
A
\lor
B
}
...
...
@@ -452,7 +460,7 @@ fit, calc, decorations.pathmorphing, decorations.shapes, matrix}
\]
\end{block}
\begin{itemize}
\item
Destructuring
on the
\alert
{
right
}
of
\(
\vdash
\)
\item
Introductions
on the
\alert
{
right
}
of
\(
\vdash
\)
\item
At most one formula on the right of
\(
\vdash
\)
\end{itemize}
% First item doesn't change the expressiveness or provability
...
...
@@ -509,8 +517,28 @@ fit, calc, decorations.pathmorphing, decorations.shapes, matrix}
% But: with natural deduction, we may use contexts only for the axiom rule
\end{frame}
\begin{frame}
{
Writing proofs: named hypotheses
}
% Name hypotheses
\begin{frame}
{
Writing proofs: contexts
}
% In natural deduction, contexts are only used for the axiom rule
% Named hypotheses in global context
\(
\alpha
: P,
\beta
: Q
\)
\hspace
{
6em
}
\onslide
<2->
{\(
\text
{
and
-
i
}
(
\alpha
,
\beta
)
\)}
\vfill
\onslide
<3->
How to extend context?
% What do we need? a notation that introduces an hypothesis, with a notion of
% scope: the hypothesis may be used only in the proof pi below
\vfill
\onslide
<4->
\begin{tikzpicture}
\node
(A)
{
%
\begin{prooftree}
\hypo
{
\pi
}
\infer
1
{
A, B
\vdash
C
}
\infer
1[imp-i]
{
A
\vdash
B
\imp
C
}
\end{prooftree}
}
;
\node
[right = 2cm of A, visible on=<5->] (B)
{
{
\tabst
{
\beta
}
[B]
\pi
}
}
;
\end{tikzpicture}
\end{frame}
\section
{
Formalising proof systems
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment