Linear lambda terms as invariants of rooted trivalent maps

Noam Zeilberger

Research output: Contribution to journalArticlepeer-review

7 Citations (Scopus)


The main aim of the paper is to give a simple and conceptual account for the correspondence (originally described by Bodini, Gardy, and Jacquot) between α-equivalence classes of closed linear lambda terms and isomorphism classes of rooted trivalent maps on compact-oriented surfaces without boundary, as an instance of a more general correspondence between linear lambda terms with a context of free variables and rooted trivalent maps with a boundary of free edges. We begin by recalling a familiar diagrammatic representation for linear lambda terms, while at the same time explaining how such diagrams may be read formally as a notation for endomorphisms of a reflexive object in a symmetric monoidal closed (bi)category. From there, the "easy" direction of the correspondence is a simple forgetful operation which erases annotations on the diagram of a linear lambda term to produce a rooted trivalent map. The other direction views linear lambda terms as complete invariants of their underlying rooted trivalent maps, reconstructing the missing information through a Tutte-style topological recurrence on maps with free edges. As an application in combinatorics, we use this analysis to enumerate bridgeless rooted trivalent maps as linear lambda terms containing no closed proper subterms, and conclude by giving a natural reformulation of the Four Color Theorem as a statement about typing in lambda calculus.
Original languageEnglish
Article numbere21
Number of pages20
JournalJournal of Functional Programming
Early online date4 Nov 2016
Publication statusE-pub ahead of print - 4 Nov 2016


  • lambda calculus
  • linear logic
  • combinatorics
  • graph theory
  • four colour theorem


Dive into the research topics of 'Linear lambda terms as invariants of rooted trivalent maps'. Together they form a unique fingerprint.

Cite this