Skip to main content

Improving Multi-adjoint Logic Programs by Unfolding Fuzzy Connective Definitions

  • Conference paper
  • First Online:
Book cover Advances in Computational Intelligence (IWANN 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9094))

Included in the following conference series:

Abstract

Declarative programming has been classically used for solving computational problems regarding AI, knowledge representation and so on. During the last decade, Soft-Computing has emerged as a new application area specially tempting for those new generation declarative languages integrating fuzzy logic into logic programming. In many fuzzy logic programming languages, both program clauses and connective definitions admit a clear declarative, rule-based representation inspired by the well-known logic and functional programming paradigms, respectively. A powerful and promising proposal in this area is represented by the multi-adjoint logic programming approach (for which we have developed the \(\mathcal F \mathcal L \mathcal O \mathcal P \mathcal E \mathcal R\) tool), where a set of (logic) Prolog-like rules are accompanied with a set of (functional) Haskell-like fuzzy connective definitions for manipulating truth degrees beyond the simpler case of {true,false}. Since these definitions can be seen as a particular case of equations and/or rewrite rules typically used in functional programming, in this paper we focus on their optimization by reusing some variants of program transformation techniques based on unfolding with a functional taste, which have been largely exploited in this last crisp (not fuzzy) setting. We also show how our method rebounds in the simplification of some computational cost measures we proposed in the past. Our approach is accompanied with some implementation and practical issues in connection with the \(\mathcal S \mathcal Y \mathcal N \mathcal T \mathcal H\) and \(\mathcal F \mathcal L \mathcal O \mathcal P \mathcal E \mathcal R\) tools and the fuzzyXPath  application we have developed in the area of the semantic web.

Work supported by the EU (FEDER), and the Spanish MINECO Ministry (Ministerio de Economía y Competitividad) under grant TIN2013-45732-C4-2-P.

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. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: Fuzzy logic programming for implementing a flexible xpath-based query language. Electronic Notes in Theoretical Computer Science 282, 3–18 (2012)

    Article  Google Scholar 

  2. Almendros-Jiménez, J.M., Luna Tedesqui, A., Moreno, G.: Annotating “Fuzzy Chance Degrees” When Debugging XPath Queries. In: Rojas, I., Joya, G., Cabestany, J. (eds.) IWANN 2013, Part II. LNCS, vol. 7903, pp. 300–311. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  3. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: Fuzzy xpath through fuzzy logic programming. New Generation Computing, 42 (in press, 2015)

    Google Scholar 

  4. Alpuente, M., Falaschi, M., Moreno, G., Vidal, G.: Rules + Strategies for Transforming Lazy Functional Logic Programs. Theoretical Computer Science 311(1–3), 479–525 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  5. Baldwin, J.F., Martin, T.P., Pilsworth, B.W.: Fril- Fuzzy and Evidential Reasoning in Artificial Intelligence. John Wiley & Sons Inc. (1995)

    Google Scholar 

  6. Burstall, R.M., Darlington, J.: A Transformation System for Developing Recursive Programs. Journal of the ACM 24(1), 44–67 (1977)

    Article  MATH  MathSciNet  Google Scholar 

  7. Guadarrama, S., Muñoz, S., Vaucheret, C.: Fuzzy Prolog: A new approach using soft constraints propagation. Fuzzy Sets and Systems 144(1), 127–150 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  8. Guerrero, J.A., Moreno, G.: Optimizing fuzzy logic programs by unfolding, aggregation and folding. Electronic Notes in Theoretical Computer Science 219, 19–34 (2008)

    Article  Google Scholar 

  9. Hanus, M. (ed.). Curry: An integrated functional logic language (vers. 0.8.3) (2012). http://www.curry-language.org

  10. Hutton, G.: Programming in Haskell. Cambridge University Press (2007)

    Google Scholar 

  11. Ishizuka, M., Kanai, N.: Prolog-ELF incorporating fuzzy logic. In: Joshi, A.K. (eds.) Proceedings of the 9th Int. Joint Conference on Artificial Intelligence, IJCAI 1985, pp. 701–703. Morgan Kaufmann (1985)

    Google Scholar 

  12. Julián-Iranzo, P., Medina-Moreno, J., Morcillo, P.J., Moreno, G., Ojeda-Aciego, M.: An Unfolding-Based Preprocess for Reinforcing Thresholds in Fuzzy Tabulation. In: Rojas, I., Joya, G., Gabestany, J. (eds.) IWANN 2013, Part I. LNCS, vol. 7902, pp. 647–655. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  13. Julián, P., Moreno, G., Penabad, J.: On Fuzzy Unfolding. A Multi-adjoint Approach. Fuzzy Sets and Systems 154, 16–33 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  14. Julián, P., Moreno, G., Penabad, J.: Operational/Interpretive Unfolding of Multi-adjoint Logic Programs. Journal of Universal Computer Science 12(11), 1679–1699 (2006)

    Google Scholar 

  15. Julián, P., Moreno, G., Penabad, J., Vázquez, C.: A fuzzy logic programming environment for managing similarity and truth degrees. Electronic Proceedings in Theoretical Computer Science 173, 71–86 (2014)

    Article  Google Scholar 

  16. Lloyd, J.W.: Foundations of Logic Programming. Springer, Berlin (1987)

    Book  MATH  Google Scholar 

  17. Medina, J., Ojeda-Aciego, M., Vojtáš, P.: Similarity-based Unification: a multi-adjoint approach. Fuzzy Sets and Systems 146, 43–62 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  18. Morcillo, P.J., Moreno, G.: Modeling Interpretive Steps in Fuzzy Logic Computations. In: Di Gesù, V., Pal, S.K., Petrosino, A. (eds.) WILF 2009. LNCS, vol. 5571, pp. 44–51. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  19. Morcillo, P.J., Moreno, G.: On cost estimations for executing fuzzy logic programs. In: Arabnia, H.R., et al. (eds.) Proceedings of the 11th International Conference on Artificial Intelligence, ICAI 2009, July 13–16, Las Vegas, Nevada, USA, pp. 217–223. CSREA Press (2009)

    Google Scholar 

  20. Morcillo, P.J., Moreno, G., Penabad, J., Vázquez, C.: Fuzzy Computed Answers Collecting Proof Information. In: Cabestany, J., Rojas, I., Joya, G. (eds.) IWANN 2011, Part II. LNCS, vol. 6692, pp. 445–452. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  21. Moreno, G.: A narrowing-based instantiation rule for rewriting-based fold/unfold transformations. Electronic Notes in Theoretical Computer Science 86(3), 144–167 (2003)

    Article  Google Scholar 

  22. Tamaki, H., Sato, T.: Unfold/Fold Transformations of Logic Programs. In: Tärnlund, S. (ed.) Proc. of Second Int’l Conf. on Logic Programming, pp. 127–139 (1984)

    Google Scholar 

  23. Vojtáš, P., Paulík, L.: Soundness and completeness of non-classical extended SLD-resolution. In Dyckhoff, R. et al. (eds.) Proc. ELP 1996 Leipzig, pp. 289–301. LNCS 1050. Springer (1996)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ginès Moreno .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Morcillo, P.J., Moreno, G. (2015). Improving Multi-adjoint Logic Programs by Unfolding Fuzzy Connective Definitions. In: Rojas, I., Joya, G., Catala, A. (eds) Advances in Computational Intelligence. IWANN 2015. Lecture Notes in Computer Science(), vol 9094. Springer, Cham. https://doi.org/10.1007/978-3-319-19258-1_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-19258-1_42

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-19257-4

  • Online ISBN: 978-3-319-19258-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics