SciFort: SciPy algorithms in Fortran

· Fortran Lang Discourse · Nov. 22, 2026, 10:43 p.m.
Summary
Beliavsky: but how humans can gain confidence in large AI-generated code bases is an open question. I think the long-term solution is formal verification using theorem provers like Lean. AI could write Fortran code and generate mathematical specifications describing what the code should do. A formally verified translator would convert the actual code into Lean, where AI-generated correctness proofs could be independently checked. The key is that humans would only need to review and approv...