Collection analysis for Horn clause programs
Dale Miller
- 10 Jul 2006
- pp 179-188
TL;DR: In this article, the authors use linear logic as a computational logic underlying the logic of Horn clauses and present a scheme by which such collection analysis can be structured and automated, which can be used to provide partial correctness properties of logic programs.
read more
Abstract: We consider approximating data structures with collections of the items that they contain. For examples, lists, binary trees, tuples, etc, can be approximated by sets or multisets of the items within them. Such approximations can be used to provide partial correctness properties of logic programs. For example, one might wish to specify than whenever the atom sort(t,s) is proved then the two lists t and s contain the same multiset of items (that is, s is a permutation of t). If sorting removes duplicates, then one would like to infer that the sets of items underlying t and s are the same. Such results could be useful to have if they can be determined statically and automatically. We present a scheme by which such collection analysis can be structured and automated. Central to this scheme is the use of linear logic as a computational logic underlying the logic of Horn clauses
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Set Constraints: a Pearl in Research on Constraints
Leszek Pacholski,Andreas Podelski +1 more
- 01 Jan 1997
TL;DR: The topic of set constraints is a pearl among the research topics on constraints as mentioned in this paper, combining theoretical investigations (ranging from logical expressiveness, decidability, algorithms and complexity analysis to program semantics and domain theory) with practical experiments in building systems for program analysis, addressing questions like implementation issues and scalability.
6
References
Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints
Patrick Cousot,Radhia Cousot +1 more
- 01 Jan 1977
TL;DR: In this paper, the abstract interpretation of programs is used to describe computations in another universe of abstract objects, so that the results of abstract execution give some information on the actual computations.
A Formulation of the Simple Theory of Types
TL;DR: A formulation of the simple theory oftypes which incorporates certain features of the calculus of λ-conversion into the theory of types and is offered as being of interest on this basis.
2.1K
Logic Programming with Focusing Proofs in Linear Logic
TL;DR: It is shown that the syntactic restriction induced by LinLog is not performed at the cost of any expressive power: a mapping from full linear logic to LinLog, preserving focusing proofs, and analogous to the normalization to clausal form for classical logic, is presented.
805
Uniform proofs as a foundation for logic programming
TL;DR: A proof-theoretic characterization of logical languages that form suitable bases for Prolog-like programming languages is provided and it is shown that first-order and higher-order Horn clauses with classical provability are examples of such a language.
721
Related Papers (5)
Ashutosh Gupta,Corneliu Popeea,Andrey Rybalchenko +2 more
- 05 Dec 2011
Fangzhen Lin,Yuting Zhao +1 more
- 28 Jul 2002