paperbot · PL 论文追踪

RSS

A graded dependent type system with a usage-aware semantics

POPL 5(POPL)2021
Pritam Choudhury, Harley Eades III, Richard A. Eisenberg, Stephanie Weirich

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Graded Type Theory provides a mechanism to track and reason about resource usage in type systems. In this paper, we develop GraD, a novel version of such a graded dependent type system that includes functions, tensor products, additive sums, and a unit type. Since standard operational semantics is resource-agnostic, we develop a heap-based operational semantics and prove a soundness theorem that shows correct accounting of resource usage. Several useful properties, including the standard type soundness theorem, non-interference of irrelevant resources in computation and single pointer property for linear resources, can be derived from this theorem. We hope that our work will provide a base for integrating linearity, irrelevance and dependent types in practical programming languages like Haskell.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot1149,
  title = {A graded dependent type system with a usage-aware semantics},
  author = {Pritam Choudhury and Harley Eades III and Richard A. Eisenberg and Stephanie Weirich},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {POPL},
  year = {2021},
  doi = {10.1145/3434331}
}