158 lines
5.8 KiB
TeX
158 lines
5.8 KiB
TeX
|
|
\documentclass[a4paper,UKenglish,cleveref, autoref, thm-restate]{lipics-v2021}
|
|
%This is a template for producing LIPIcs articles.
|
|
%See lipics-v2021-authors-guidelines.pdf for further information.
|
|
%for A4 paper format use option "a4paper", for US-letter use option "letterpaper"
|
|
%for british hyphenation rules use option "UKenglish", for american hyphenation rules use option "USenglish"
|
|
%for section-numbered lemmas etc., use "numberwithinsect"
|
|
%for enabling cleveref support, use "cleveref"
|
|
%for enabling autoref support, use "autoref"
|
|
%for anonymousing the authors (e.g. for double-blind review), add "anonymous"
|
|
%for enabling thm-restate support, use "thm-restate"
|
|
%for enabling a two-column layout for the author/affilation part (only applicable for > 6 authors), use "authorcolumns"
|
|
%for producing a PDF according the PDF/A standard, add "pdfa"
|
|
|
|
%\pdfoutput=1 %uncomment to ensure pdflatex processing (mandatatory e.g. to submit to arXiv)
|
|
%\hideLIPIcs %uncomment to remove references to LIPIcs series (logo, DOI, ...), e.g. when preparing a pre-final version to be uploaded to arXiv or another public repository
|
|
|
|
%\graphicspath{{./graphics/}}%helpful if your graphic files are in another directory
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage{cite}
|
|
\usepackage[disable]{todonotes} % [disable]
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage{hyperref}
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
\usepackage{subcaption}
|
|
\usepackage{prftree}
|
|
\usepackage{tabularx}
|
|
\usepackage{multicol}
|
|
\usepackage{nicematrix}
|
|
\usepackage{tikz}
|
|
\usepackage{soul}
|
|
\newcommand{\mathcolorbox}[2]{\colorbox{#1}{$\displaystyle #2$}}
|
|
\usepackage{cancel}
|
|
\usepackage{tcolorbox}
|
|
\usepackage{arydshln}
|
|
\usepackage{dashbox}
|
|
|
|
\input{prolog}
|
|
|
|
\bibliographystyle{plainurl}% the mandatory bibstyle
|
|
|
|
\title{Global Type Inference for Featherweight Java with Wildcards} %TODO Please add
|
|
|
|
%\titlerunning{Dummy short title} %TODO optional, please use if title is longer than one line
|
|
|
|
\author{Andreas Stadelmeier}{DHBW Stuttgart, Campus Horb, Germany}{a.stadelmeier@hb.dhbw-stuttgart.de}{}{}%TODO mandatory, please use full name; only 1 author per \author macro; first two parameters are mandatory, other parameters can be empty. Please provide at least the name of the affiliation and the country. The full address is optional. Use additional curly braces to indicate the correct name splitting when the last name consists of multiple name parts.
|
|
|
|
\author{Martin Plümicke}{DHBW Stuttgart, Campus Horb, Germany}{pl@dhbw.de}{}{}
|
|
|
|
\author{Peter Thiemann}{Universität Freiburg, Institut für Informatik, Germany}{thiemann@informatik.uni-freiburg.de}{}{}
|
|
|
|
\authorrunning{A. Stadelmeier and M. Plümicke and P. Thiemann} %TODO mandatory. First: Use abbreviated first/middle names. Second (only in severe cases): Use first author plus 'et al.'
|
|
|
|
\Copyright{Andreas Stadelmeier and Martin Plümicke and Peter Thiemann} %TODO mandatory, please use full first names. LIPIcs license is "CC-BY"; http://creativecommons.org/licenses/by/3.0/
|
|
|
|
\ccsdesc[500]{Software and its engineering~Language features}
|
|
%\ccsdesc[300]{Software and its engineering~Syntax}
|
|
|
|
\keywords{type inference, Java, subtyping, generics} %TODO mandatory; please add comma-separated list of keywords
|
|
|
|
\category{} %optional, e.g. invited paper
|
|
|
|
\relatedversion{} %optional, e.g. full version hosted on arXiv, HAL, or other respository/website
|
|
%\relatedversiondetails[linktext={opt. text shown instead of the URL}, cite=DBLP:books/mk/GrayR93]{Classification (e.g. Full Version, Extended Version, Previous Version}{URL to related version} %linktext and cite are optional
|
|
|
|
%\supplement{}%optional, e.g. related research data, source code, ... hosted on a repository like zenodo, figshare, GitHub, ...
|
|
%\supplementdetails[linktext={opt. text shown instead of the URL}, cite=DBLP:books/mk/GrayR93, subcategory={Description, Subcategory}, swhid={Software Heritage Identifier}]{General Classification (e.g. Software, Dataset, Model, ...)}{URL to related version} %linktext, cite, and subcategory are optional
|
|
|
|
%\funding{(Optional) general funding statement \dots}%optional, to capture a funding statement, which applies to all authors. Please enter author specific funding statements as fifth argument of the \author macro.
|
|
|
|
%\acknowledgements{I want to thank \dots}%optional
|
|
|
|
%\nolinenumbers %uncomment to disable line numbering
|
|
|
|
|
|
|
|
%Editor-only macros:: begin (do not touch as author)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\EventEditors{John Q. Open and Joan R. Access}
|
|
\EventNoEds{2}
|
|
\EventLongTitle{42nd Conference on Very Important Topics (CVIT 2016)}
|
|
\EventShortTitle{CVIT 2016}
|
|
\EventAcronym{CVIT}
|
|
\EventYear{2016}
|
|
\EventDate{December 24--27, 2016}
|
|
\EventLocation{Little Whinging, United Kingdom}
|
|
\EventLogo{}
|
|
\SeriesVolume{42}
|
|
\ArticleNo{23}
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
%TODO mandatory: add short abstract of the document
|
|
\begin{abstract}
|
|
TODO: Abstract
|
|
\end{abstract}
|
|
|
|
\input{introduction}
|
|
|
|
%\input{letfjTransformation}
|
|
|
|
\input{tRules}
|
|
|
|
%\input{tiRules}
|
|
|
|
\input{constraints}
|
|
|
|
\input{Unify}
|
|
|
|
\section{Limitations}
|
|
|
|
This example does not work:
|
|
|
|
\begin{minipage}{0.35\textwidth}
|
|
\begin{verbatim}
|
|
class Example{
|
|
<A> Pair<A,A> make(List<A> l){...}
|
|
<A> bool compare(Pair<A,A> p){...}
|
|
|
|
bool test(List<?> l){
|
|
return compare(make(l));
|
|
}
|
|
}
|
|
\end{verbatim}
|
|
\end{minipage}%
|
|
\hfill
|
|
\begin{minipage}{0.55\textwidth}
|
|
\begin{constraintset}
|
|
\textbf{Constraints:}\\
|
|
$
|
|
\wctype{\wildcard{A}{\type{Object}}{\bot}}{List}{\rwildcard{A}} \lessdot \exptype{List}{\wtv{x}}, \\
|
|
\exptype{Pair}{\wtv{x},\wtv{x}} \lessdot \tv{r}, \\
|
|
\tv{r} \lessdot \exptype{Pair}{\tv{z}, \tv{z}}%,\\
|
|
%\tv{y} \lessdot \tv{m}
|
|
$\\
|
|
\end{constraintset}
|
|
\end{minipage}
|
|
|
|
|
|
\input{conclusion}
|
|
|
|
\include{soundness}
|
|
%\include{termination}
|
|
|
|
\bibliography{martin}
|
|
|
|
\appendix
|
|
%\include{examples}
|
|
%\input{exampleWildcardParameter}
|
|
%\input{commonPatternsProof}
|
|
%\input{appendix}
|
|
\end{document}
|