Berkeley & AWS: agents return faster code with Lean proofs of equivalence, 1.85x mean speedup

xiuyu_l · x · 2026-10-24

UC Berkeley and AWS introduce Agentic Verified Optimization: an agent receives an existing function and returns a faster version plus a Lean proof that it equals the original on every input. Existing code serves as the spec, so no manual formalization is needed; speedups only count with a proof, making reward hacking hard.

Original post →

More from coding & agent

coding & agent channel →