arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.00452cs.LO
收藏

一种用于领域规约的霍尔逻辑(完整版)

A Hoare Logic for Domain Specification (Full Version)

Eduard Kamburjan, Dilian Gurov

AI总结:

针对现有程序规约与验证方法仅关注计算层面正确性的问题,研究提出整合实现与领域断言的双层霍尔逻辑,采用描述逻辑和语义提升方法,通过两类断言转换的演算实现关注点分离并支持验证中使用描述逻辑。

摘要:

程序必须在其应用领域层面具备正确性。然而,目前的程序规约与验证方法仅从计算角度考量正确性。本研究提出一种双层霍尔逻辑,同时整合了面向实现与面向领域的断言。在领域规约方面,我们采用描述逻辑与语义提升——这是近期提出的一种将程序解释为知识图谱的方法。我们提出了一种演算,利用两类断言之间的转换机制,既实现了规约层面的关注点分离,又能在验证过程中使用描述逻辑。

英文摘要:

Programs must be correct with respect to their application domain. Yet, the program specification and verification approaches so far only consider correctness in terms of computations. In this work, we present a two-tier Hoare Logic that integrates assertions for both implementation and domain. For domain specification, we use description logics and semantic lifting, a recently proposed approach to interpret a program as a knowledge graph. We present a calculus that uses translations between both kinds of assertions, thus separating the concerns in specification, but enabling the use of description logic in verification.

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

↑