arXivDaily arXiv每日学术速递 周一至周五更新
稍安勿躁,官方尚未更新
arXiv 0807.1016cs.LOcs.OH
收藏

一个健全完备Floyd-霍尔逻辑的一般框架

A General Framework for Sound and Complete Floyd-Hoare Logics

Rob Arthan, Ursula Martin, Erik A. Mathiesen, Paulo Oliva

摘要:

本文将霍尔逻辑抽象为可追踪的对称monoidal范畴,这是系统理论的一个非常一般的框架。我们的抽象是基于一个跟踪monoidal函子从任意跟踪monoidal范畴到范畴的前序和单调关系。我们给出了几个例子,我们的理论如何概括通常的霍尔逻辑(部分正确的,而程序,部分正确的指针程序),并提供了一些案例研究,它可以用来开发新的霍尔逻辑(运行时分析,而程序和流电路)。

英文摘要:

This paper presents an abstraction of Hoare logic to traced symmetric monoidal categories, a very general framework for the theory of systems. Our abstraction is based on a traced monoidal functor from an arbitrary traced monoidal category into the category of pre-orders and monotone relations. We give several examples of how our theory generalises usual Hoare logics (partial correctness of while programs, partial correctness of pointer programs), and provide some case studies on how it can be used to develop new Hoare logics (run-time analysis of while programs and stream circuits).

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

↑