1 research outputs found

    Linear Depth Increase of Lambda Terms along Leftmost-Outermost Beta-Reduction

    Full text link
    Performing nn steps of β\beta-reduction to a given term in the λ\lambda-calculus can lead to an increase in the size of the resulting term that is exponential in nn. The same is true for the possible depth increase of terms along a β\beta-reduction sequence. We explain that the situation is different for the leftmost-outermost strategy for β\beta-reduction: while exponential size increase is still possible, depth increase is bounded linearly in the number of steps. For every λ\lambda-term MM with depth dd, in every step of a leftmost-outermost β\beta-reduction rewrite sequence starting from MM the term depth increases by at most dd. Hence the depth of the nn-th reduct of MM in such a rewrite sequence is bounded by d⋅(n+1)d\cdot (n+1). We prove the lifting of this result to λ\lambda-term representations as orthogonal first-order term rewriting systems, which can be obtained by the lambda-lifting transformation. For the transfer to lambda-calculus, we rely on correspondence statements via lambda-lifting. We argue that the linear-depth-increase property can be a stepping stone for an alternative proof of, and so can shed new light on, a result by Accattoli and Dal Lago (2015) that states: leftmost-outermost β\beta-reduction rewrite sequences of length nn in the lambda-calculus can be implemented on a reasonable machine with an overhead that is polynomial in nn and the size of the initial term
    corecore