## Refocusing in Reduction Semantics (2004)

by
Olivier Danvy
,
Lasse R. Nielsen

Citations: | 13 - 4 self |

### BibTeX

@MISC{Danvy04refocusingin,

author = {Olivier Danvy and Lasse R. Nielsen},

title = {Refocusing in Reduction Semantics},

year = {2004}

}

### OpenURL

### Abstract

The evaluation function of a reduction semantics (i.e., a small-step operational semantics with an explicit representation of the reduction context) is canonically defined as the transitive closure of (1) decomposing a term into a reduction context and a redex, (2) contracting this redex, and (3) plugging the contractum in the context. Directly implementing this evaluation function therefore yields an interpreter with a worst-case overhead, for each step, that is linear in the size of the input term. We present