Dependently-Typed Programming with Logical Equality Reflection
Dependently-Typed Programming with Logical Equality Reflection
复制标题
具有逻辑相等反射的依赖类型编程
DOI:
10.1145/3607852
复制
发表时间:
2023
影响因子:
--
通讯作者:
Weirich, Stephanie
中科院分区:
文献类型:
--
作者:
Liu, Yiyun;Weirich, Stephanie
In dependently-typed functional programming languages that allow general recursion, programs used as proofs must be evaluated to retain type soundness. As a result, programmers must make a trade-off between performance and safety. To address this problem, we propose System DE, an explicitly-typed, moded core calculus that supports termination tracking and equality reflection. Programmers can write inductive proofs about potentially diverging programs in a logical sublanguage and reflect those proofs to the type checker, while knowing that such proofs will be erased by the compiler before execution. A key feature of System DE is its use of modes for both termination and relevance tracking, which not only simplifies the design but also leaves it open for future extension. System DE is suitable for use in the Glasgow Haskell Compiler, but could serve as the basis for any general purpose dependently-typed language.
登录
查看更多内容
DOI:
--
发表时间:
2013
期刊:
影响因子:
--
作者:
Adam Gundry
通讯作者:
Adam Gundry
DOI:
10.1007/3-540-52335-9_54
发表时间:
1988
期刊:
Log. Methods Comput. Sci.
影响因子:
--
作者:
P. Martin
通讯作者:
P. Martin
DOI:
10.4230/lipics.rta.2011.9
发表时间:
2011
期刊:
J. Log. Comput.
影响因子:
--
作者:
Stephanie Weirich
通讯作者:
Stephanie Weirich
DOI:
--
发表时间:
1986
期刊:
影响因子:
--
作者:
L. Cardelli
通讯作者:
L. Cardelli
DOI:
10.1109/lics.2001.932499
发表时间:
2001
期刊:
Proceedings 16th Annual IEEE Symposium on Logic in Computer Science
影响因子:
--
作者:
F. Pfenning
通讯作者:
F. Pfenning