Lean 4 formalizing policy gradient proofs with LLMs found subtle issues in the math

fpedregosa · x · 2026-10-08

Fabian Pedregosa shares his experience using LLMs to write Lean 4 formalizations for his policy gradient blog series — and found subtle issues in the proofs along the way. The companion repo policy-gradient-lean is open source.

A useful hands-on reference for anyone wanting to verify ML theory with LLM-assisted Lean.

Original post →

More from coding & agent

coding & agent channel →