mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
139 lines
4.5 KiB
TeX
139 lines
4.5 KiB
TeX
\documentclass[a4paper,11pt,numbers=noenddot]{scrbook}
|
|
|
|
\usepackage[top=2cm,lmargin=1in,rmargin=1in,bottom=3cm,hmarginratio=1:1]{geometry}
|
|
% \usepackage[utf8]{inputenc}
|
|
\usepackage[ngerman,english]{babel}
|
|
\babeltags{german=ngerman}
|
|
\usepackage{amssymb}
|
|
\usepackage{amsthm}
|
|
\usepackage{thmtools}
|
|
\usepackage{fancyvrb}
|
|
\usepackage{mathtools}
|
|
\usepackage{amsmath}
|
|
\usepackage{ifthen}
|
|
\usepackage{xspace}
|
|
\usepackage{hyperref}
|
|
\usepackage{makeidx}
|
|
\usepackage{graphicx}
|
|
\usepackage{fvextra}
|
|
\usepackage[style=ieee, sorting=ynt]{biblatex} %advanced citations
|
|
\usepackage[english=british]{csquotes} %biblatex recommended to load this
|
|
\usepackage{minted}
|
|
\setminted[agda]{
|
|
linenos=true,
|
|
breaklines=true,
|
|
encoding=utf8,
|
|
fontsize=\small,
|
|
frame=lines
|
|
}
|
|
\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}
|
|
|
|
\usepackage{multicol}
|
|
\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}}
|
|
|
|
%\newcommand\C{\mathcal{C}}
|
|
|
|
\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}
|
|
|
|
\title{Implementing Notions of Partiality and Delay in Agda}
|
|
|
|
\author{Leon Vatthauer}
|
|
|
|
\makeatletter
|
|
\hypersetup{
|
|
pdfauthor={\@author},
|
|
pdftitle={\@title},
|
|
% kill those ugly red rectangles around links
|
|
hidelinks,
|
|
}
|
|
\newcommand*{\theauthor}{\@author}
|
|
\makeatother
|
|
|
|
\usepackage{noto-mono}
|
|
%\usepackage{fontspec}
|
|
%\setmonofont{Noto Sans Mono}
|
|
|
|
|
|
\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
|
|
|
|
|
|
% \include{src/examples}
|
|
\include{src/00_introduction}
|
|
|
|
%% IDEA: swap chapter 01 and 02, first introduce category theory in agda and then subsequently explain every notion in preliminaries with agda code.
|
|
%% This is a major design decision..., there are two alternatives:
|
|
%%% - introduce notions in latex and later give agda code (maybe in appendix)
|
|
%%% - introduce notions in agda directly (maybe unreadable, maybe duplication with appendix)
|
|
\include{src/01_preliminaries}
|
|
%\include{src/03_iteration}
|
|
%\include{src/04_partiality-monads}
|
|
\chapter{Modelling partiality}
|
|
% \include{src/05_monadK}
|
|
\chapter{Case Study: The Quotiented Delay Monad}
|
|
\include{src/10_conclusion}
|
|
|
|
\appendix
|
|
\include{src/A1_contributions}
|
|
|
|
\medskip
|
|
|
|
\printbibliography[heading=bibintoc]{}
|
|
\end{document}
|
|
|
|
% vim: tw=80 nospell spelllang=en nocul
|