The rapid advance of AI-assisted mathematics - illustrated by a claimed proof of the Riemann hypothesis checked through 17 million lines of code - throws software engineering’s longstanding weakness into sharp relief. Software now underpins society, yet decades of code contain bugs and expose systems to increasingly capable attackers; better AI tools may accelerate the production of code without making it dependable. The central argument is that software’s growing security crisis cannot be solved by simply improving models and their programming harnesses.
Two changes are proposed. First, define formal specifications for services and derive implementations from them, potentially rebuilding operating systems and hardware interfaces to reduce the layers and awkward boundaries that make verification difficult. Machine-checked implementations could also enable faster, more reliable security fixes, while people and AI iteratively develop the specifications. Second, deliberately create diverse implementations, so a shared flaw or attack does not compromise every system at once. Diversity must include the models and tools that generate software, not just the resulting code. Together, specifications and diversity could replace today’s habit of accepting loosely compatible inputs with stricter guarantees and more resilient systems. This transformation would also unsettle open-source norms based on human review and trust. People would still decide what systems should promise, while researchers must develop ways to debug varied deployments, constrain complexity, and assign responsibility when failures occur.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.