Combining de Bruijn indices and higher-order abstract syntax in Coq

被引:0
|
作者
Capretta, Venanzio [1 ]
Felty, Amy P. [1 ]
机构
[1] Univ Ottawa, Sch Informat Technol & Engn, Dept Math & Stat, Ottawa, ON K1N 6N5, Canada
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The use of higher-order abstract syntax is an important approach for the representation of binding constructs in encodings of languages and logics in a logical framework. Formal meta-reasoning about such object languages is a particular challenge. We present a mechanism for such reasoning, formalized in Coq, inspired by the Hybrid tool in Isabelle. At the base level, we define a de Bruijn representation of terms with basic operations and a reasoning framework. At a higher level, we can represent languages and reason about them using higher-order syntax. We take advantage of Coq's constructive logic by formulating many definitions as Coq programs. We illustrate the method on two examples: the untyped lambda calculus and quantified propositional logic. For each language, we can define recursion and induction principles that work directly on the higher-order syntax.
引用
收藏
页码:63 / +
页数:3
相关论文
共 50 条
  • [1] Hybrid: Reasoning with Higher-Order Abstract Syntax in Coq and Isabelle
    Felty, Amy P.
    [J]. MSFP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON MATHEMATICALLY STRUCTURED FUNCTIONAL PROGRAMMING, 2010, : 1 - 1
  • [2] A de Bruijn notation for higher-order rewriting (Extended abstract)
    Bonelli, E
    Kesner, D
    Ríos, A
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2000, 1833 : 62 - 79
  • [3] HIGHER-ORDER ABSTRACT SYNTAX
    PFENNING, F
    ELLIOTT, C
    [J]. SIGPLAN NOTICES, 1988, 23 (07): : 199 - 208
  • [4] Focusing and higher-order abstract syntax
    Zeilberger, Noam
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (01) : 359 - 369
  • [5] Focusing and Higher-Order Abstract Syntax
    Zeilberger, Noam
    [J]. POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 359 - 369
  • [6] Initial Semantics for higher-order typed syntax in Coq
    Ahrens, Benedikt
    Zsido, Julianna
    [J]. JOURNAL OF FORMALIZED REASONING, 2011, 4 (01): : 25 - 69
  • [7] Primitive recursion for higher-order abstract syntax
    Schürmann, C
    Despeyroux, J
    Pfenning, F
    [J]. THEORETICAL COMPUTER SCIENCE, 2001, 266 (1-2) : 1 - 57
  • [8] Higher-Order Abstract Syntax in Isabelle/HOL
    Howe, Douglas J.
    [J]. INTERACTIVE THEOREM PROVING, PROCEEDINGS, 2010, 6172 : 481 - 484
  • [9] Primitive recursion for higher-order abstract syntax
    Despeyroux, J
    Pfenning, F
    Schurmann, C
    [J]. TYPED LAMBDA CALCULI AND APPLICATIONS, 1997, 1210 : 147 - 163
  • [10] A logic for reasoning with higher-order abstract syntax
    McDowell, R
    Miller, D
    [J]. 12TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1997, : 434 - 445