Proving Termination via Measure Transfer in Equivalence Checking

被引:0
|
作者
Milovanovic, Dragana [1 ]
Fuhs, Carsten [2 ]
Bucev, Mario [1 ]
Kuncak, Viktor [1 ]
机构
[1] Ecole Polytech Fed Lausanne, Stn 14, CH-1015 Lausanne, Switzerland
[2] Birkbeck Univ London, London, England
来源
INTEGRATED FORMAL METHODS, IFM 2024 | 2025年 / 15234卷
关键词
Equivalence checking; Termination analysis; Termination measures; VERIFICATION;
D O I
10.1007/978-3-031-76554-4_5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Program verification can benefit from proofs with varied induction schemas. A natural class of induction schemas, functional induction, consists of those derived from definitions of functions. For such inductive proofs to be sound, it is necessary to establish that the functions terminate, which is a challenging problem on its own. In this paper, we consider termination in the context of equivalence checking of a candidate program against a provably terminating reference program annotated with termination measures. Using equivalence checking, our approach automatically matches function calls in the reference and candidate programs and proves termination by transferring measures from a measure-annotated program to one without annotations. We evaluate this approach on existing and newly written termination benchmarks, as well as on exercises in programming courses. Our evaluation corpus comprises around 10K lines of code. We show empirically that the termination measures of reference programs often successfully prove the termination of equivalent candidate programs, ensuring the soundness of inductive reasoning in a fully automated manner.
引用
收藏
页码:75 / 84
页数:10
相关论文
共 50 条
  • [41] A Framework for Automated Feature Based Mixed-Signal Equivalence Checking
    Ain, Antara
    Sanyal, Sayandeep
    Dasgupta, Pallab
    VLSI DESIGN AND TEST, 2017, 711 : 779 - 791
  • [42] Automated Termination in Model Checking Modulo Theories
    Carioni, Alessandro
    Ghilardi, Silvio
    Ranise, Silvio
    REACHABILITY PROBLEMS, 2011, 6945 : 110 - +
  • [43] Combinational Equivalence Checking for Threshold Logic Circuits
    Gowda, Tejaswi
    Vrudhula, Sarma
    Konjevod, Goran
    GLSVLSI'07: PROCEEDINGS OF THE 2007 ACM GREAT LAKES SYMPOSIUM ON VLSI, 2007, : 102 - 107
  • [44] Approximate Equivalence Checking of Noisy Quantum Circuits
    Hong, Xin
    Ying, Mingsheng
    Feng, Yuan
    Zhou, Xiangzhen
    Li, Sanjiang
    2021 58TH ACM/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2021, : 637 - 642
  • [45] Automated Equivalence Checking of Concurrent Quantum Systems
    Ardeshir-Larijani, Ebrahim
    Gay, Simon J.
    Nagarajan, Rajagopal
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2018, 19 (04)
  • [46] RANDOMIZED ALGORITHM FOR CHECKING EQUIVALENCE OF CIRCULAR LISTS
    ITAI, A
    INFORMATION PROCESSING LETTERS, 1979, 9 (03) : 118 - 121
  • [47] A General Equivalence Checking Framework for Multivalued Logic
    Lin, Chia-Chun
    Yen, Hsin-Ping
    Wei, Sheng-Hsiu
    Chen, Pei-Pei
    Chen, Yung-Chih
    Wang, Chun-Yao
    2021 26TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2021, : 61 - 66
  • [48] FAST EQUIVALENCE-CHECKING FOR QUANTUM CIRCUITS
    Yamashita, Shigeru
    Markov, Igor L.
    QUANTUM INFORMATION & COMPUTATION, 2010, 10 (9-10) : 721 - 734
  • [49] Equivalence Checking Paradigms in Quantum Circuit Design
    Peham, Tom
    Burgholzer, Lukas
    Wille, Robert
    PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 517 - 522
  • [50] EQUIVALENCE CHECKING OF COMMUNICATING UML STATECHART DIAGRAMS
    Lam, Vitus S. W.
    Padget, Julian
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2012, 22 (02) : 265 - 304