arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Artificial Intelligence

Recursive Expressions

Wim H. Hesselink, Th March (whh

See on the map

Abstract

"Recursive expressions" is an expression language that allows explicit substitution recursively. It lacks functional abstraction, function application and higher order functions, but is powerful enough to construct all partial recursive functions. It may be regarded as a lazy first-order functional language without functions. We give fixpoint semantics and rewrite semantics and prove equality between these semantics. In other words, it is proved that the rewrite semantics is sound and complete with respect to the (necessarily lazy) fixpoint semantics. Keywords: recursion, expression, lazy evaluation, fixpoint semantics, rewrite system. 1 Introduction We propose a language of "recursive expressions" with the following easy syntax: (0) Exp = val j var j Mvar j ( Exp fi Exp ) j ( Exp with var = Exp ) : where val stands for values (numbers or pairs of values), var stands for variables, Mvar stands for metavariables, and fi stands for operations. Variables get meaning via the with const...

More like this