[go: up one dir, main page]

Skip to main content

Automatic Extraction of Logic Program Transformations from Examples

  • Conference paper
MICAI 2000: Advances in Artificial Intelligence (MICAI 2000)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 1793))

Included in the following conference series:

  • 724 Accesses

Abstract

The design of program transformations is a difficult and error-prone task. We propose a practical approach to help programmers devise their program transformations: the programmer is to supply two versions of the same logic program, an inefficient one and another with a better computational performance, and the set of syntactic adjustments required to map them is automatically found. These adjustments are represented as transformations using an extended language based in program schemata and are subsequently made more generic, becoming applicable to a larger class of programs and thus extending the benefits of the transformation.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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.

Similar content being viewed by others

References

  1. Krzysztof, R.: Apt. From Logic Programming to Prolog. Prentice-Hall, U.K. (1997)

    Google Scholar 

  2. Chasseur, E., Deville, Y.: Logic program schemas, constraints, and semi-unification. In: Chasseur, E., Deville, Y. (eds.) LOPSTR 1997. LNCS, vol. 1463, p. 69. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  3. Fuchs, N.E., Fromherz, M.P.J.: Schema-Based Transformations of Logic Programs. In: Proc. of LoPSTr 1991. Springer, Heidelberg (1992)

    Google Scholar 

  4. Gegg-Harrison, T.S.: Exploiting Program Schemata in a Prolog Tutoring System. Technical Report CS-1993-11, Department of Computer Science, Duke University; Durham, North Carolina, U.S.A., Reformatted version of PhD dissertation with the same title and equivalent content (April 1993)

    Google Scholar 

  5. Huet, G., Lang, B.: Proving and Applying Program Transformations Expressed with Second-Order Patterns. Acta Informatica 11, 31–55 (1978)

    Article  MATH  MathSciNet  Google Scholar 

  6. Büyükyildiz, H., Flener, P.: Generalised logic program transformation schemas. In: Fuchs, N.E. (ed.) LOPSTR 1997. LNCS, vol. 1463, p. 49. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  7. Proietti, M., Pettorossi, A.: Transformations of Logic Programs: Foundations and Techniques. J. Logic Progr. 19, 20, 261–320 (1994)

    Article  MathSciNet  Google Scholar 

  8. Richardson, J.D.C., Fuchs, N.E.: Development of Correct Transformation Schemata for Prolog Programs. In: Fuchs, N.E. (ed.) LOPSTR 1997. LNCS, vol. 1463, p. 263. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  9. Sterling, L., Shapiro, E.: The Art of Prolog. MIT Press, Cambridge (1986)

    MATH  Google Scholar 

  10. Tamaki, H., Sato, T.: Unfold/fold Transformations of Logic Programs. In: Proc. 2nd Int’l. Conf. on Logic Programming, Uppsala, Sweden (1984)

    Google Scholar 

  11. Vasconcelos, W.W.: Extracting, Organising, Designing and Reusing Prolog Programming Techniques. PhD thesis, Department of Artificial Intelligence, University of Edinburgh (August 1995)

    Google Scholar 

  12. Vasconcelos, W.W., Aragão, M.A., Fuchs, N.E.: Automatic Bottom-Up Analysis and Transformation of Logic Programs. In: Borges, D.L., Kaestner, C.A.A. (eds.) SBIA 1996. LNCS (LNAI), vol. 1159. Springer, Heidelberg (1996)

    Google Scholar 

  13. Vasconcelos, W.W., Fuchs, N.E.: An Opportunistic Approach for Logic Program Analysis and Optimisation using Enhanced Schema-Based Transformations. In: Proietti, M. (ed.) LOPSTR 1995. LNCS, vol. 1048. Springer, Heidelberg (1996)

    Google Scholar 

  14. Vasconcelos, W.W., Meneses, E.: A Pratical Approach for Logic Program Analysis and Transformation. In: Cairó, O., Cantú, F.J. (eds.) MICAI 2000. LNCS, vol. 1793. Springer, Heidelberg (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Weber-Vasconcelos, W., Aragão, M.A.T. (2000). Automatic Extraction of Logic Program Transformations from Examples. In: Cairó, O., Sucar, L.E., Cantu, F.J. (eds) MICAI 2000: Advances in Artificial Intelligence. MICAI 2000. Lecture Notes in Computer Science(), vol 1793. Springer, Berlin, Heidelberg. https://doi.org/10.1007/10720076_21

Download citation

  • DOI: https://doi.org/10.1007/10720076_21

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67354-5

  • Online ISBN: 978-3-540-45562-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics