Algebra-Based Synthesis of Loops and Their Invariants

被引:1
|
作者
Humenberger, Andreas [1 ]
Kovacs, Laura [1 ]
机构
[1] TU Wien, Vienna, Austria
基金
欧洲研究理事会;
关键词
POLYNOMIAL INVARIANTS; GENERATION;
D O I
10.1007/978-3-030-67067-2_2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Provably correct software is one of the key challenges in our software-driven society. While formal verification establishes the correctness of a given program, the result of program synthesis is a program which is correct by construction. In this paper we overview some of our results for both of these scenarios when analysing programs with loops. The class of loops we consider can be modelled by a system of linear recurrence equations with constant coefficients, called C-finite recurrences. We first describe an algorithmic approach for synthesising all polynomial equality invariants of such non-deterministic numeric single-path loops. By reverse engineering invariant synthesis, we then describe an automated method for synthesising program loops satisfying a given set of polynomial loop invariants. Our results have applications towards proving partial correctness of programs, compiler optimisation and generating number sequences from algebraic relations.
引用
收藏
页码:17 / 28
页数:12
相关论文
共 50 条
  • [1] Algebra-Based Loop Synthesis
    Humenberger, Andreas
    Bjorner, Nikolaj
    Kovacs, Laura
    INTEGRATED FORMAL METHODS, IFM 2020, 2020, 12546 : 440 - 459
  • [2] Algebra-Based Reasoning for Loop Synthesis
    Humenberger, Andreas
    Amrollahi, Daneshvar
    Bjorner, Nikolaj
    Kovacs, Laura
    FORMAL ASPECTS OF COMPUTING, 2022, 34 (01)
  • [3] ALGEBRA-BASED METROLOGY
    IOVINE, V
    ELETTROTECNICA, 1991, 78 (06): : 556 - 557
  • [4] Algebra-Based Loop Analysis
    Kovacs, Laura
    PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON SYMBOLIC & ALGEBRAIC COMPUTATION, ISSAC 2023, 2023, : 50 - 51
  • [5] Algebra-based XQuery cardinality estimation
    Sakr, Sherif
    INTERNATIONAL JOURNAL OF WEB INFORMATION SYSTEMS, 2008, 4 (01) : 6 - +
  • [6] Process Algebra-Based Query Workflows
    Hornung, Thomas
    May, Wolfgang
    Lausen, Georg
    ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2009, 5565 : 440 - +
  • [7] Algebra-based high school physics
    Brekke, Stewart
    PHYSICS TODAY, 2021, 74 (08) : 12 - 12
  • [8] Algebra-based identification of tree patterns in XQuery
    Arion, Andrei
    Benzaken, Veronique
    Manolescu, Ioana
    Papakonstantinou, Yannis
    Vijay, Ravi
    FLEXIBLE QUERY ANSWERING SYSTEMS, PROCEEDINGS, 2006, 4027 : 13 - 25
  • [9] Process Algebra-Based Description for Software Requirement
    Zhan, Haomin
    Yin, Guisheng
    Sun, Changsong
    Shen, Linshan
    Ni, Jun
    2008 INTERNATIONAL MULTISYMPOSIUMS ON COMPUTER AND COMPUTATIONAL SCIENCES (IMSCCS), 2008, : 184 - +
  • [10] Nontraditional approach to algebra-based general physics
    Meltzer, DE
    CHANGING ROLE OF PHYSICS DEPARTMENTS IN MODERN UNIVERSITIES - PROCEEDINGS OF INTERNATIONAL CONFERENCE ON UNDERGRADUATE PHYSICS EDUCATION, PTS 1 AND 2, 1997, (399): : 823 - 825