arXivPreprintOpen accesscs.PL
The Reversible Intermediate Language L4, its Type System, and its Bidirectional Small-Step Semantics
Torben {\AE}gidius Mogensen
Key points
From the paper's conclusion- In this paper, we define L4 first informally, and then give a formal type system and a bidirectional small-step semantics for L4: The rules have direction indicators to determine forwards or backwards execution, and the direction can be changed during execution.
Abstract
L4 is a generic, reversible, linearly-typed, low-level language intended as an intermediate language for compiling reversible programming languages to reversible machines. L4 is intended to replace and generalise RSSA, a reversible SSA form. Inspiration is drawn from other low-level reversible languages such as HSSA. In this paper, we define L4 first informally, and then give a formal type system and a bidirectional small-step semantics for L4: The rules have direction indicators to determine forwards or backwards execution, and the direction can be changed during execution.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An Algebraic Perspective on Operational SemanticsarXiv · 2026
- Comparing Call-by-Name and Call-by-Value Reduction and Reduction Strategies in Calculi for Classical LogicarXiv · 2026
- Formalizing the Linux eBPF Core ISA: A Mechanized Operational Semantics and Its Real-World ApplicationsProceedings of the ACM on Programming Languages · 2026
- Non-Deterministic Abstract MachinesACM Transactions on Computational Logic · 2026
- Record Types EverywherearXiv · 2026
- Non-Cartesian Guarded Recursion with DaggersElectronic Notes in Theoretical Informatics and Computer Science · 2026