MiniAgda: Integrating Sized and Dependent Types
MiniAgda: Integrating Sized and Dependent Types
复制标题
DOI:
10.4204/eptcs.43.2
复制
发表时间:
2010-01-01
影响因子:
--
通讯作者:
Abel, Andreas
中科院分区:
文献类型:
--
作者:
Abel, Andreas
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.