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

文章基本信息

  • 标题:Martin Hofmann's Case for Non-Strictly Positive Data Types
  • 本地全文:下载
  • 作者:Ulrich Berger ; Ralph Matthes ; Anton Setzer
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:130
  • 页码:1-22
  • DOI:10.4230/LIPIcs.TYPES.2018.1
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We describe the breadth-first traversal algorithm by Martin Hofmann that uses a non-strictly positive data type and carry out a simple verification in an extensional setting. Termination is shown by implementing the algorithm in the strongly normalising extension of system F by Mendler-style recursion. We then analyze the same algorithm by alternative verifications first in an intensional setting using a non-strictly positive inductive definition (not just a non-strictly positive data type), and subsequently by two different algebraic reductions. The verification approaches are compared in terms of notions of simulation and should elucidate the somewhat mysterious algorithm and thus make a case for other uses of non-strictly positive data types. Except for the termination proof, which cannot be formalised in Coq, all proofs were formalised in Coq and some of the algorithms were implemented in Agda and Haskell.
  • 关键词:non strictly-positive data types; breadth-first traversal; program verification; Mendler-style recursion; System F; theorem proving; Coq; Agda; Haske
国家哲学社会科学文献中心版权所有