Sequence-based abstract interpretation of Prolog

被引:6
|
作者
Le Charlier, B
Rossi, S
Van Hentenryck, P
机构
[1] Univ Namur, Inst Informat, B-5000 Namur, Belgium
[2] Univ Venice, Dipartimento Informat, I-30172 Venice, Italy
[3] Brown Univ, Dept Comp Sci, Providence, RI 02912 USA
关键词
Prolog; static analysis; abstract interpretation;
D O I
10.1017/S1471068402001114
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Abstr. interpretation is a general methodology for systematic development of program analyses. An abstract interpretation framework is centered around a parametrized non-standard semantics that can be instantiated by various domains to approximate different program properties. Many abstract interpretation frameworks and analyses for Prolog have been proposed, which seek to extract information useful for program optimization, Although motivated by practical considerations, notably making Prolog competitive with imperative languages, such frameworks fail to capture some of the control structures of existing implementations of the language. In this paper, we propose a novel framework for the abstract interpretation of Prolog which handles the depth-first search rule and the cut operator. It relies on the notion of substitution sequence to model the result of the execution of a goal. The framework consists of (i) a denotational concrete semantics, (ii) a safe abstraction of the concrete semantics defined in terms of a class of post-fixpoints, and (iii) a generic abstract interpretation algorithm. We show that traditional abstract domains of substitutions may easily be adapted to the new framework, and provide experimental evidence of the effectiveness of our approach. We also show that previous work on determinacy analysis, that was not expressible by existing abstract interpretation frameworks, can be seen as an instance of our framework. The ideas developed in this paper can be applied to other logic languages, notably to constraint logic languages, and the theoretical approach should be of general interest for the analysis of many non-deterministic programming languages.
引用
收藏
页码:25 / 84
页数:60
相关论文
共 50 条
  • [31] Reliability of Sequence-Based Identification of Microorganism
    Sung, Heungsup
    Kim, Mi-Na
    INFECTION AND CHEMOTHERAPY, 2008, 40 (06): : 355 - 356
  • [32] A Sequence-Based Variation Map of Zebrafish
    Patowary, Ashok
    Purkanti, Ramya
    Singh, Meghna
    Chauhan, Rajendra
    Singh, Angom Ramcharan
    Swarnkar, Mohit
    Singh, Naresh
    Pandey, Vikas
    Torroj, Carlos
    Clark, Matthew D.
    Kocher, Jean-Pierre
    Clark, Karl J.
    Stemple, Derek L.
    Klee, Eric W.
    Ekker, Stephen C.
    Scaria, Vinod
    Sivasubbu, Sridhar
    ZEBRAFISH, 2013, 10 (01) : 15 - 20
  • [33] Sequence-Based Environment for Topology Optimization
    Khan, Arbaaz
    Midha, Chetan
    Lowther, David Alister
    IEEE TRANSACTIONS ON MAGNETICS, 2020, 56 (03)
  • [34] A Sequence-based Tree Similarity Search
    Algergawy, Alsayed
    Klan, Friederike
    2015 IEEE 9TH INTERNATIONAL CONFERENCE ON RESEARCH CHALLENGES IN INFORMATION SCIENCE (RCIS), 2015, : 121 - 126
  • [35] Sequence-based classification and identification of Fungi
    Hibbett, David
    Abarenkov, Kessy
    Koljalg, Urmas
    Opik, Maarja
    Chai, Benli
    Cole, James
    Wang, Qiong
    Crous, Pedro
    Robert, Vincent
    Helgason, Thorunn
    Herr, Joshua R.
    Kirk, Paul
    Lueschow, Shiloh
    O'Donnell, Kerry
    Nilsson, R. Henrik
    Oono, Ryoko
    Schoch, Conrad
    Smyth, Christopher
    Walker, Donald M.
    Porras-Alfaro, Andrea
    Taylor, John W.
    Geiser, David M.
    MYCOLOGIA, 2016, 108 (06) : 1049 - 1068
  • [36] GyrA sequence-based typing of Legionella
    Alix Feddersen
    Heinz-Georg W. Meyer
    Philipp Matthes
    Sucharit Bhakdi
    Matthias Husmann
    Medical Microbiology and Immunology, 2000, 189 : 7 - 11
  • [37] Sequence-based analysis of mutagenized mice
    Beier, DR
    MAMMALIAN GENOME, 2000, 11 (07) : 594 - 597
  • [38] GyrA sequence-based typing of Legionella
    Feddersen, A
    Meyer, HGW
    Matthes, P
    Bhakdi, S
    Husmann, M
    MEDICAL MICROBIOLOGY AND IMMUNOLOGY, 2000, 189 (01) : 7 - 11
  • [39] Sequence-based identification of aerobic actinomycetes
    Patel, JB
    Wallace, RJ
    Brown-Elliott, BA
    Taylor, T
    Imperatrice, C
    Leonard, DGB
    Wilson, RW
    Mann, L
    Jost, KC
    Nachamkin, I
    JOURNAL OF CLINICAL MICROBIOLOGY, 2004, 42 (06) : 2530 - 2540
  • [40] Sequence-based pathogen diagnostics and surveillance
    Schnur, J.
    NANOMEDICINE-NANOTECHNOLOGY BIOLOGY AND MEDICINE, 2006, 2 (04) : 272 - 272