Skip to content
Book Open access

Numerical Abstract Domains for Trustworthy Code Transpilation (Keynote)

Oct 2026 · Proceedings of the 11th ACM SIGPLAN International Workshop on Numerical and Symbolic Abstract Domains · pp. 1-1 · 0 citations

TL;DR

A retrospective on numerical abstract domains developed to soundly reason about floating-point semantics is presented, tracing the evolution from interval abstractions to richer domains, such as zonotopes and floating-point polyhedra, and explores how these static analyses can be incorporated into LLM-based code transpilation pipelines.

Abstract

LLMs are making code modernization, translation, and rewriting easier and more scalable, enabling software to be transpiled across programming languages and compilers, and optimized for specific hardware platforms. For numerical software relying on finite-precision arithmetic, however, these transformations may introduce numerical deviations that are difficult to predict. Changing the programming language, compiler, execution model, or hardware platform can alter floating-point behavior through differences in precision, rounding, overflow, and the handling of exceptional values. These differences can accumulate into observable changes in program behavior, even when the transformed program produces results equivalent to those of the initial program under real-number semantics. Ensuring trustworthy code transpilation therefore requires reasoning about the finite-precision behavior of the transformed program, taking into account its execution environment and target hardware. This talk presents a retrospective on numerical abstract domains developed to soundly reason about floating-point semantics. It traces the evolution from interval abstractions to richer domains, such as zonotopes and floating-point polyhedra. It then examines how these abstractions have been used to build static analyses for verifying numerical properties of real-world software. This retrospective highlights the trade-offs between the precision, computational cost, and scalability of different abstract domains. The talk then explores how these static analyses can be incorporated into LLM-based code transpilation pipelines. These analyses can assess and guide LLM-based code transformations, allowing the transpilation process to detect changes in finite-precision behavior and determine whether the resulting deviations from ideal real-number semantics are acceptable for the target application. This approach can support a range of requirements, from guaranteeing that numerical error remains within a specified tolerance to enabling performance-driven transformations such as reduced-precision implementations, while providing evidence that the resulting code meets the required accuracy.

Read PDF

Similar papers

Preprint Oct 2026

Peregrine: A Language-Agnostic Packet Processing Intermediate Representation with Formal Guarantees

Many different programmable network devices and domain-specific languages (DSLs) for programming them have been developed in recent years. However, the affiliated compiler infrastructure for each DSL has not kept up, leading to unreliable compilation results and ultimately a poor experience for developers. In response...

Sean Rhee, Xiang-Yu Gao, S. Narayana et al. · 0 citations
Oct 2026

Detection of Loop-Induced Arithmetic Vulnerability in Solidity Via Invariant-Guided Symbolic Execution

Arithmetic vulnerabilities, such as integer overflow and underflow, are among the Top 10 OWASP Solidity vulnerability list, resulting in losses amounting to billions of dollars in the past. Although existing approaches perform well on programs with simple structures, they often fail when arithmetic operations are embed...

Md Tauseef Alam, Kartik Kaushik, Raju Halder et al. · 0 citations
Preprint Nov 2026

Python Code Generation for Isabelle/HOL

The Isabelle theorem prover provides an environment for formalising mathematics and reasoning about programs. To make verified implementations practically usable, its code generator translates functions expressed in the executable fragment of its logic into conventional programming languages. Its targets have tradition...

Nikolaus Huber, Roly Perera, Dominic A. Orchard · 0 citations
Book Open access Nov 2026

EBFuzz: Fuzzing Hidden Structural Assumptions in Compilers with Extended Inline Assembly

Compilers are critical infrastructure whose correctness affects every program they translate. Automated compiler testing has uncovered thousands of bugs in production compilers such as GCC and LLVM. However, existing compiler fuzzers primarily explore programs with conventional control-flow and data-flow structures bec...

Jiang-Chang Wu, Yi-Biao Yang · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.