计算机科学 > 程序设计语言
[提交于 2010年12月22日]
标题:MiniAgda: Integrating Sized and Dependent Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Sized types are a modular and theoretically well-understood tool for checking termination of recursive and productivity of corecursive definitions. The essential idea is to track structural descent and guardedness in the type system to make termination checking robust and suitable for strong abstractions like higher-order functions and polymorphism. To study the application of sized types to proof assistants and programming languages based on dependent type theory, we have implemented a core language, MiniAgda, with explicit handling of sizes. New considerations were necessary to soundly integrate sized types with dependencies and pattern matching, which was made possible by concepts such as inaccessible patterns and parametric function spaces. This paper provides an introduction to MiniAgda by example and informal explanations of the underlying principles.
提交历史
来自:EPTCS[v1] 2010年12月22日 星期三 07:09:10 UTC