bsc-leon-vatthauer/thesis/main.tex

154 lines
5 KiB
TeX
Raw Normal View History

2023-12-05 11:34:05 +01:00
\documentclass[a4paper,11pt,numbers=noenddot]{scrbook}
\usepackage[top=2cm,lmargin=1in,rmargin=1in,bottom=3cm,hmarginratio=1:1]{geometry}
2024-01-08 18:04:14 +01:00
% \usepackage[utf8]{inputenc}
2024-02-04 20:38:41 +01:00
\usepackage[ngerman, english]{babel}
2023-12-05 11:34:05 +01:00
\babeltags{german=ngerman}
2024-02-04 20:38:41 +01:00
\usepackage{minted}
\setminted[agda]{
linenos=true,
breaklines=true,
encoding=utf8,
fontsize=\small,
frame=lines
}
2023-12-05 11:34:05 +01:00
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{fancyvrb}
\usepackage{mathtools}
\usepackage{amsmath}
2024-02-09 13:27:14 +01:00
\usepackage{mathpartir}
% mathpartir uses \atop, amsmath overrides it to throw a warning tho, so we override it back to the original!
\makeatletter
\let\atop\@@atop
\makeatother
2024-02-04 20:38:41 +01:00
\usepackage{tikz}
\usetikzlibrary{cd, babel, quotes}
\usepackage{quiver}
2023-12-05 11:34:05 +01:00
\usepackage{ifthen}
\usepackage{xspace}
\usepackage{hyperref}
\usepackage{makeidx}
\usepackage{graphicx}
2024-01-08 18:04:14 +01:00
\usepackage{fvextra}
2023-12-05 11:34:05 +01:00
\usepackage[style=ieee, sorting=ynt]{biblatex} %advanced citations
\usepackage[english=british]{csquotes} %biblatex recommended to load this
2024-01-08 18:04:14 +01:00
\usepackage{etoolbox,xpatch}
\makeatletter
\AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
\xpatchcmd{\mintinline}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{} % see https://tex.stackexchange.com/a/401250/
\makeatother
\usepackage{scrhack}
2023-12-16 18:08:57 +01:00
\usepackage{multicol}
2023-12-05 11:34:05 +01:00
\addbibresource{bib.bib}
%\usepackage[right]{showlabels}
%\usepackage[justific=raggedright,totoc]{idxlayout}
\usepackage[type=CC, modifier=by-sa,version=4.0]{doclicense}
\addto\extrasenglish{%
\renewcommand{\chapterautorefname}{Section}
\renewcommand{\sectionautorefname}{Section}
\renewcommand{\subsectionautorefname}{Subsection}
}
\newcommand\chap[1]{%
\chapter*{#1}%
\chaptermark{#1}%
\addcontentsline{toc}{chapter}{#1}}
2024-01-11 13:44:49 +01:00
%\newcommand\C{\mathcal{C}}
2023-12-15 19:08:05 +01:00
2023-12-05 11:34:05 +01:00
\declaretheorem[name=Definition,style=definition,numberwithin=chapter]{definition}
\declaretheorem[name=Example,style=definition,sibling=definition]{example}
\declaretheorem[style=definition,numbered=no]{exercise}
\declaretheorem[name=Remark,style=definition,sibling=definition]{remark}
\declaretheorem[name=Assumption,style=definition,sibling=definition]{assumption}
\declaretheorem[name=Observation,style=definition,sibling=definition]{observation}
\declaretheorem[name=Theorem,sibling=definition]{theorem}
\declaretheorem[sibling=definition]{corollary}
\declaretheorem[name=Fact,sibling=definition]{fact}
\declaretheorem[sibling=definition]{lemma}
\declaretheorem[sibling=lemma]{proposition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Spacing settings %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}
\setlength{\marginparsep}{0cm}
2024-02-09 13:27:14 +01:00
\title{Implementing Categorical Notions of Partiality and Delay in Agda}
2023-12-05 11:34:05 +01:00
\author{Leon Vatthauer}
\makeatletter
\hypersetup{
pdfauthor={\@author},
pdftitle={\@title},
% kill those ugly red rectangles around links
hidelinks,
}
\newcommand*{\theauthor}{\@author}
\makeatother
2024-02-05 14:04:41 +01:00
2024-01-11 13:44:49 +01:00
\usepackage{noto-mono}
2024-02-11 13:01:07 +01:00
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\usepackage{xargs}
\usepackage[dvipsnames]{xcolor} % Coloured text etc.
2024-01-11 13:44:49 +01:00
%\usepackage{fontspec}
%\setmonofont{Noto Sans Mono}
2024-01-08 18:04:14 +01:00
2024-02-05 14:04:41 +01:00
\newcommand{\obj}[1]{\ensuremath{\vert \mathcal{#1} \vert}}
2023-12-05 11:34:05 +01:00
\begin{document}
\pagestyle{plain}
\input{src/titlepage}%
\chapter*{Disclaimer}
\begin{german}
Ich versichere, dass ich die Arbeit ohne fremde Hilfe und ohne Benutzung anderer als der angegebenen Quellen angefertigt habe und dass die Arbeit in gleicher oder ähnlicher Form noch keiner anderen Prüfungsbehörde vorgelegen hat und von dieser als Teil einer Prüfungsleistung angenommen wurde.
Alle Ausführungen, die wörtlich oder sinngemäß übernommen wurden, sind als solche gekennzeichnet.
\vspace{5em}
Erlangen, \today{} \rule{7cm}{1pt}\\
\phantom{Erlangen, \today{}} \theauthor{}
\end{german}
\chapter*{Licensing}
\doclicenseThis{}
\tableofcontents
2024-01-08 18:04:14 +01:00
2024-02-11 13:01:07 +01:00
\listoftodos
\newcommandx{\unsure}[2][1=]{\todo[inline,linecolor=red,backgroundcolor=red!25,bordercolor=red,#1]{#2}}
\newcommandx{\change}[2][1=]{\todo[linecolor=blue,backgroundcolor=blue!25,bordercolor=blue,#1]{#2}}
\newcommandx{\info}[2][1=]{\todo[inline,linecolor=OliveGreen,backgroundcolor=OliveGreen!25,bordercolor=OliveGreen,#1]{#2}}
\newcommandx{\improvement}[2][1=]{\todo[inline,linecolor=Plum,backgroundcolor=Plum!25,bordercolor=Plum,#1]{#2}}
2024-01-08 18:04:14 +01:00
2023-12-05 11:34:05 +01:00
% \include{src/examples}
\include{src/00_introduction}
\include{src/01_preliminaries}
2024-02-04 20:38:41 +01:00
\include{src/02_agda-categories}
\include{src/03_partiality-monads}
\include{src/04_iteration}
\include{src/05_setoids}
2023-12-05 11:34:05 +01:00
\include{src/10_conclusion}
\appendix
2024-02-04 20:38:41 +01:00
% \include{src/A1_contributions}
2023-12-05 11:34:05 +01:00
\medskip
\printbibliography[heading=bibintoc]{}
\end{document}
% vim: tw=80 nospell spelllang=en nocul