Towards the average-case analysis of substitution resolution in \lambda-calculus
From MaRDI portal
Towards the average-case analysis of substitution resolution in $\lambda$-calculus
Abstract: Substitution resolution supports the computational character of -reduction, complementing its execution with a capture-avoiding exchange of terms for bound variables. Alas, the meta-level definition of substitution, masking a non-trivial computation, turns -reduction into an atomic rewriting rule, despite its varying operational complexity. In the current paper we propose a somewhat indirect average-case analysis of substitution resolution in the classic -calculus, based on the quantitative analysis of substitution in , an extension of -calculus internalising the -calculus of explicit substitutions. Within this framework, we show that for any fixed , the probability that a uniformly random, conditioned on size, -term -normalises in normal-order (i.e. leftmost-outermost) reduction steps tends to a computable limit as the term size tends to infinity. For that purpose, we establish an effective hierarchy of regular tree grammars partitioning -normalisable terms into classes of terms normalising in normal-order rewriting steps. The main technical ingredient in our construction is an inductive approach to the construction of out of based, in turn, on the algorithmic construction of finite intersection partitions, inspired by Robinson's unification algorithm. Finally, we briefly discuss applications of our approach to other term rewriting systems, focusing on two closely related formalisms, i.e. the full -calculus and combinatory logic.
This page was built for publication: Towards the average-case analysis of substitution resolution in $\lambda$-calculus
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6311025)