paperbot · PL 论文追踪

全部论文 待读 收藏

P2 When Types Intersect and Effects Get Handled

当类型相遇、效应被处理
ICFP 10(ICFP)2026匹配度 2/10 · 该论文属于纯 PL 类型论,研究带代数效应与处理器的 λ-演算的交集类型系统与终止/可达性,未涉及 LLM/Agent、机器学习系统静态分析、浮点程序分析或贝叶斯程序分析等画像核心方向;仅在“用类型/形式化方法做程序分析”层面有非常间接的关联。引用 0 inbox
Stefano Catozi, Ugo Dal Lago, Taro Sekiyama
crossref: 2026-09-10

AI 速览

一句话:为带代数效应与处理器的 λ-演算提出首个兼具终止刻画与可达性归约能力的交集类型系统。

本文为带代数效应与处理器的 λ-演算引入一种新的交集类型系统。该系统本质上是行为性的,满足交集类型系统的经典性质,包括主语归约与主语展开。由此,它既能刻画项的求值过程终止,又能将可达性问题归约到类型推断。这是首个为带处理器演算同时具备这些特征的系统。此外,它还诱导出一个简单类型系统:该系统虽不保证终止,但类型可靠,且其 HOMC 问题是可判定的,这与 Dal Lago 和 Ghyselen 的 HEPCF 等相关系统不同。

问题
如何为带代数效应与处理器的 λ-演算设计一种能同时刻画求值终止性并把可达性问题归约到类型推断的类型系统。
方法
引入一种行为性的交集类型系统,证明其满足主语归约与主语展开等经典性质,并由此导出相应的简单类型系统。
评估
通过理论证明建立类型系统性质,说明其可刻画终止性、将可达性归约到类型推断,并证明导出系统的类型可靠性与 HOMC 可判定性。
原文摘要(Abstract)

We introduce a novel intersection type system for a λ-calculus with algebraic effects and handlers. The system, inherently behavioral in nature, enjoys the classical properties of intersection type systems, in particular subject reduction and expansion. It thus characterizes the set of terms whose evaluation process terminates and, at the same time, allows reducing the reachability problem to type inference. This new system, the first with these features for a calculus with handlers, induces a system of simple types which, although not guaranteeing termination, is type sound and admits a decidable HOMC problem, unlike similar type systems like Dal Lago and Ghyselen’s HEPCF.

链接与引用

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

BibTeX
@article{CatoziLS26,
  title = {When Types Intersect and Effects Get Handled},
  author = {Stefano Catozi and Ugo Dal Lago and Taro Sekiyama},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {ICFP},
  year = {2026},
  doi = {10.1145/3828707}
}