De Bruijn notation
In mathematical logic, the De Bruijn notation is a syntax for terms in the λ calculus invented by the Dutch mathematician Nicolaas Govert de Bruijn.[src] It can be seen as a reversal of the usual syntax for the λ calculus where the argument in an application is placed next to its corresponding binder in the function instead of after the latter's body.[src]
In mathematical logic, the De Bruijn notation is a syntax for terms in the λ calculus invented by the Dutch mathematician Nicolaas Govert de Bruijn.[src] It can be seen as a reversal of the usual syntax for the λ calculus where the argument in an application is placed next to its corresponding binder in the function instead of after the latter's body.[src] M,N,...[src] ::=\ v\ |\ [v]\;M\ |\ (M)\;N Terms in the traditional syntax can be converted to the De Bruijn notation by defining an inductive function \mathcal{I} for which: \begin{align} \mathcal{I}(v) &= v \\ \mathcal{I}(\lambda v.\ M) &= [v]\;\mathcal{I}(M) \\ \mathcal{I}(M\;N) &= (\mathcal{I}(N))\mathcal{I}(M).[src] \end{align} All operations on λ-terms commute with respect to the \mathcal{I} translation.[src] For example, the usual β-reduction, (\lambda v.\ M)\;N\ \ \longrightarrow_\beta\ \ M[v := N] in the De Bruijn notation is, predictably, (N)\;[v]\;M\ \ \longrightarrow_\beta\ \ M[v := N].[src] A feature of this notation is that abstractor and applicator wagons of β-redexes are paired like parentheses.[src] For example, consider the stages in the β-reduction of the term (M)\;(N)\;[u]\;(P)\;[v]\;[w]\;(Q)\;z , where the redexes are underlined: \begin{align} (M)\;\underline{(N)\;[u]}\;(P)\;[v]\;[w]\;(Q)\;z &{\ \longrightarrow_\beta\ } (M)\;\underline{(P[u:=N])\;[v]}\;[w]\;(Q[u:=N])\;z \\ &{\ \longrightarrow_\beta\ } \underline{(M)\;[w]}\;(Q[u:=N,v:=P[u:=N]])\;z \\ &{\ \longrightarrow_\beta\ } (Q[u:=N,v:=P[u:=N],w:=M])\;z.[src] \end{align} Thus, if one views the applicator as an open paren (' ( ') and the abstractor as a close bracket (' ] '), then the pattern in the above term is ' ((](]] '.[src] De Bruijn called an applicator and its corresponding abstractor in this interpretation partners, and wagons without partners bachelors.[src] A sequence of wagons, which he called a segment, is well balanced if all its wagons are partnered.[src]
13 sentences · 13 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"De Bruijn notation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/de-bruijn-notation. Accessed 30 November 2026.
Chicago
"De Bruijn notation." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/de-bruijn-notation.
APA
encyclopegia.org. (2026). De Bruijn notation. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/de-bruijn-notation
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON