arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.01841cs.PL
收藏

范畴代数中的游戏语义基础

Grounding Game Semantics in Categorical Algebra

Jérémie Koenig

摘要:

我提出了一个正式的代数效果和游戏语义,两个重要的工作线在程序设计语言语义与组合软件验证中的应用程序之间的连接。具体地说,代数签名枚举计算的可能的副作用可以被理解为一个游戏,这个游戏的策略构成了完全偏序(cpos)类别中签名的自由代数。因此,策略提供了一个方便的计算模型,但副作用无法解释。特别是,博弈语义的操作风格延续到代数语境中,表现为cpo内函子的初始代数和终结余代数之间的重合。相反,代数的观点揭示了新的光的战略结构的游戏语义。策略模型可以重新表述为部分策略树的理想完成(代数上的自由dcpos)。将框架扩展到多排序签名将使这种构造可用于一大类游戏。

英文摘要:

I present a formal connection between algebraic effects and game semantics, two important lines of work in programming languages semantics with applications in compositional software verification. Specifically, the algebraic signature enumerating the possible side-effects of a computation can be read as a game, and strategies for this game constitute the free algebra for the signature in a category of complete partial orders (cpos). Hence, strategies provide a convenient model of computations with uninterpreted side-effects. In particular, the operational flavor of game semantics carries over to the algebraic context, in the form of the coincidence between the initial algebras and the terminal coalgebras of cpo endofunctors. Conversely, the algebraic point of view sheds new light on the strategy constructions underlying game semantics. Strategy models can be reformulated as ideal completions of partial strategy trees (free dcpos on the term algebra). Extending the framework to multi-sorted signatures would make this construction available for a large class of games.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑