Skip to main content
Verified Code Transpilation with LLMs

Verified Code Transpilation with LLMs

LLMLift uses large language models (LLMs) to automate code translation between domain-specific languages (DSLs), ensuring functional correctness and outperforming traditional tools in speed and efficiency.

Published on October 15, 2025
← Back to Research
Verified Code Transpilation with LLMs

Abstract

This research proposes LLMLift, an innovative approach to code transpilation using large language models. The work addresses the challenge of converting code written for one language into functionally equivalent code in another target language, particularly for domain-specific languages (DSLs). LLMLift combines LLM-powered translation with proof generation to create formal proofs establishing functional equivalence. The team developed lifting-based compilers for four different DSLs across various application domains. Their approach surpasses earlier symbolic tools in both the quantity of successfully transpiled benchmarks and the speed of transpilation, while requiring significantly less development effort to implement.

Read Full Article