Böhm tree
In the study of denotational semantics of the lambda calculus, Böhm trees, Lévy-Longo trees, and Berarducci trees are (potentially infinite) tree-like mathematical objects that capture the "meaning" of a term up to some set of "meaningless" terms. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In the study of denotational semantics of the lambda calculus, Böhm trees, Lévy-Longo trees, and Berarducci trees are (potentially infinite) tree-like mathematical objects that capture the "meaning" of a term up to some set of "meaningless" terms. ==Motivation== A simple way to read the meaning of a computation is to consider it as a mechanical procedure consisting of a finite number of steps that, when completed, yields a result. In particular, considering the lambda calculus as a rewriting system, each beta reduction step is a rewrite step, and once there are no further beta reductions the term is in normal form. We could thus, naively following Church's suggestion, say the meaning of a term is its normal form, and that terms without a normal form are meaningless. For example, the meanings of \mathbf{I} = \lambda x.x and \mathbf{II} are both \mathbf{I} . This works for any strongly normalizing subset of the lambda calculus, such as a typed lambda calculus. This naive assignment of meaning is however inadequate for the full lambda calculus. The term \mathbf{\Omega} = (\lambda x.xx)(\lambda x.xx) does not have a normal form, and similarly the term \mathbf{X} = \lambda x.x\mathbf{\Omega} does not have a normal form. But the application \mathbf{\Omega}(\mathbf{KI}) , where \mathbf{K} denotes the standard lambda term \lambda x.\lambda y.x , reduces only to itself, whereas the application \mathbf{X}(\mathbf{KI}) reduces with normal order reduction to \mathbf{I} , hence has a meaning. We thus see that not all non-normalizing terms are equivalent. We would like to say that \mathbf{\Omega} is less meaningful than \mathbf{X} because applying \mathbf{X} to a term can produce a result but applying \mathbf{\Omega} cannot. Böhm trees may also be applied in the context of the infinitary lambda calculus, which includes infinitely large terms. In this context, the term \mathbf{NN} , where \mathbf{N} = \lambda x.\mathbf{I}(xx) , reduces to both to \mathbf{I}(\mathbf{I}(\dots)) and \mathbf{\Omega} , hence there are also issues with confluence of normalization. The set of λ-terms with ⊥ (abbreviated λ⊥-terms) is defined coinductively by the grammar M = \bot \mid x \mid (\lambda x. M) \mid (M M) . This corresponds to the standard infinitary lambda calculus plus terms containing \bot . Beta-reduction on this set is defined in the standard way. Given a set of meaningless terms U , we also define a reduction to bottom: if M[\bot \mapsto \mathbf{\Omega}] \in U and M \neq \bot , then M \to \bot . The λ⊥-terms are then considered as a rewriting system with these two rules; thanks to the definition of meaningless terms this rewriting system is confluent and normalizing. The Böhm-like "tree" for a term may then be obtained as the normal form of the term in this system, possibly in an infinitary "in the limit" sense if the term expands infinitely. \mathrm{BT}(M) = \lambda x_1.\lambda x_2.\ldots\lambda x_n.y \mathrm{BT}(M_1) \ldots \mathrm{BT}(M_m) , if M reduces in a finite number of steps to the head normal form \lambda x_1.\lambda x_2.\ldots\lambda x_n.y M_1 \ldots M_m For example, \mathrm{BT}(\mathbf{\Omega}) = \bot , \mathrm{BT}(\mathbf{I}) = \mathbf{I} and \mathrm{BT}(\lambda x.x\mathbf{\Omega}) = \lambda x.x\bot . Determining whether a term has a head normal form is an undecidable problem. Barendregt introduced a notion of an "effective" Böhm tree that is computable, with the only difference being that terms with no head normal form are not marked with \bot . Note that computing the Böhm tree is similar to finding a normal form for M. If M has a normal form, the Böhm tree is finite and has a simple correspondence to the normal form. If M does not have a normal form, normalization may "grow" some subtrees infinitely, or it may get "stuck in a loop" attempting to produce a result for part of the tree, which produce infinitary trees and meaningless terms respectively. Since the Böhm tree may be infinite the procedure should be understood as being applied co-recursively or as taking the limit of an infinite series of approximations. If M reduces to the weak head normal form y M_1 \ldots M_m , then \mathrm{LLT}(M) = y \mathrm{LLT}(M_1) \ldots \mathrm{LLT}(M_m) . If M reduces to the weak head normal form \lambda x.N , then \mathrm{LLT}(M) = \lambda x.\mathrm{LLT}(N) / If M reduces to a term \lambda x.N , then \mathrm{BerT}(M) = \lambda x.\mathrm{BerT}(N) . If M reduces to a term N P where N does not reduce to any abstraction \lambda x. Q , then \mathrm{BerT}(M) = \mathrm{BerT}(N) \mathrm{BerT}(P) . ==Notes== ==References==
Cite this
"Böhm tree". 1775668926. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1347779853 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy