Table of Contents Grounding In Logic The Specification Gap Metalanguages and Object Languages Semantics of Languages Towards Core Languages Proof Repair Intrinsic and Extrinsic Verification Referential Transparency in Metalanguages On "Mainstream" More on Our Tools Temporal Logic Separation Logic Higher-Order Dependently Typed Logic Conclusion Open AI's advances are dominating news cycles alongside Anthropic's updates. A surge of new mathematical discoveries mediated by large language models is transforming the landscape. Mathematicians brace for a world unlike the familiar, while other LLM-dependent fields wonder if similar benefits will follow.
Debate continues on whether we are in a golden age of programming language research or if a formally-verifiable mainstream language is the necessary evolution. This article provides context and starting points for creators of formal verification languages, particularly software engineers transitioning from informal practices. Throughout, open questions are stated to qualify the author's perspective, intended as usable signposts rather than prescriptive mandates.
Grounding In Logic The purpose of formal methods is to make informal frameworks rigorous through a precise foundation of logic. Logic names objects and expresses relationships, allowing true/false reasoning. Its distinct advantage is unambiguous precision, contrasting with human language's multiple interpretations.
Three broad families stand out: Temporal logic (TLA, Alloy), Separation logic (Software Foundations, Iris), and Higher-order dependently typed logic (Lean, Agda). Before detailing these, the author introduces open questions for would-be language designers, specifically software engineers new to formal methods. The Specification Gap Formal verification proves program behavior against a specification.
A critical flaw exists: the specification itself may be wrong. With massive mathematical proofs, questions arise whether they prove claimed results. The analogy: code may match the spec, but is it the right spec? Specification fidelity is paramount, yet often overlooked in favor of mere implementation correctness.
Source: Hacker News · Summarized by HeadlinesBriefing