Comparing curried and uncurried rewriting

被引:22
作者
Kennaway, R
Klop, JW
Sleep, R
DeVries, FJ
机构
[1] CTR WISKUNDE & INFORMAT, 1098 SJ AMSTERDAM, NETHERLANDS
[2] NIPPON TELEGRAPH & TEL PUBL CORP, COMMUN SCI LABS, KYOTO 61902, JAPAN
关键词
D O I
10.1006/jsco.1996.0002
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Currying is a transformation of term rewrite systems which may contain symbols of arbitrary arity into systems which contain only nullary symbols, together with a single binary symbol called application. We show that for all term rewrite systems (whether orthogonal or not) the following properties are preserved by this transformation: strong normalization, weak normalization, weak Church-Rosser, completeness, semi-completeness, and the non-convertibility of distinct normal forms. Under the condition of left-linearity we show preservation of the properties NF (if a term is reducible to a normal form, then its reducts are all reducible to the same normal form) and UN--> (a term is reducible to at most one normal form). We exhibit counterexamples to the preservation of NF and UN--> for non-left-linear systems. The results extend to partial currying (where some subset of the symbols are curried), and imply some modularity properties for unions of applicative systems. (C) 1996 Academic Press Limited
引用
收藏
页码:15 / 39
页数:25
相关论文
共 17 条
  • [1] [Anonymous], 1988, FUNCTIONAL PROGRAMMI
  • [2] Curry H.B., 1958, Combinatory Logic, V1
  • [3] PROVING TERMINATION WITH MULTI-SET ORDERINGS
    DERSHOWITZ, N
    MANNA, Z
    [J]. COMMUNICATIONS OF THE ACM, 1979, 22 (08) : 465 - 476
  • [4] DERSHOWITZ N, 1990, HDB THEORETICAL COMP, VB, pCH6
  • [5] Confluence of curried term-rewriting systems
    Kahrs, S
    [J]. JOURNAL OF SYMBOLIC COMPUTATION, 1995, 19 (06) : 601 - 623
  • [6] Kennaway J. R., 1982, P ACM S LISP FUNCT P, P21
  • [7] KENNAWAY JR, 1993, SERIES QUAESTIONES I, V5, P57
  • [8] KLOP JW, 1992, HDB LOGIC COMPUTER S, V2
  • [9] KLOP JW, 1980, MATH CTR TRACTS, V127
  • [10] Kruskal J.B., 1960, T AM MATH SOC, V95, P210, DOI [DOI 10.1090/S0002-9947-1960-0111704-1, DOI 10.2307/1993287]