Skip to main content
QUICK REVIEW

[Paper Review] Counting isomorphism classes of $β$-normal linear lambda terms

Noam Zeilberger|arXiv (Cornell University)|Sep 25, 2015
Logic, programming, and type systemsComputer Science3 references4 citations
TL;DR

This paper establishes a precise numerical correspondence between isomorphism classes of closed β-normal linear lambda terms—up to free local exchange of adjacent lambda abstractions—and rooted maps on oriented surfaces. Using generating functions and a functional equation derived from Arquès and Beraud's work, it proves that the count of such lambda terms of size $ n+1 $ with $ k $ free variables matches the number of rooted maps with $ n $ edges and $ k $ vertices, confirming a deep combinatorial connection between linear lambda calculus and topological graph theory.

ABSTRACT

Unanticipated connections between different fragments of lambda calculus and different families of embedded graphs (a.k.a. "maps") motivate the problem of enumerating $β$-normal linear lambda terms. In this brief note, it is shown (by appeal to a theorem of Arquès and Beraud) that the sequence counting isomorphism classes of $β$-normal linear lambda terms up to free exchange of adjacent lambda abstractions coincides with the sequence counting isomorphism classes of rooted maps on oriented surfaces (A000698).

Motivation & Objective

  • To investigate the combinatorial structure of β-normal linear lambda terms under a natural isomorphism relation based on free local exchange of adjacent lambda abstractions.
  • To determine whether the enumeration of such isomorphism classes aligns with known combinatorial sequences from map theory.
  • To establish a formal connection between the generating functions of linear lambda terms and those of rooted maps on oriented surfaces.
  • To provide evidence—via functional equations and generating function analysis—that the correspondence is not coincidental but mathematically grounded.

Proposed method

  • Define isomorphism classes of β-normal linear lambda terms under free local exchange of adjacent lambda abstractions, where adjacent λ-abstractions can be freely reordered.
  • Introduce generating functions $ \tilde{L}_B(z,x) $ and $ \tilde{L}_R(z,x) $ to count neutral and normal terms respectively, with variables tracking size and number of free variables.
  • Derive a functional equation $ \tilde{L}_B(z,x) = x + z \tilde{L}_B(z,x) \tilde{L}_B(z,x+1) $ by modeling lambda abstraction as a derivative-like operation and accounting for variable ordering via factorial normalization.
  • Apply a result from Arquès and Beraud (2000) showing that this functional equation uniquely characterizes the generating function for rooted maps on oriented surfaces by number of edges and vertices.
  • Use the functional equation to prove that the coefficient of $ z^n x^k $ in $ \tilde{L}_B(z,x) $ equals the number of rooted maps with $ n $ edges and $ k $ vertices.
  • Confirm the match by showing that the number of closed β-normal linear lambda terms of size $ n+1 $ equals the number of rooted maps with $ n $ edges, via evaluation at $ x=0 $.

Experimental results

Research questions

  • RQ1Does the number of isomorphism classes of closed β-normal linear lambda terms, modulo free local exchange of adjacent lambda abstractions, match a known combinatorial sequence?
  • RQ2Can the generating function for such lambda terms be shown to satisfy the same functional equation as that of rooted maps on oriented surfaces?
  • RQ3Is there a structural or algebraic reason for the observed numerical coincidence between linear lambda terms and rooted maps?
  • RQ4Does the correspondence extend beyond small sizes, and is it preserved under size and variable count parameters?

Key findings

  • The number of isomorphism classes of closed β-normal linear lambda terms of size $ n+1 $ matches the number of rooted maps with $ n $ edges, confirming the sequence A000698.
  • The generating function $ \tilde{L}_B(z,x) $ for neutral terms satisfies the functional equation $ \tilde{L}_B(z,x) = x + z \tilde{L}_B(z,x) \tilde{L}_B(z,x+1) $, which is known to generate rooted maps by edges and vertices.
  • The coefficient of $ z^n x^k $ in $ \tilde{L}_B(z,x) $ gives the number of rooted maps with $ n $ edges and $ k $ vertices on oriented surfaces of arbitrary genus.
  • The number of isomorphism classes of closed β-normal linear lambda terms of size $ n+1 $ equals the number of rooted maps with $ n $ edges, as shown by evaluating $ \tilde{L}_R(z,0) = z \tilde{L}_B(z,1) $.
  • The correspondence is exact and holds for all $ n $ and $ k $, indicating a deep and systematic combinatorial relationship between linear lambda terms and maps on surfaces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.