A program transformation for backwards analysis of logic programs

被引:0
|
作者
Gallagher, JP [1 ]
机构
[1] Rosklide Univ, DK-4000 Roskilde, Denmark
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The input to backwards analysis is a program together with properties that are required to hold at given program points. The purpose of the analysis is to derive initial goals or pre-conditions that guarantee that, when the program is executed, the given properties hold. The solution for logic programs presented here is based on a transformation of the input program, which makes explicit the dependencies of the given program points on the initial goals. The transformation is derived from the resultants semantics of logic programs. The transformed program is then analysed using a standard abstract interpretation. The required pre-conditions on initial goals can be deduced from the analysis results without a further fixpoint computation. For the modes backwards analysis problem, this approach gives the same results as previous work, but requires only a standard abstract interpretation framework and no special properties of the abstract domain.
引用
收藏
页码:92 / 105
页数:14
相关论文
共 50 条
  • [1] A program transformation for backwards analysis of logic programs
    Gallagher, John P.
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2004, 3018 : 92 - 105
  • [2] A PROGRAM TRANSFORMATION FROM EQUATIONAL PROGRAMS INTO LOGIC PROGRAMS
    TOGASHI, A
    NOGUCHI, S
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1987, 4 (02): : 85 - 103
  • [3] Inferring termination conditions for logic programs using backwards analysis
    Genaim, S
    Codish, M
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2005, 5 : 75 - 91
  • [4] Analysing logic programs by reasoning backwards
    Howe, JM
    King, A
    Lu, LJ
    [J]. PROGRAM DEVELOPMENT IN COMPUTATIONAL LOGIC: A DECADE OF RESEARCH ADVANCES IN LOGIC-BASED PROGRAM DEVELOPMENT, 2004, 3049 : 152 - 188
  • [5] Verification of Imperative Programs by Constraint Logic Program Transformation
    De Angelis, Emanuele
    Fioravanti, Fabio
    Pettorossi, Alberto
    Proietti, Maurizio
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (129): : 186 - 210
  • [6] PROGRAM ANALYSIS FOR CODE DUPLICATION IN LOGIC PROGRAMS
    Dandois, Celine
    [J]. TECHNICAL COMMUNICATIONS OF THE 26TH INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING (ICLP'10), 2010, 7 : 241 - 247
  • [7] Combining logic programs and monadic second order logics by program transformation
    Fioravanti, F
    Pettorossi, A
    Proietti, M
    [J]. LOGIC BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2003, 2664 : 160 - 181
  • [8] A practical approach for logic program analysis and transformation
    Weber-Vasconcelos, W
    Meneses, EX
    [J]. MICAI 2000: ADVANCES IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2000, 1793 : 82 - 94
  • [9] CLPKIDS: A program analysis system for concurrent logic programs
    Zhao, JJ
    Cheng, JD
    Ushijima, K
    [J]. 25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 531 - 537
  • [10] PROGRAM OPTIMIZATION WITH LOGIC PROGRAM TRANSFORMATION
    HOSHINO, H
    ESASHI, M
    AGUSA, K
    OHNO, Y
    [J]. LECTURE NOTES IN CONTROL AND INFORMATION SCIENCES, 1988, 113 : 725 - 734