Term Evaluation Systems with Refinements: First-Order, Second-Order, and Contextual Improvement

被引:0
|
作者
Muroya, Koko [1 ]
Hamana, Makoto [2 ]
机构
[1] Kyoto Univ, RIMS, Kyoto, Japan
[2] Kyushu Inst Technol, Kitakyushu, Fukuoka, Japan
来源
FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2024 | 2024年 / 14659卷
关键词
term rewriting; evaluation contexts; critical pair analysis;
D O I
10.1007/978-981-97-2300-3_3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
For a programming language, there are two kinds of term rewriting: run-time rewriting ("evaluation") and compile-time rewriting ("refinement"). Whereas refinement resembles general term rewriting, evaluation is commonly constrained by Felleisen's evaluation contexts. While evaluation specifies a programming language, refinement models optimisation and should be validated with respect to evaluation. Such validation can be given by Sands' notion of contextual improvement. We formulate evaluation in a term-rewriting-theoretic manner for the first time, and introduce Term Evaluation and Refinement Systems (TERS). We then identify sufficient conditions for contextual improvement, and provide critical pair analysis for local coherence that is the key sufficient condition. As case studies, we prove contextual improvement for a computational lambda-calculus and its extension with effect handlers.
引用
收藏
页码:31 / 61
页数:31
相关论文
共 50 条
  • [21] The temporal properties of first-order and second-order vision
    Schofield, A
    Georgeson, MA
    PERCEPTION, 1998, 27 (12) : 1489 - 1489
  • [22] Centrifugal bias for second-order but not first-order motion
    Dumoulin, SO
    Baker, CL
    Hess, RF
    JOURNAL OF THE OPTICAL SOCIETY OF AMERICA A-OPTICS IMAGE SCIENCE AND VISION, 2001, 18 (09) : 2179 - 2189
  • [23] SECOND-ORDER RELIABILITY METHOD WITH FIRST-ORDER EFFICIENCY
    Du, Xiaoping
    Zhang, Junfu
    PROCEEDINGS OF THE ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE 2010, VOL 1, PTS A AND B, 2010, : 973 - 984
  • [24] Foundational, First-Order, and Second-Order Classification Theory
    Tennis, Joseph T.
    KNOWLEDGE ORGANIZATION, 2015, 42 (04): : 244 - 249
  • [25] Limited Second-Order Functionality in a First-Order Setting
    Kaufmann, Matt
    Moore, J. Strother
    JOURNAL OF AUTOMATED REASONING, 2020, 64 (03) : 391 - 422
  • [26] Axiomatizations of arithmetic and the first-order/second-order divide
    Catarina Dutilh Novaes
    Synthese, 2019, 196 : 2583 - 2597
  • [27] First-order and second-order motion: neurological evidence for neuroanatomically distinct systems
    Vaina, LM
    Soloviev, S
    ROOTS OF VISUAL AWARENESS: A FESTSCHRIFT IN HONOR OF ALAN COWEY, 2003, 144 : 197 - 212
  • [28] First-Order Controllers Design for Second-Order Integrating Systems with Time Delay
    Reza-Alikhani, Hamid-Reza
    Madady, Ali
    2013 IEEE INTERNATIONAL CONFERENCE ON CONTROL APPLICATIONS (CCA), 2013, : 784 - 789
  • [29] Overshoot and settling time assignment with PID for first-order and second-order systems
    Nam Hoai Nguyen
    Phuoc Doan Nguyen
    IET CONTROL THEORY AND APPLICATIONS, 2018, 12 (17): : 2407 - 2416
  • [30] Relations Between Second-Order Fuchsian Equations and First-Order Fuchsian Systems
    Babich M.V.
    Slavyanov S.Y.
    Journal of Mathematical Sciences, 2019, 240 (5) : 646 - 650