SOLVABILITY = TYPABILITY plus INHABITATION

arXiv: Logic in Computer Science(2021)

引用 23|浏览25
暂无评分
摘要
We extend the classical notion of solvability to a A-calculus equipped with pattern matching. We prove that solvability can be characterized by means of typability and inhabitation in an intersection type system P based on non-idempotent types. We show first that the system P characterizes the set of terms having canonical form, i.e. that a term is typable if and only if it reduces to a canonical form. But the set of solvable terms is properly contained in the set of canonical forms. Thus, typability alone is not sufficient to characterize solvability, in contrast to the case for the A-calculus. We then prove that typability, together with inhabitation, provides a full characterization of solvability, in the sense that a term is solvable if and only if it is typable and the types of all its arguments are inhabited. We complete the picture by providing an algorithm for the inhabitation problem of P.
更多
查看译文
关键词
Pattern-calculus,Type-Assignement Systems,Non-idempotent Intersection Types,Solvability,Inhabitation
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要