As shown by Tsukada and Ong, normal (extensional) simply-typed resource terms correspond to plays in Hyland-Ong games, quotiented by Melli\`es' homotopy equivalence. Though inspiring, their proof is indirect, relying on the injectivity of the relational model w.r.t. both sides of the correspondence - in particular, the dynamics of the resource calculus is taken into account only via the compatibility of the relational model with the composition of normal terms defined by normalization. In the present paper, we revisit and extend these results. Our first contribution is to restate the correspondence by considering causal structures we call augmentations, which are canonical representatives of Hyland-Ong plays up to homotopy. This allows us to give a direct and explicit account of the connection with normal resource terms. As a second contribution, we extend this account to the reduction of resource terms: building on a notion of strategies as weighted sums of augmentations, we provide a denotational model of the resource calculus, invariant under reduction. A key step - and our third contribution - is a categorical model we call a resource category, which is to the resource calculus what differential categories are to the differential {\lambda}-calculus.
翻译:如Tsukada 和 Ong 所示, 普通( 扩展) 简单( 扩展) 的资源条件与 Hyland- Ong 游戏中的游戏相同, 我们的第一个贡献是重述函文, 考虑因果结构, 我们称之为增量, 它们是Hyland- Ong 的明性代表, 与同质。 这让我们能够直接和明确地说明与正常资源条件的关系。 作为第二笔贡献, 我们将这一计算扩大到减少资源条件的削减: 以增量加权数战略的概念为基础, 我们提供了一种资源增量加权数的示意模式, 正在减少。 关键步骤 - 以及我们的第三笔贡献, 我们称之为资源差异, 我们称之为“ 变量” 。