A transformation system for lazy functional logic programs

被引:0
|
作者
Alpuente, M
Falaschi, M
Moreno, G
Vidal, G
机构
[1] Univ Politecn Valencia, DSIC, Valencia 46022, Spain
[2] Univ Udine, Dipartimento Matemat & Informat, I-33100 Udine, Italy
[3] UCLM, Dept Informat, Albacete 02071, Spain
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Needed narrowing is a complete operational principle for modern declarative languages which integrate the best features of (lazy) functional and logic programming. We define a transformation methodology for functional logic programs based on needed narrowing. We provide (strong) correctness results for the transformation system w.r.t. the set of computed values and answer substitutions and show that the prominent properties of needed narrowing -namely, the optimality w.r.t. the length of derivations and the number of computed solutions- carry over to the transformation process and the transformed programs. We illustrate the power of the system by taking on in our setting two well-known transformation strategies (composition and tupling). We also provide an implementation of the transformation system which, by means of some experimental results, highlights the benefits of our approach.
引用
收藏
页码:147 / 162
页数:16
相关论文
共 50 条
  • [41] DERIVATION OF LOGIC PROGRAMS BY FUNCTIONAL METHODS
    BIJLSMA, A
    [J]. INFORMATION PROCESSING LETTERS, 1991, 39 (06) : 325 - 332
  • [42] SFLP: a solver for functional logic programs
    Hamada, M
    Ida, T
    [J]. PROCEEDINGS OF THE FIFTH JOINT CONFERENCE ON INFORMATION SCIENCES, VOLS 1 AND 2, 2000, : 466 - 469
  • [43] Liberal Typing for Functional Logic Programs
    Lopez-Fraguas, Francisco
    Martin-Martin, Enrique
    Rodriguez-Hortala, Juan
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, 2010, 6461 : 80 - 96
  • [44] Concolic Testing of Functional Logic Programs
    Tikovsky, Jan Rasmus
    [J]. DECLARATIVE PROGRAMMING AND KNOWLEDGE MANAGEMENT, DECLARE 2017, 2018, 10997 : 169 - 186
  • [45] Controlling search in functional logic programs
    Hanus, M
    Steiner, F
    [J]. LOGIC PROGRAMMING - PROCEEDINGS OF THE 1998 JOINT INTERNATIONAL CONFERENCE AND SYMPOSIUM ON LOGIC PROGRAMMING, 1998, : 347 - 348
  • [46] Partial evaluation of functional logic programs
    Alpuente, M
    Falaschi, M
    Vidal, G
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 20 (04): : 768 - 844
  • [47] The Least Fixpoint Transformation for Disjunctive Logic Programs
    王克文
    陈火旺
    吴泉源
    [J]. Journal of Computer Science & Technology, 1998, (03) : 193 - 201
  • [48] Proving failure in functional logic programs
    López-Fraguas, FJ
    Sánchez-Hernández, J
    [J]. COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 179 - 193
  • [49] Free Theorems for Functional Logic Programs
    Christiansen, Jan
    Seidel, Daniel
    Voigtlaender, Janis
    [J]. PLPV'10: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON PROGRAMMING LANGUAGES MEETS PROGRAM VERIFICATION, 2010, : 39 - 48
  • [50] Nondeterminism analysis of functional logic programs
    Brassel, B
    Hanus, M
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2005, 3668 : 265 - 279