Skip to main content

Speed-up Transformations of Logic Programs by Abstraction and Learning

  • Conference paper
Logic Program Synthesis and Transformation

Part of the book series: Workshops in Computing ((WORKSHOPS COMP.))

Abstract

This paper presents a formal framework for the automatic transformation of inefficient generate-and-test programs into equivalent programs by learning from the proofs of example queries. In the resulting program the search is guided by strategies based on abstracted proof traces obtained from the interpretation of example computations. Strategies are incrementally improved in an iterative process by a method for theory formation.

For the task of theory formation we developed a logic based method. It operates on a triple, consisting of a set of features augmented with taxonomic relations, a sequence of positive and negative facts and a set of hypotheses, which can also be the empty set. This triple is transformed into a set of hypotheses which implies all of the positive facts, but none of the negative facts and which is minimal in number of hypotheses. Hypotheses are constructed from facts by abstraction.

This method is embedded into a framework for program synthesis via constructive inductive proofs of input-output specifications. A prototypical implementation of the method was used in a mathematical application. The examples used in this paper are based on real problems that occurred during the generation of optimal mathematical algorithms.

This research was supported by the Deutsche Forschungsgemeinschaft under grant Bi:228/4-l.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W. Buntine. Generalized subsumption and its application to induction and redundancy. Artificial Intelligence, 36: 149–176, 1988.

    Article  MathSciNet  MATH  Google Scholar 

  2. I. Cicekli. Design and implementation of an abstract metaprolog engine for metaprolog. In H. Abramson and M. Rogers, editors, M eta-Programming in Logic Programming, pages 417-434. MIT Press, 1989.

    Google Scholar 

  3. S.L. Epstein and N.S. Sridharan. Knowledge representation for mathematical discovery: Three experiments in graph theory. Journal of Applied Intelligence, 1(1): 7–32, 1991.

    Article  MATH  Google Scholar 

  4. J. Eusterbrock. Wissensbasierte Verfahren zur Synthese mathematischer Beweise: Eine kombinatorische Anwendung. PhD thesis, Institut für Informatik, Stuttgart, 1991.

    Google Scholar 

  5. A.M. Frisch and D.C. Page. Generalization with taxonomic information. In Proc. AAAI-90, Eigth Nat. Conf. on Artificial Intelligence, volume 2, pages 755-761. AAAI Press/ The MIT Press, 1990.

    Google Scholar 

  6. V. Harmelen and A. Bundy. Explanantion based generalization=partial evaluation. Artificial Intelligence, 36(3): 401–412, 1989.

    Article  Google Scholar 

  7. J.L. Lassez and K. Marriot. Explicit representation of terms defined by counter examples. Journal of Automated Reasoning, 3: 301–317, 1987.

    Article  MathSciNet  MATH  Google Scholar 

  8. B. Meltzer. Proof, abstraction and semantics in mathematics and artificial intelligence. In A. Marzoilo, editor, Topics in Artificial Intelligence, pages 2–9. Springer Verlag, Wien New York, 1979.

    Google Scholar 

  9. T. M. Mitchell, P. E. Utgoff, B. Nudel, and R. Banerji. Learning problem solving heuristics through practice. In Proc. of International Joint Conference on Artificial Intelligence, pages 127-134, 1981.

    Google Scholar 

  10. T.M. et al Mitchell. Explanation-based-generalization. Machine Learning, 1: 47–80, 1985.

    Google Scholar 

  11. K.S. Murray. Multiple convergence: An approach to disjunctive concept acquisition. In Proc. Int. Joint Conf. on Artificial Intelligence, pages 297-300, 1987.

    Google Scholar 

  12. N. J. Nilsson. Principles of Artificial Intelligence. Tioga Publishing Company, Palo Alto, 1980.

    Google Scholar 

  13. G. D. Plotkin. A note on inductive generalization. In B. Meltzer and D. Michie, editors, Machine Intelligence 5, 1970.

    Google Scholar 

  14. E.Y. Shapiro. Algorithmic Program Debugging. ACM Distinguished Dissertations, The MIT Press, 1982.

    Google Scholar 

  15. E.Y. Shapiro, editor. Concurrent Prolog: Collected Papers. MIT Press Series in Logic Programming, 1987.

    Google Scholar 

  16. B. Silver. Meta Level Inference. North-Holland, Amsterdam, New York, Oxford, 1986.

    MATH  Google Scholar 

  17. Douglas R. Smith. Structure and design of global search algorithms. Technical report, KES.U.87.12, 1987.

    Google Scholar 

  18. D.R. Smith. Top-down synthesis of divide-and-conquer algorithms. Artificial Intelligence, 27: 43–96, 1985.

    Article  MathSciNet  MATH  Google Scholar 

  19. C.B. Suttner and W. Ertel. Automatic acquisition of search heuristics. In M. E. Stickel, editor, Proc. 10th International Conference on Automated Deduction, pages 470-484. Lecture Notes in Computer Science 449, Springer, 1990.

    Google Scholar 

  20. Vere. Induction concept in the predicate calculus. In Proc. IJCAI, 1975.

    Google Scholar 

  21. U. Yalcinalp and L. Sterling. An integrated interpreter for explaining prolog’s successes and failures. In H. Abramson and M. Rogers, editors, M eta-Programming in Logic Programming, pages 205-216. MIT Press, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag London

About this paper

Cite this paper

Eusterbrock, J. (1992). Speed-up Transformations of Logic Programs by Abstraction and Learning. In: Clement, T.P., Lau, KK. (eds) Logic Program Synthesis and Transformation. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3494-7_13

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3494-7_13

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-19742-3

  • Online ISBN: 978-1-4471-3494-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics