DSLean: A Framework for Type-Correct Interoperability Between Lean 4 and External DSLs
Tate Rowney, Riyaz Ahuja, Jeremy Avigad, Sean Welleck · 2026
Read DSLean: A Framework for Type-Correct Interoperability Between Lean 4 and External DSLs by Tate Rowney, Riyaz Ahuja, Jeremy Avigad, Sean Welleck (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-18657.txt.
Description
Tate Rowney and three co-authors link the Lean proof assistant to outside languages. Their 2026 paper presents DSLean, a framework for two-way translation between expressions in Lean and external syntax. Domain-specific languages mediate between proof assistants and outside automation, but moving between the prover's internal form and such languages is tedious engineering.
DSLean needs only a specification of an outside language and its Lean equivalents, hiding meta-level implementation details. The team shows what it can do by building three new automation tactics, opening access to outside solvers for ring ideal membership, interval arithmetic, and ordinary differential equations. The framework cuts the chore of translation so prover users can lean on outside tools without hand-building the bridge each time.
Catalog record
| CREATOR | Tate Rowney, Riyaz Ahuja, Jeremy Avigad, Sean Welleck |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 33 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2602-18657