计算机科学 > 程序设计语言
[提交于 2008年4月10日 (v1),最后修订于 2008年4月10日 (此版本, v2)]
标题:Semi-continuous Sized Types and Termination
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Some type-based approaches to termination use sized types: an ordinal bound for the size of a data structure is stored in its type. A recursive function over a sized type is accepted if it is visible in the type system that recursive calls occur just at a smaller size. This approach is only sound if the type of the recursive function is admissible, i.e., depends on the size index in a certain way. To explore the space of admissible functions in the presence of higher-kinded data types and impredicative polymorphism, a semantics is developed where sized types are interpreted as functions from ordinals into sets of strongly normalizing terms. It is shown that upper semi-continuity of such functions is a sufficient semantic criterion for admissibility. To provide a syntactical criterion, a calculus for semi-continuous functions is developed.
提交历史
来自:Andreas Abel[v2] 2008年4月10日 星期四 15:26:49 UTC