A Diagrammatic Algebra for Program Logics

Guardado en:
Detalles Bibliográficos
Publicado en:arXiv.org (Oct 4, 2024), p. n/a
Autor principal: Bonchi, Filippo
Otros Autores: Alessandro Di Giorgio, Elena Di Lavore
Publicado:
Cornell University Library, arXiv.org
Materias:
Acceso en línea:Citation/Abstract
Full text outside of ProQuest
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
Descripción
Resumen:Tape diagrams provide a convenient notation for arrows of rig categories, i.e., categories equipped with two monoidal products, \(\oplus\) and \(\otimes\), where \(\otimes\) distributes over \(\oplus \). In this work, we extend tape diagrams with traces over \(\oplus\) in order to deal with iteration in imperative programming languages. More precisely, we introduce Kleene-Cartesian bicategories, namely rig categories where the monoidal structure provided by \(\otimes\) is a cartesian bicategory, while the one provided by \(\oplus\) is what we name a Kleene bicategory. We show that the associated language of tape diagrams is expressive enough to deal with imperative programs and the corresponding laws provide a proof system that is at least as powerful as the one of Hoare logic.
ISSN:2331-8422
Fuente:Engineering Database