Abstract
In this paper, we combine a novel method for proving partial correctness of logic programs with a known method for proving termination, and apply them to the study of the magic-sets transformation. As a result, a declarative reconstruction of efficient bottom-up execution of goal-driven deduction is accomplished, in the sense that the obtained results of partial and total correctness of the transformation abstract away from procedural semantics.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
K.R. Apt. Logic programming. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B, pages 493–574. Elsevier, 1990.
K. R. Apt. Declarative programming in Prolog. In D. Miller, editor, Proc. International Symposium on Logic Programming, pages 11–35. MIT Press, 1993.
K.R. Apt. Program Verification and Prolog. In E. Börger, editor, Specification and Validation methods for Programming languages and systems. Oxford University Press, 1994.
K.R. Apt, M. Gabbrielli, and D. Pedreschi. A Closer Look at Declarative Interpretations. Technical Report CS-R9470, Centre for Mathematics and Computer Science, Amsterdam, Journal of Logic Programming. 28(2): 147–180, 1996.
K.R. Apt and E. Marchiori. Reasoning about Prolog programs: from modes through types to assertions. Formal Aspects of Computing, 6A:743–764, 1994.
K.R. Apt and D. Pedreschi. Reasoning about termination of pure prolog programs. Information and computation, 106(1):109–157, 1993.
K. R. Apt and D. Pedreschi. Modular termination proofs for logic and pure Prolog programs. In G. Levi, editor, Advances in Logic Programming Theory, pages 183–229. Oxford University Press, 1994.
A. Bossi and N. Cocco. Verifying Correctness of Logic Programs. In J. Diaz and F. Orejas, editors, TAPSOFT’ 89, volume 352 of Lecture Notes in Computer Science, pages 96–110. Springer-Verlag, Berlin, 1989.
C. Beeri and R. Ramakrishnan. The power of magic. In Proc. 6th ACM-SIGMOD-SIGACT Symposium on Principles of Database systems, pages 269–283. The Association for Computing Machinery, New York, 1987.
F. Bronsard, T.K. Lakshman, and U.S. Reddy. A framework of directionality for proving termination of logic programs. In K. R. Apt, editor, Proceedings of the Joint International Conference and Symposium on Logic Programming, pages 321–335. MIT Press, 1992.
P. Deransart. Proof methods of declarative properties of definite programs. Theoretical Computer Science, 118:99–166, 1993.
J.W. Lloyd. Foundations of logic programming. Springer-Verlag, Berlin, second edition, 1987.
P. Mascellani. Declarative Verification of General Logic Programs. In Proceedings of the Student Session, ESSLLI-2000. Birmingham UK, 2000.
P. Mascellani and D. Pedreschi. Proving termination of prolog programs. In Proceedings 1994 Joint Conf. on Declarative Programming GULP-PRODE’ 94, pages 46–61, 1994.
P. Mascellani and D. Pedreschi. Total correctness of prolog programs. In F.S. de Boer and M. Gabbrielli, editors, Proceedings of the W2 Post-Conference Workshop ICLP’94. Vrije Universiteit Amsterdam, 1994.
D. Pedreschi. Verification of Logic Programs. In M. I. Sessa, editor, Ten Years of Logic Programming in Italy, pages 211–239. Palladio, 1995.
D. Pedreschi and S. Ruggieri. Verification of Logic Programs. Journal of Logic Programming, 39(1–3):125–176, April 1999
S. Ruggieri. Proving (total) correctness of prolog programs. In F.S. de Boer and M. Gabbrielli, editors, Proceedings of the W2 Post-Conference Workshop ICLP’94. Vrije Universiteit Amsterdam, 1994.
J.D. Ullman. Principles of Database and Knowledge-base Systems, Volume I. Principles of Computer Science Series. Computer Science Press, 1988.
J.D. Ullman. Principles of Database and Knowledge-base Systems, Volume II; The New Technologies. Principles of Computer Science Series. Computer Science Press, 1989.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Mascellani, P., Pedreschi, D. (2002). The Declarative Side of Magic. In: Kakas, A.C., Sadri, F. (eds) Computational Logic: Logic Programming and Beyond. Lecture Notes in Computer Science(), vol 2408. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45632-5_4
Download citation
DOI: https://doi.org/10.1007/3-540-45632-5_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43960-8
Online ISBN: 978-3-540-45632-2
eBook Packages: Springer Book Archive