TY - GEN
T1 - Collection analysis for horn clause programs
AU - Miller, Dale
PY - 2006/1/1
Y1 - 2006/1/1
N2 - 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.
AB - 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.
KW - Horn clauses
KW - Linear logic
KW - Proof search
KW - Static analysis
U2 - 10.1145/1140335.1140357
DO - 10.1145/1140335.1140357
M3 - Conference contribution
AN - SCOPUS:33750903965
SN - 1595933883
SN - 9781595933881
T3 - PPDP'06 - Proceedings of the Eight ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming
SP - 179
EP - 187
BT - PPDP'06 - Proceedings of the Eight ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming
PB - Association for Computing Machinery (ACM)
T2 - PPDP'06 - 8th ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming
Y2 - 10 July 2006 through 12 July 2006
ER -