curry-howard

Slides of a (very) informal lecture of mine on the Curry-Howard correspondence

preamble.tex (2024B)

 1 \ifdefined\hidepauses
 2   \documentclass[handout, notheorems, 9pt]{beamer}
 3 \else
 4   \documentclass[notheorems, 9pt]{beamer}
 5 \fi
 6 \usepackage{amsmath, amssymb, amsthm, stmaryrd, gensymb}
 7 \usepackage{mathtools, adjustbox}
 8 \usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
 9 \usepackage{fancyvrb, hyperref, csquotes}
10 \usepackage[backend=biber]{biblatex}
11 \usepackage{pgfplots, tikz, tikz-cd}
12 \usepackage{graphicx, wrapfig}
13 \usepackage[normalem]{ulem}
14 \usepackage{minted}
15 \usepackage{fontspec}
16 
17 % Set the color scheme used by minted
18 \usemintedstyle{manni}
19 
20 % Configure graphics
21 \usetikzlibrary{calc, shadows.blur, shapes.geometric, patterns, arrows}
22 \pgfplotsset{compat=1.16}
23 
24 % Get propper inequality symbols
25 \renewcommand{\leq}{\leqslant}
26 \renewcommand{\le}{\leqslant}
27 \renewcommand{\geq}{\geqslant}
28 \renewcommand{\ge}{\geqslant}
29 \renewcommand{\preceq}{\preccurlyeq}
30 \renewcommand{\succeq}{\succcurlyeq}
31 
32 % Display long arrows instead of short ones
33 \renewcommand{\to}{\longrightarrow}
34 \renewcommand{\mapsto}{\longmapsto}
35 
36 % Blockquotes
37 \let\blockquote\relax
38 \NewDocumentEnvironment{blockquote}{m O{Citação}}
39   {\begin{block}{#2}}
40   {\newline {\normalfont \rightline{--- #1}}\end{block}}
41 
42 % Useful theorem definitions
43 \newtheorem*{theorem}{Teorema}
44 \newtheorem*{lemma}{Lema}
45 \newtheorem*{corollary}{Corolário}
46 \newtheorem*{proposition}{Proposição}
47 \theoremstyle{definition}
48 \newtheorem*{definition}{Definição}
49 \newtheorem*{example}{Exemplo}
50 \theoremstyle{remark}
51 \let\note\relax
52 \newtheorem*{fact}{Fato}
53 \newtheorem*{note}{Nota}
54 
55 % Beamer settings
56 \usetheme[progressbar=frametitle]{metropolis}
57 \setbeamertemplate{itemize items}{\textbullet}
58 \setmonofont{DejaVu Sans Mono}
59 
60 % Configure how items look
61 \setenumerate[0]{label={\normalfont\arabic*.}}
62 \setitemize{label=\usebeamerfont*{itemize item}%
63   \usebeamercolor[fg]{itemize item}
64   \usebeamertemplate{itemize item}}
65 
66 % Configure the spacing of columns in tables
67 \setlength{\tabcolsep}{5pt}
68 
69 % Include references that aren't cited anywhere
70 \nocite{*}
71