首页    期刊浏览 2025年06月01日 星期日
登录注册

文章基本信息

  • 标题:Formalization of the General Hoare Logic Laws
  • 本地全文:下载
  • 作者:Aleksandar Kupusinac ; Dusan Malbaski
  • 期刊名称:TEM Journal
  • 印刷版ISSN:2217-8309
  • 电子版ISSN:2217-8333
  • 出版年度:2012
  • 卷号:1
  • 期号:3
  • 页码:145-150
  • 语种:English
  • 出版社:UIKTEN
  • 摘要:This paper presents a new approach to formalizing the general rules of the Hoare logic. Our way is based on formulas of the first-order predicate logic defined over the abstract state space of a virtual machine,i.e. so-called S-formulas. S-formulas are general tool for analyzing program semantics inasmuch as Hoare triples of total and partial correctness are not more than two S-formulas. The general rules of Hoare logic,such as the laws of consequence,conjunction,disjunction and negation can be derived using axioms and theorems of firstorder predicate logic. Every proof is based on deriving the validity of some S-formula,so the procedure may be automated using automatic theorem provers. In this paper we will use Coq.
  • 关键词:Program verification;program correctness;Hoare logic;first-order predicate logic;Coq
国家哲学社会科学文献中心版权所有