Sequent Calculi and Abstract Machines

被引:15
作者
Ariola, Zena M. [1 ]
Bohannon, Aaron [2 ]
Sabry, Amr [3 ]
机构
[1] Univ Oregon, Dept Comp & Informat Sci, Eugene, OR 97403 USA
[2] Univ Penn, Philadelphia, PA 19104 USA
[3] Indiana Univ, Bloomington, IN 47405 USA
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 2009年 / 31卷 / 04期
基金
美国国家科学基金会;
关键词
Languages; Theory; Curry-Howard isomorphism; duality; explicit substitutions; Krivine machine; natural deduction; VERIFICATION;
D O I
10.1145/1516507.1516508
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a sequent calculus derived from the (lambda) over bar mu(mu) over tilde -calculus of Curien and Herbelin that is expressive enough to directly represent the fine details of program evaluation using typical abstract machines. Not only does the calculus easily encode the usual components of abstract machines such as environments and stacks, but it can also simulate the transition steps of the abstract machine with just a constant overhead. Technically this is achieved by ensuring that reduction in the calculus always happens at a bounded depth from the root of the term. We illustrate these properties by providing shallow encodings of the Krivine (call-by-name) and the CEK (call-by-value) abstract machines in the calculus.
引用
收藏
页数:48
相关论文
共 34 条
  • [1] ABADI M, 1990, ACM SIGPLAN SIGACT S, P31
  • [2] AGER MS, 2003, RES SERIES BRICS
  • [3] APPEL A, 2001, IEEE S LOG COMPUTER
  • [4] Barthe G, 2001, LECT NOTES COMPUT SC, V2028, P302
  • [5] Confluence properties of weak and strong calculi of explicit substitutions
    Curien, PL
    Hardin, T
    Levy, JJ
    [J]. JOURNAL OF THE ACM, 1996, 43 (02) : 362 - 397
  • [6] The duality of computation
    Curien, PL
    Herbelin, H
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (09) : 233 - 243
  • [7] DANOS V, 1993, P WORKSH LIN LOG
  • [8] A systematic study of functional language implementations
    Douence, R
    Fradet, P
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 20 (02): : 344 - 387
  • [9] A SYNTACTIC THEORY OF SEQUENTIAL CONTROL
    FELLEISEN, M
    FRIEDMAN, DP
    KOHLBECKER, E
    DUBA, B
    [J]. THEORETICAL COMPUTER SCIENCE, 1987, 52 (03) : 205 - 237
  • [10] FELLEISEN M, 1986, 1 S LOG COMP SCI, P131