Verifying Fortran code with Lean

· Fortran Lang Discourse · Nov. 29, 2026, 1:10 a.m.
Summary
This blog post discusses the possibilities of improving compiler verification in Fortran by drawing parallels with the CompCert C compiler, which maintains the semantics of C through formally verified optimizations. The author expresses an interest in exploring whether a similarly systematic approach could be taken with Fortran compilers to achieve verified compiler passes starting from efficient code.