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
- Stanford Data-Centric AI Workshop reopens site, extends poster deadline — jure · 2026-10-26
- 'Vibe verification': ~60% of AI-written formal specs prove the wrong property — basedjensen · 2026-10-26
- Ito: a browser that detects browsing intent and auto-organizes tabs into Flows — andrewkuznet · 2026-10-26
- Cornell study says brains process language as linear sequences, challenging Chomsky's hierarchy — anirbanbandyo · 2026-10-26
- Hi3D V1.0 open-sourced with 2M training assets and 90% slicing success rate — kimmonismus · 2026-10-26
- Ortet evaluates 34 open-weight models on 50 health tasks, finds general leaderboards insufficient — elmanmansimov · 2026-10-26