带有Hoare假设的守卫Kleene代数与测试
GKAT with Hoare Hypotheses
AI总结:
提出在GKAT中引入Hoare假设以建模基本程序的前后条件,证明公理化系统的完备性,并扩展为单词假设,基于自动机理论证明等价性判定效率与普通GKAT相同。
摘要:
带测试的守卫Kleene代数(GKAT)是Kleene代数的一个变体,用于推理简单命令式程序,并具有近线性时间判定程序等价性的决策过程。在本文中,我们解决了在这些程序下进行假设推理的挑战。特别地,我们开发了一种Hoare假设形式,它允许对未解释基本程序的前置和后置条件的基本领域知识进行建模,这在经典Kleene代数中已得到充分发展,但在GKAT中尚未实现。我们证明了所得公理化系统是可靠且完备的。然后,我们将Hoare假设扩展到更一般的单词假设形式。基于自动机理论方法,我们证明了在单词假设下GKAT的等价性判定与普通GKAT一样高效可判定。
英文摘要:
Guarded Kleene Algebra with Tests (GKAT) is a variant of Kleene algebra which allows for reasoning about simple imperative programs, and which features a decision procedure for program equivalence in nearly linear time. In the current paper, we address the challenge of reasoning under assumptions about these programs. In particular, we develop a form of Hoare hypotheses, which allow modelling basic domain knowledge on pre- and post-conditions of uninterpreted basic programs, and which are well-developed for classical Kleene algebra but not yet for GKAT. We show that the resulting axiomatisation is sound and complete. We then extend Hoare hypotheses to the more general form of word hypotheses. Based on an automata-theoretic approach, we show that equivalence of GKAT under word hypotheses is as efficiently decidable as for plain GKAT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。