srush: formal verification is the only plausible path to serious LLM-written code

srush_nlp · x · 2026-10-28

Princeton's Sasha Rush publishes the third post in his Lean for ML series, arguing formal verification is the only plausible way to write serious code with LLMs — while noting that in 2026 formal verification remains so poor that understanding proofs is beyond human ability.

Alongside it he released Lean Verified Tokenizers: training-inference mismatch kills RL runs, yet agent message templates are still assembled with Jinja. The project prototypes a Lean-verified Rust agent pipeline to make message construction provably correct.

Related event: srush pushes Lean-verified tokenizers and formal methods for LLMs(2 posts)→

Original post →

More from coding & agent

coding & agent channel →