Relational Methods in the Analysis of While Loops: Observations of Versatility

被引:0
|
作者
Louhichi, Asma
Mraihi, Olfa
Jilani, Lamia Labed
Bsaies, Khaled
Mili, Ali
机构
关键词
Function extraction; loop functions; invariant assertions; invariant relations; invariant functions; relational calculus; refinement calculus; computing loop behavior;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Despite much progress in the design of programming languages, the vast majority of software being written and deployed nowadays remains written in languages where iteration is the main inductive construct, and the main source of algorithmic complexity. For the past four decades, the analysis of iterative constructs has been dominated, not undeservedly, by the concept of invariant assertions. In this paper we submit relation-based alternatives, namely invariant relations and invariant functions, and show how these can provide complementary perspectives, and can enrich the analysis of iterations. Whereas loop invariants can be used to establish the correctness of iterative programs in Hoare logics, invariant relations and invariant functions are used to derive program functions in Mills' logic. In keeping with the conference format, we do not delve too much into theoretical results, and focus instead on the applied aspects of our relation-theoretic approach.
引用
收藏
页码:242 / 259
页数:18
相关论文
共 50 条
  • [1] Using Invariant Relations in the Termination Analysis of While Loops
    Ghardallou, Wided
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1519 - 1522
  • [2] While Loops in Coq
    Nowak, David
    Rusu, Vlad
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2023, 389 : 96 - 109
  • [3] INCREASING VERSATILITY OF PHASE-LOCKED LOOPS
    CHEUNG, WN
    ELECTRONIC ENGINEERING, 1978, 50 (610): : 51 - &
  • [4] HEURISTICS FOR CONSTRUCTING WHILE LOOPS
    MILI, F
    MILI, A
    SCIENCE OF COMPUTER PROGRAMMING, 1992, 18 (01) : 67 - 106
  • [5] How to Design while Loops
    Morazan, Marco T.
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2020, (321): : 1 - 18
  • [6] CONCENTRIC CONVEYOR LOOPS ADD TO VERSATILITY OF ELECTROSTATIC EQUIPMENT
    不详
    INDUSTRIAL FINISHING, 1972, 48 (01): : 56 - &
  • [7] PARALLELIZATION OF WHILE LOOPS ON PIPELINED ARCHITECTURES
    TIRUMALAI, PP
    LEE, M
    SCHLANSKER, MS
    JOURNAL OF SUPERCOMPUTING, 1991, 5 (2-3): : 119 - 136
  • [8] OBSERVATIONS OF FLARES IN LOOPS
    PALLAVICINI, R
    OBSERVATORY, 1982, 102 (1049): : 120 - 121
  • [9] OBSERVATIONS OF LOOPS AND PROMINENCES
    STRONG, KT
    SPACE SCIENCE REVIEWS, 1994, 70 (1-2) : 133 - 142
  • [10] A Comparative Analysis of Usability Evaluation Methods on Their Versatility in the Face of Diversified User Input Methods
    Ishikawa, Daiju
    Kato, Takashi
    Kita, Chigusa
    HCI INTERNATIONAL 2015 - POSTERS' EXTENDED ABSTRACTS, PT I, 2015, 528 : 32 - 37