Almost Every Simply Typed Lambda-Term Has a Long Beta-Reduction Sequence

01/11/2018
by   Kazuyuki Asada, et al.
0

It is well known that the length of a beta-reduction sequence of a simply typed lambda-term of order k can be huge; it is as large as k-fold exponential in the size of the lambda-term in the worst case. We consider the following relevant question about quantitative properties, instead of the worst case: how many simply typed lambda-terms have very long reduction sequences? We provide a partial answer to this question, by showing that asymptotically almost every simply typed lambda-term of order k has a reduction sequence as long as (k-1)-fold exponential in the term size, under the assumption that the arity of functions and the number of variables that may occur in every subterm are bounded above by a constant. To prove it, we have extended the infinite monkey theorem for strings to a parametrized one for regular tree languages, which may be of independent interest. The work has been motivated by quantitative analysis of the complexity of higher-order model checking.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/10/2020

A Normal Sequence Compressed by PPM^* but not by Lempel-Ziv 78

In this paper we compare the difference in performance of two of the Pre...
research
06/02/2023

Third Order Matching is Decidable

The higher order matching problem is the problem of determining whether ...
research
06/10/2019

On Embedding De Bruijn Sequences by Increasing the Alphabet Size

The generalization of De Bruijn sequences to infinite sequences with res...
research
02/28/2018

Reducing Lambda Terms with Traversals

We introduce a method to evaluate untyped lambda terms by combining the ...
research
09/23/2020

Local Higher-Order Fixpoint Iteration

Local fixpoint iteration describes a technique that restricts fixpoint i...
research
05/31/2019

Model Checking Quantitative Hyperproperties

Hyperproperties are properties of sets of computation traces. In this pa...
research
03/27/2020

A squarefree term not occurring in the Leech sequence

Let < a r r a y > The Leech sequence L is the squarefree sequence ...

Please sign up or login with your details

Forgot password? Click here to reset