一句话:综述交集类型自 20 世纪 70 年代以来的发展及其在语义、验证、综合与语言表达力等方面的应用。
本文是对交集类型(intersection types)的轻量综述。交集类型自 20 世纪 70 年代提出以来,已从一种类型构造发展为具有广泛应用的语义与程序分析工具。文章回顾其基本思想与发展脉络,并概述若干代表性应用:刻画 λ-项与 π-演算进程的行为,构造 λ-模型,验证高阶程序性质,合成代码,以及增强编程语言的表达力。作为一篇导览性文章,它不追求技术细节的完整覆盖,而是勾勒交集类型在类型论、形式语义、程序验证与程序合成等方向的联系与影响,为读者提供进入该领域的路线图。
Intersection types have come a long way since their introduction in the Seventies. They have been exploited for characterising behaviours of λ-terms and π-calculus processes, building λ-models, verifying properties of higher-order programs, synthesising code, and enriching the expressivity of programming languages. This paper is a light overview of intersection types and some of their applications.