Term Graph Representations for Cyclic Lambda-Terms
Clemens Grabmayer (Department of Philosophy, Utrecht University, The, Netherlands), Jan Rochel (Department of Computing Sciences, Utrecht, University, The Netherlands)

TL;DR
This paper investigates how cyclic lambda-terms can be represented as higher-order and first-order term graphs, identifying a class of graphs that faithfully preserves sharing structures and enabling efficient subterm sharing.
Contribution
It identifies a specific class of lambda-term-graphs that accurately embeds lambda-ho-term-graphs, facilitating theoretical analysis and practical algorithms for subterm sharing.
Findings
A class of lambda-term-graphs with scope-delimiter vertices and back-links is identified.
The embedding preserves sharing order and is closely aligned with natural classes of lambda-term-graphs.
This enables efficient computation of maximally shared forms of lambda-ho-term-graphs.
Abstract
We study various representations for cyclic lambda-terms as higher-order or as first-order term graphs. We focus on the relation between 'lambda-higher-order term graphs' (lambda-ho-term-graphs), which are first-order term graphs endowed with a well-behaved scope function, and their representations as 'lambda-term-graphs', which are plain first-order term graphs with scope-delimiter vertices that meet certain scoping requirements. Specifically we tackle the question: Which class of first-order term graphs admits a faithful embedding of lambda-ho-term-graphs in the sense that (i) the homomorphism-based sharing-order on lambda-ho-term-graphs is preserved and reflected, and (ii) the image of the embedding corresponds closely to a natural class (of lambda-term-graphs) that is closed under homomorphism? We systematically examine whether a number of classes of lambda-term-graphs have this…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
