Network


Latest external collaboration on country level. Dive into details by clicking on the dots.

Hotspot


Dive into the research topics where Francisco Javier López-Fraguas is active.

Publication


Featured researches published by Francisco Javier López-Fraguas.


rewriting techniques and applications | 1999

TOY: A Multiparadigm Declarative System

Francisco Javier López-Fraguas; Jaime Sánchez Hernández

TOY is the concrete implementation of CRWL, a wide theoretical framework for declarative programming whose basis is a constructor based rewriting logic with lazy non-deterministic functions as the core notion. Other aspects of CRWL supported by TOY are: polymorphic types; HO features; equality and disequality constraints over terms and linear constraints over real numbers; goal solving by needed narrowing combined with constraint solving. The implementation is based on a compilation of TOY programs into Prolog.


Journal of Logic Programming | 1999

An approach to declarative programming based on a rewriting logic

J.C. González-Moreno; M.T. Hortalá-González; Francisco Javier López-Fraguas; Mario Rodríguez-Artalejo

Abstract We propose an approach to declarative programming which integrates the functional and relational paradigms by taking possibly non-deterministic lazy functions as the fundamental notion. Classical equational logic does not supply a suitable semantics in a natural way. Therefore, we suggest to view programs as theories in a constructor-based conditional rewriting logic. We present proof calculi and a model theory for this logic, and we prove the existence of free term models which provide an adequate intended semantics for programs. We develop a sound and strongly complete lazy narrowing calculus, which is able to support sharing without the technical overhead of graph rewriting and to identify safe cases for eager variable elimination. Moreover, we give some illustrative programming examples, and we discuss the implementability of our approach.


international symposium on programming language implementation and logic programming | 1993

A Demand Driven Computation Strategy for Lazy Narrowing

Rita Loogen; Francisco Javier López-Fraguas; Mario Rodríguez-Artalejo

Many recent proposals for the integration of functional and logic programming use conditional term rewriting systems (CTRS) as programs and narrowing as goal solving mechanism. This paper specifies a computation strategy for lazy conditional narrowing, based on the idea of transforming patterns into decision trees to control the computation. The specification is presented as a translation of CTRS into Prolog, which makes it executable and portable. Moreover, in comparison to related approaches, our method works for a wider class of CTRS.


european symposium on programming | 1996

A Rewriting Logic for Declarative Programming

J. C. González-Moreno; Maria Teresa Hortalá-González; Francisco Javier López-Fraguas; Mario Rodríguez-Artalejo

We propose an approach to declarative programming which integrates the functional and relational paradigms by taking possibly non-deterministic lazy functions as the fundamental notion. Programs in our paradigm are theories in a constructor-based conditional rewriting logic. We present proof calculi and a model theory for this logic, and we prove the existence of free term models which provide an adequate intended semantics for programs. Moreover, we develop a sound and strongly complete lazy narrowing calculus, which is able to support sharing without the technical overhead of graph rewriting and to identify safe cases for eager variable elimination.


principles and practice of declarative programming | 2007

A simple rewrite notion for call-time choice semantics

Francisco Javier López-Fraguas; Juan Rodríguez-Hortalá; Jaime Sánchez-Hernández

Non-confluent and non-terminating rewrite systems are interesting from the point of view of programming. In particular, existing functional logic languages use such kind of rewrite systems to define possibly non-strict non-deterministic functions. The semantics adopted for non-determinism is call-time choice, whose combination with non-strictness is not a trivial issue that has been addressed from a semantic point of view in the Constructor-based Rewriting Logic (CRWL) framework. We investigate here how to express call-time choice and non-strict semantics from a point of view closer to classical rewriting. The proposed notion of rewriting uses an explicit representation for sharing with let-constructions and is proved to be equivalent to the CRWL approach. Moreover, we relate this let-rewriting relation (and hence CRWL) with ordinary rewriting, providing in particular soundness and completeness of let-rewriting with respect to rewriting for a class of programs which are confluent in a certain semantic sense.


international symposium on functional and logic programming | 2001

Theoretical Foundations for the Declarative Debugging of Lazy Functional Logic Programs

Rafael Caballero; Francisco Javier López-Fraguas; Mario Rodríguez-Artalejo

The aim of this paper is to provide theoretical foundations for the declarative debugging of wrong answers in lazy functional logic programming. We rely on a logical framework which formalizes both the intended meaning and the execution model of programs in a simple language which combines the expressivity of pure Prolog and a significant subset of Haskell. As novelties w.r.t. to previous related approaches, we deal with functional values both as arguments and as results of higher order functions, we obtain a completely formal specification of the debugging method, and we extend known soundness and completeness results for the debugging of wrong answers in logic programming to a substantially more difficult context. A prototype implementation of a working debugger is planned as future work.


principles and practice of declarative programming | 2004

A lazy narrowing calculus for declarative constraint programming

Francisco Javier López-Fraguas; Mario Rodríguez-Artalejo; Rafael del Vado Vírseda

The new generic scheme CFLP (D) has been recently proposed in [24] as a logical and semantic framework for lazy constraint functional logic programming over a parametrically given constraint domain D. In this paper we extend such framework with a suitable operational semantics, which relies on a new constrained lazy narrowing calculus for goal solving parameterized by a constraint solver over the given domain D. This new calculus is sound and strongly complete w.r.t. the declarative semantics of CFLP (D)programs, which was formalized in [24] by means of a Constraint Rewriting Logic CRWL (D).


Theory and Practice of Logic Programming | 2004

A proof theoretic approach to failure in functional logic programming

Francisco Javier López-Fraguas; Jaime Sánchez-Hernández

How to extract negative information from programs is an important issue in logic programming. Here we address the problem for functional logic programs, from a proof-theoretic perspective. The starting point of our work is CRWL (Constructor based ReWriting Logic), a well established theoretical framework for functional logic programming, whose fundamental notion is that of non-strict non-deterministic function. We present a proof calculus, CRWLF, which is able to deduce negative information from CRWL-programs. In particular, CRWLF is able to prove ‘finite’ failure of reduction within CRWL.


Electronic Notes in Theoretical Computer Science | 2007

Extra Variables Can Be Eliminated from Functional Logic Programs

Javier de Dios Castro; Francisco Javier López-Fraguas

Programs in modern functional logic languages are rewrite systems following the constructor discipline but where confluence and termination are not required, thus defining possibly non strict and non-deterministic functions. While in practice and in some theoretical papers rewrite rules can contain extra variables in right hand sides, some other works and techniques do not consider such possibility. We address in this paper the question of whether extra variables can be eliminated in such kind of functional logic programs, proving the soundness and completeness of an easy solution that takes advantage of the possibility of non-confluence. Although the focus of the paper is mainly theoretical, we give some first steps towards the practical usability of the technique.


international symposium on functional and logic programming | 1999

A Functional-Logic Perspective on Parsing

Rafael Caballero; Francisco Javier López-Fraguas

Parsing has been a traditional workbench for showing the virtues of declarative programming. Both logic and functional programming claim the ability of writing parsers in a natural and concise way. We address here the task from a functional-logic perspective. By modelling parsers as non-deterministic functions we achieve a very natural manner of building parsers, which combines the nicest properties of the functional and logic approaches. In particular, we are able to define parsers within our framework in a style very close to that of functional programming parsers, but using simpler concepts. Moreover, we have moved beyond usual declarative approaches to parsers, since the functional-logic parsers presented here can be considered as truly data values. As an example of this feature we define a function that detects ambiguous grammars.

Collaboration


Dive into the Francisco Javier López-Fraguas's collaboration.

Top Co-Authors

Avatar

Juan Rodríguez-Hortalá

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

Jaime Sánchez-Hernández

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

Mario Rodríguez-Artalejo

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

Enrique Martin-Martin

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

Rafael Caballero

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

Puri Arenas-Sánchez

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar
Top Co-Authors

Avatar

Jaime Sánchez Hernández

Complutense University of Madrid

View shared research outputs
Top Co-Authors

Avatar

José Miguel Cleva

Complutense University of Madrid

View shared research outputs
Researchain Logo
Decentralizing Knowledge