Prove it! Inferring Formal Proof Scripts from CafeOBJ Proof Scores

被引:12
|
作者
Riesco, Adrian [1 ]
Ogata, Kazuhiro [2 ]
机构
[1] Univ Complutense Madrid, Fac Informat, C Prof Jose Garcia Santesmases 9,Ciudad Univ, E-28040 Madrid, Spain
[2] Japan Adv Inst Sci & Technol, Sch Informat Sci, 1-1 1 Asahidai, Nomi, Ishikawa 9231292, Japan
关键词
CafeOBJ; theorem proving; proof scores; script inference; TOOL; SET;
D O I
10.1145/3208951
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
CafeOBJ is a language for writing formal specifications for a wide variety of software and hardware systems and for verifying their properties. CafeOBJ makes it possible to verify properties by using either proof scores, which consists of reducing goal-related terms in user-defined modules, or by using theorem proving. While the former is more flexible, it lacks the formal support to ensure that a property has been really proven. On the other hand, theorem proving might be too strict, since only a predefined set of commands can be applied to the current goal; hence, it hardens the verification of properties. In order to take advantage of the benefits of both techniques, we have extended CafelnMaude, a CafeOBJ interpreter implemented in Maude, with the CafelnMaude Proof Assistant (CiMPA) and the CafelnMaude Proof Generator (CiMPG). CiMPA is a proof assistant for proving inductive properties on CafeOBJ specifications that uses Maude metalevel features to allow programmers to create and manipulate CiMPA proofs. On the other hand, CiMPG provides a minimal set of annotations for identifying proof scores and generating CiMPA scripts for these proof scores. In this article, we present the CiMPA and CLMPG, detailing the behavior of the CiMPA and the algorithm underlying the CiMPG and illustrating the power of the approach by using the QLOCK protocol. Finally, we present some benchmarks that give us confidence in the matureness and usefulness of these tools.
引用
收藏
页数:32
相关论文
共 50 条
  • [21] Animating formal proof at the surface: The Jape proof calculator
    Bornat, R
    Sufrin, B
    COMPUTER JOURNAL, 1999, 42 (03): : 177 - 192
  • [22] A FORMAL PROOF OF THE IRRATIONALITY OF ζ(3)
    Mahboubi, Assia
    Sibut-Pinote, Thomas
    LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 17 (01) : 1 - 25
  • [23] Towards Automatic Transformations of Coq Proof Scripts
    Magaud, Nicolas
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2023, 398 : 4 - 10
  • [24] Towards Automatic Transformations of Coq Proof Scripts
    Magaud, Nicolas
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2024, (398):
  • [25] New pacemakers prove MRI-proof
    Ross, PE
    IEEE SPECTRUM, 2004, 41 (10) : 22 - +
  • [26] ON FORMAL SPECIFICATION OF A PROOF TOOL
    ARTHAN, RD
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 551 : 356 - 370
  • [27] Towards Formal Proof Metrics
    Aspinall, David
    Kaliszyk, Cezary
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING (FASE 2016), 2016, 9633 : 325 - 341
  • [28] Formal proof of prefix adders
    Liu, Feng
    Tan, Qingping
    Chen, Gang
    MATHEMATICAL AND COMPUTER MODELLING, 2010, 52 (1-2) : 191 - 199
  • [29] FAILING TO PROVE DANGER IS NO PROOF OF SAFETY - A REPLY
    GILBERT, ES
    PETERSEN, GR
    BUCHANAN, JA
    HEALTH PHYSICS, 1990, 59 (04): : 483 - 483
  • [30] Proof by cases in formal logic
    Kleene, SC
    ANNALS OF MATHEMATICS, 1934, 35 : 529 - 544