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
来源
TYPES FOR PROOFS AND PROGRAMS | 2007年 / 4502卷
关键词
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
相关论文
共 27 条
  • [1] Ambler S. J., 2002, Theorem Proving in Higher Order Logics. 15th International Conference, TPHOLs 2002. Proceedings (Lecture Notes in Computer Science Vol.2410), P13
  • [2] AYDEMIR BE, 2000, LNCS, P50
  • [3] Bertot Yves, 2004, TEXT THEORET COMP S, DOI 10.1007/978-3-662-07964-5
  • [4] *COQ DEV TEAM LOGI, 2005, COQ PROOF ASSIST REF
  • [5] THE CALCULUS OF CONSTRUCTIONS
    COQUAND, T
    HUET, G
    [J]. INFORMATION AND COMPUTATION, 1988, 76 (2-3) : 95 - 120
  • [6] De Bruijn N. G., 1972, INDAG MATH, V34, P381, DOI DOI 10.1016/1385-7258(72)90034-0
  • [7] DESPEYROUX J, 1995, LECT NOTES COMPUTER, V902, P124
  • [8] Felty A. P., 2002, Theorem Proving in Higher Order Logics. 15th International Conference, TPHOLs 2002. Proceedings (Lecture Notes in Computer Science Vol.2410), P198
  • [9] A new approach to abstract syntax with variable binding
    Gabbay, Murdoch J.
    Pitts, Andrew M.
    [J]. Formal Aspects of Computing, 2002, 13 (3-5) : 341 - 363
  • [10] GORDON AD, 2001, LNCS LNAI, V1996, P173