一句话:首次为依赖类型语言形式化定义去函数化翻译,并证明其可靠性与类型保持。
论文关注高阶函数在依赖类型语言中的编译变换问题:现有去函数化虽广泛用于编译器,却未被形式化研究。作者为依赖类型语言设计并形式化规定了首个去函数化翻译,将高阶函数消除为具体的数据类型与函数应用,并建立关键元理论性质,包括翻译的可靠性与类型保持。该翻译适合纳入依赖类型语言的类型保持编译器,为后续实现与验证提供基础。
The defunctionalization translation that eliminates higher-order functions from programs forms a key part of many compilers. However, defunctionalization for dependently-typed languages has not been formally studied. We present the first formally-specified defunctionalization translation for a dependently-typed language and establish key metatheoretical properties such as soundness and type preservation. The translation is suitable for incorporation into type-preserving compilers for dependently-typed languages