| Writing correct software is hard and math alone won’t help us (2016)(pron.github.io) | |
| 370 points by AriFordsham 17 days ago | 183 comments | |
tl;dr: Drawing on computability and complexity theory (halting problem, Rice's theorem, time hierarchy), the author argues that fully verifying arbitrary programs is fundamentally intractable—verification is essentially the hardest problem in computer science, with complexity at least O(|S|) in the state space. Restrictions like total languages, modularization, or symbolic representations don't escape these bounds; correctness doesn't decompose, and language abstractions that add succinctness typically add equivalent verification cost. Practical tools (model checkers, deductive proofs, abstract interpretation, type systems) only work by sacrificing generality, precision, or shifting the complexity burden onto humans. | |
HN Discussion:
| |