当类型相交且效果被处理
When Types Intersect and Effects Get Handled
AI总结:
本文为带代数效果和处理器的λ-演算引入了一种新的交集类型系统,该系统具有行为性质,满足主题归约和扩展,能刻画终止项并可将可达性问题归约到类型推断,同时诱导出一个简单类型系统,其类型可靠且HOMC问题可判定。
摘要:
我们为带有代数效果和处理器的$λ$-演算引入了一种新的交集类型系统。该系统本质上是行为性的,具有交集类型系统的经典性质,特别是主题归约和扩展。因此,它刻画了其求值过程终止的项集合,同时允许将可达性问题归约到类型推断。这个新系统是首个针对带处理器的演算具有这些特征的系统,它诱导出一个简单类型系统,虽然不能保证终止,但类型可靠,并且允许可判定的HOMC问题,这与类似类型系统如Dal Lago和Ghyselen的HEPCF不同。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。