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
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- VidMap uses RoMa coarse matching on all frames, fine-scale only for keyframes — ducha_aiki · 2026-09-11
- Bug Hunt Bench author: leaderboard noise is about 2-3 points — PawelHuryn · 2026-09-11
- PNAS paper shows a tiny billiard-ball system is a universal computer — undecidability lives in two dimensions — eigensteve · 2026-09-11
- New paper: Absolute pose estimation from affine cues and gravity direction — ducha_aiki · 2026-09-11
- LoMa Paper Ships REALLY HardPairs Dataset, Accepted at ECCV 2026 — ducha_aiki · 2026-09-11