一句话:将线性 lambda 项的类型化解释为嵌入三价图上的流,并刻画局部流关系可提升为全局流关系的条件。
本文在 lambda 演算与嵌入图(map)之间已有计数联系的基础上,建立类型化与地图着色的类比。作者沿用 Tutte 的群值“流”概念,将线性 lambda 项的类型化视为在带边界嵌入三价图上构造流,取值于带蕴含与单位、满足复合和单位律的预序集等结构。由此,流理论中的问题可从 lambda 演算与逻辑视角重新审视。文章刻画了局部流关系(跨顶点)何时能范畴式提升为全局流关系(跨边界),证明其成立当且仅当底层地图具有 lambda 项的方向;还发展了流的重写理论,为组合逻辑的经典完备性结果提供拓扑解释,并引入极化流,联系线性逻辑证明网与双向类型检查。
Building on recently established enumerative connections between lambda calculus and the theory of embedded graphs (or "maps"), this paper develops an analogy between typing (of lambda terms) and coloring (of maps). Our starting point is the classical notion of an abelian group-valued "flow" on an abstract graph (Tutte, 1954). Typing a linear lambda term may be naturally seen as constructing a flow (on an embedded 3-valent graph with boundary) valued in a more general algebraic structure consisting of a preordered set equipped with an "implication" operation and unit satisfying composition, identity, and unit laws. Interesting questions and results from the theory of flows (such as the existence of nowhere-zero flows) may then be re-examined from the standpoint of lambda calculus and logic. For example, we give a characterization of when the local flow relations (across vertices) may be categorically lifted to a global flow relation (across the boundary), proving that this holds just in case the underlying map has the orientation of a lambda term. We also develop a basic theory of rewriting of flows that suggests topological meanings for classical completeness results in combinatory logic, and introduce a polarized notion of flow, which draws connections to the theory of proof-nets in linear logic and to bidirectional typing.