R2C2 uses AI-assisted proofs to verify C-to-Rust translation at LLVM IR level
Start here
R2C2, a new verification method, checks whether a Rust program translated from C behaves the same as the original by proving in Rocq that the Rust program refines the C program. Because C and Rust share no formal semantics, the comparison is made at the LLVM IR level. AI agents build the proofs automatically, and Rocq's checker means the agents themselves need not be trusted. On LLM translations of 519 C programs, R2C2 proved 486 correct without bounding executions, and found three incorrect translations, each backed by a valid counterexample that existing tools cannot find.
Generated from reports · updated 43 min ago
Report timeline
Follow the reports to see the event from different sides.
- Hacker News · AIR2C2: AI-Assisted Proof Validates C-to-Rust Translation at LLVM IR Level
R2C2 validates C-to-Rust translation by proving in Rocq that the Rust program refines the C program, comparing both at the LLVM IR level since no shared formal semantics exists. AI agents automate proof construction, and Rocq's checking means the agents need not be trusted. On LLM translations of 519 C programs, R2C2 proved 486 correct without bounding executions and found three incorrect translations with valid counterexamples existing tools cannot find.
Heat for this event
Not enough continuous observations yet to draw a trend.