<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Simple lambda lifting: Formalisation in Lean and a new efficient algorithm

dc.contributor.authorLevy, Tom
dc.contributor.authorReeves, Steve
dc.coverage.spatialRio de Janeiro, Brazil
dc.date.accessioned2026-06-04T03:13:14Z
dc.date.available2026-06-04T03:13:14Z
dc.date.issued2026
dc.description.abstractLambda lifting is a technique used in compilers to convert nested function definitions to top-level function definitions. A series of papers has led to an 𝑂(𝑛2) algorithm, however it is complex. We present a simple 𝑂(𝑛2) algorithm for lambda lifting and prove its correctness. We also formalise a lambda lifting specification from the literature in Lean 4, and use that to prove some of the properties and test our algorithm on generated test cases. One of our contributions is to formalise the notion of a “complete” and “minimal” lifting, addressing a small issue with the handling of unused functions that to our knowledge affects all previous algorithms.
dc.identifier.citationLevy, T., & Reeves, S. (2026). Simple lambda lifting: Formalisation in Lean and a new efficient algorithm. ACM. https://doi.org/10.1145/3793656.3793692
dc.identifier.doi10.1145/3793656.3793692
dc.identifier.isbn979-8-4007-2478-7
dc.identifier.urihttps://hdl.handle.net/10289/18322
dc.language.isoen
dc.publisherACM
dc.relation.isPartOfProceedings of the 2026 IEEE/ACM 14th International Conference on Formal Methods in Software Engineering (FormaliSE)
dc.rightsAttribution 4.0 Internationalen
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.source2026 IEEE/ACM 14th International Conference on Formal Methods in Software Engineering (FormaliSE)
dc.subjectcomputer science
dc.subjectlambda lifting
dc.subjectsoftware engineering
dc.titleSimple lambda lifting: Formalisation in Lean and a new efficient algorithm
dc.typeConference Contribution
dspace.entity.typePublicationen

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
247800a072.pdf
Size:
944.46 KB
Format:
Adobe Portable Document Format
Description:
Accepted version

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
82 B
Format:
Plain Text
Description: