# Publication details

##
Relating System F and λ2: A Case Study in Coq, Abella and Beluga

Jonas Kaiser, Brigitte Pientka, Gert Smolka

Proceedings of FSCD 2017, September 2017

We give three formalisations of a proof of the equivalence of the usual, two-sorted presentation of System F and its single-sorted pure type system (PTS) variant λ2. This is established by reducing the typability problem of F to λ2 and vice versa. A key challenge is the treatment of variable binding and contextual information. The formalisations all share the same high level proof structure using relations to connect the type systems. They do, however, differ significantly in their representation and manipulation of variables and contextual information. In Coq, we use pure de Bruijn indices and parallel substitutions. In Abella, we use higher-order abstract syntax (HOAS) and nominal constants of the ambient reasoning logic. In Beluga, we also use HOAS but within contextual modal type theory. Our contribution is twofold. First, we present and compare a collection of machine-checked solutions to a non-trivial theoretical result. Second, we propose our proof as a benchmark, complementing the POPLmark and ORBI challenges by testing how well a given proof assistant or framework handles complex contextual information involving multiple type systems.

*Further Material (e.g. Formalisations and other related material)*

Download PDF
Show BibTeX

@INPROCEEDINGS{KaiserEtAl:2017:SysF-CaseStudy-CAB,
title = {Relating System F and λ2: A Case Study in Coq, Abella and Beluga},
author = {Jonas Kaiser and Brigitte Pientka and Gert Smolka},
year = {2017},
month = {Sep},
booktitle = {Proceedings of FSCD 2017},
series = {LIPIcs},
}

Login to edit

Webmaster,
Wed Sep 16 10:47:00 2009