arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07240cs.LO
收藏

关于计算机编程的图示基础

A Diagrammatic Basis for Computer Programming

University of Pisa(比萨大学);Tallinn University of Technology(塔林理工大学);University of Oxford(牛津大学)

Filippo Bonchi, Alessandro Di Giorgio, Elena Di Lavore

AI总结:

本文提出Kleene-Cartesian rig categories,用于表示 imperative 程序及程序逻辑的图示方法。

摘要:

图示提供了处理rig范畴中箭头的便捷图形表示法,即配备了两种单调积的范畴。本文引入了Kleene-Cartesian rig categories,即其中⊗提供了一个笛卡尔双范畴,而⊕提供了一个Kleene双范畴。我们展示了相应的图示能够方便地处理 imperative 程序和各种程序逻辑。

英文摘要:

Tape diagrams provide a convenient graphical notation for arrows of rig categories, i.e., categories equipped with two monoidal products, $\oplus$ and $\otimes$. In this work, we introduce Kleene-Cartesian rig categories, namely rig categories where $\otimes$ provides a Cartesian bicategory, while $\oplus$ a Kleene bicategory. We show that the associated tape diagrams can conveniently deal with imperative programs and various program logic.

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

↑