Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Magmide Proposes a Pragmatic Path to Formal Verification

AI summary

The author argues that LLMs are worsening software engineering practices, although the article provides no independent measurements for this assessment. Magmide is presented as a project to create a formally verifiable programming language for immediate adoption by practitioners. Its revised roadmap would compile to WebAssembly, use a Rust-inspired type system without borrow-checker difficulties, begin with SMT-powered Liquid Types and Flow Effects, and later integrate Lean as a proof layer while using a separation-logic approach such as Iris to bootstrap the language and verify its implementation. The proposal is a roadmap rather than a shipped release.

In-depth insight

The roadmap offers a bottom-up approach intended to make formal verification more approachable to working engineers by adding proof capabilities over time. The author also argues that proof assistants and LLM automation cannot replace human understanding and adoption of formally verified code.

Because of LLMs, the discipline of software engineering is in crisis. Quality is nose-diving, and I see no reason why it won't keep getting worse. Software engineering was struggling before LLMs(opens new window). The default was to be sloppy and poorly considered, and now everyone is frantically accelerating those same terrible practices to LLM speed.

Something has to change. I've been preoccupied with this for a while(opens new window), but much more qualified people finally fully agree with me(opens new window). The only way forward is to fully embrace formal verification(opens new window), all the way down to the foundations of our civilizational software stack. We have to post-hoc verify the things we can, and rewrite the rest.

But that's easier said than done. Existing formal verification tools suffer from massive usability(opens new window) and understandability(opens new window) problems, and have failed to make any kind of noticeable impact on the broader culture of software engineering.

It might be tempting to say that LLMs will actually save us in this regard, by allowing humans to create formally verified code without needing to understand its fundamentals in any way. This is pure cope. Merely having excellent proof assistants and LLMs will never be good enough. Even in a world where something like Lean is extremely scalable and LLMs can write all proofs, it doesn't matter if they aren't adopted by actual industry engineers as they build the real apps we actually use. For provably correct code to defend us from the LLM future:

#Magmide#Lean#WebAssembly#Rust#Deno#Iris#Liquid Types#Flow Effects

Original · 4 min readRead the original
Group chat

No comments yet. Start the conversation.