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
- 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
- Johns Hopkins Launches Full-Stack Hands-on Robot Learning Class with SO-101 Arm Kits — _krishna_murthy · 2026-09-11
- SyncWorld: In-Context Robot World Model Simulates Unseen Views and Embodiments Zero-Shot — ChongZzZhang · 2026-09-11
- A 3D Pose Dataset for Dogs Released — ducha_aiki · 2026-09-11