paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Solvability = Typability + Inhabitation

可解性 = 可类型性 + 居留性
LMCS vol.Volume 17, Issue 12021匹配度 1/10 · 该论文属于纯类型论/λ演算理论研究,讨论带模式匹配的可解性与交类型刻画,不涉及 LLM/Agent、ML 系统静态分析、浮点程序分析或贝叶斯程序分析,因此与用户当前研究画像几乎没有直接交集。引用 5 inbox
Antonio Bucciarelli, Delia Kesner, Simona Ronchi Della Rocca
crossref: 2026-09-10

AI 速览

一句话:将可解性推广到带模式匹配的 lambda 演算,并证明其恰由非幂等交类型的可类型性与居留性刻画。

论文研究带模式匹配的 lambda 演算中的可解性(solvability)。作者将其经典定义推广到该演算,并引入基于非幂等交类型的类型系统 P。首先证明 P 恰好刻画具有规范形(canonical form)的项:项可类型当且仅当它能归约到规范形。但可解项集合是规范形集合的真子集,因此与纯 lambda 演算不同,仅靠可类型性不足以刻画可解性。进一步证明,项可解当且仅当它可类型,且其所有参数的类型均居留(inhabited),从而得到“可类型性 + 居留性”的完整刻画。最后给出系统 P 居留性问题的判定算法。

问题
如何在带模式匹配的 lambda 演算中刻画可解性,并处理纯 lambda 演算中“可类型性刻画可解性”的结论不再成立的问题。
方法
定义基于非幂等交类型的类型系统 P,利用可类型性与类型居留性建立可解性的充要条件,并设计居留性判定算法。
评估
通过证明 P 刻画规范形项,进而证明可解性等价于可类型性加参数类型居留性,并给出居留性算法;未涉及实现基准评测。
原文摘要(Abstract)

We extend the classical notion of solvability to a lambda-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 lambda-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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1344,
  title = {Solvability = Typability + Inhabitation},
  author = {Antonio Bucciarelli and Delia Kesner and Simona Ronchi Della Rocca},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 17, Issue 1},
  year = {2021},
  doi = {10.23638/lmcs-17(1:7)2021}
}