8,500 Lines of C Paired with 15,000 Lines of Lean for Physics Algorithm Verification
kylekabasares · x · 2026-07-21
A developer showcased a rigorous practice combining algorithms with physics: for Maxwell's equations in electrodynamics, Lanyon implemented a hyperbolicity-preserving wave-propagation scheme in 8,500 lines of formally verified C. Furthermore, he verified it using 15,000 lines of Lean code, proving 156 correctness theorems—including convergence and L^2 stability—down to floating-point precision.
More from Research
- Proto-tools, a universal infrastructure layer for generative biology, now open source — jmschreiber91 · 2026-10-26
- New paper finds AI agents negotiate badly under uncertainty and break deals on purpose — xuanalogue · 2026-10-26
- MCP fault injection study: agent task scores drop 60% under realistic tool failures, scale doesn't help — dair_ai · 2026-10-26
- Study: AI reviewing AI misses most reward hacking; best models miss 25%+ of hacks — ronbodkin · 2026-10-26
- FLUX.3 Klein step-distilled to 4-8 steps with CFG baked in — Fit-Structure-6489 · 2026-10-26
- NLI alone rejects 5/6 new agent memories; a 0.45 similarity gate fixes it all — Alternative_Pin9598 · 2026-10-26