首页    期刊浏览 2024年11月29日 星期五
登录注册

文章基本信息

  • 标题:Relating System F and Lambda2: A Case Study in Coq, Abella and Beluga
  • 本地全文:下载
  • 作者:Jonas Kaiser ; Brigitte Pientka ; Gert Smolka
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2017
  • 卷号:84
  • 页码:21:1-21:19
  • DOI:10.4230/LIPIcs.FSCD.2017.21
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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 Lambda2. This is established by reducing the typability problem of F to Lambda2 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.
  • 关键词:Pure Type Systems; System F; de Bruijn Syntax; Higher-Order Abstract Syntax; Contextual Reasoning
国家哲学社会科学文献中心版权所有