arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.2094cs.PL
收藏

一级移位和复位的类型定向部分求值

Type Directed Partial Evaluation for Level-1 Shift and Reset

Danko Ilik

摘要:

我们提出了一个实现的Coq证明助手的类型定向部分评估(TDPE)算法的调用的名称和调用的值版本的移位和复位分隔控制运算符,并在存在强和类型。我们证明了该算法转换的良好类型的程序的范式。这些范式并不总是能用已知的方程理论得到。类型系统不允许对函数类型进行应答类型修改,并且允许在最多一个原子类型上设置分隔符。评价的语义域在构造性类型论中被表示为一个依赖类型的一元结构,它结合了Kripke模型和延续传递风格翻译。

英文摘要:

We present an implementation in the Coq proof assistant of type directed partial evaluation (TDPE) algorithms for call-by-name and call-by-value versions of shift and reset delimited control operators, and in presence of strong sum types. We prove that the algorithm transforms well-typed programs to ones in normal form. These normal forms can not always be arrived at using the so far known equational theories. The typing system does not allow answer-type modification for function types and allows delimiters to be set on at most one atomic type. The semantic domain for evaluation is expressed in Constructive Type Theory as a dependently typed monadic structure combining Kripke models and continuation passing style translations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑