arXiv:1412.2219 · 中英对照阅读
资源控制与交类型:一种内在联系
Resource control and intersection types: an intrinsic connection
中文速览
普通 λ 演算里,变量可以被悄悄丢掉或重复使用,计算时这些资源变化不容易看清;这项研究希望把它们明确记录下来。作者为此加入“删除”和“复制”操作,并把替换拆成更细的步骤,再设计交叉类型系统,让普通变量、待复制变量和被删除变量各有对应的类型。研究证明,一个表达式能够用这套类型系统赋型,当且仅当它无论怎样继续计算都会最终停下来。这个结果不仅给出了判断程序是否必然终止的完整标准,也让资源使用和计算过程更透明。
摘要
In this paper we investigate the $\lambda_{\circledR}$ -calculus, a $\lambda$ -calculus enriched with resource control. Explicit control of resources is enabled by the presence of erasure and duplication operators, which correspond to thinning and contraction rules in the type assignment system. We introduce directly the class of $\lambda_{\circledR}$ -terms and we provide a new treatment of substitution by its decomposition into atomic steps. We propose an intersection type assignment system for $\lambda_{\circledR}$ -calculus which makes a clear correspondence between three roles of variables and three kinds of intersection types. Finally, we provide the characterisation of strong normalisation in $\lambda_{\circledR}$ -calculus by means of an intersection type assignment system. This process uses typeability of normal forms, redex subject expansion and reducibility method.
术语表
- resource control lambda calculus
- 资源控制 λ 演算
- λ®-calculus
- λ® 演算
- resource control operators
- 资源控制算子
- erasure operator
- 擦除算子
- duplication operator
- 复制算子
- thinning rule
- 削弱规则
- contraction rule
- 收缩规则
- resource awareness
- 资源感知
- resource control
- 资源控制
- substitution
- 代换
- atomic steps
- 原子步骤
- intersection types
- 交类型
- intersection type assignment system
- 交类型赋值系统
- λ®∩
- λ®∩
- strict types
- 严格类型
- idempotent intersection
- 幂等交
- non-idempotent intersection types
- 非幂等交类型
- strong normalisation
- 强正规化
- typeability
- 可类型化性
- normal forms
- 正规形
- redex subject expansion
- 可约式主体扩张
- reducibility method
- 可约性方法
- λI-calculus
- λI 演算
- free variables
- 自由变量
- garbage collector
- 垃圾回收器
- memory leaking
- 内存泄漏