ATRIUMsearch → argument graph
Article · 2026-07-29 · 6 moments

Formal methods with Hillel Wayne

Hillel Wayne explains why formal methods like TLA+ matter, how they help build reliable software, and whether AI will finally bring formal verification into the mainstream. ✦ AI generated

timeline · colored by role

01
Claim

Software engineering earns the right to be called 'engineering' because of the rigor it demands.

After interviewing ~20 professionals across traditional and software engineering for The Crossover Project, Hillel Wayne concluded that the rigor required in software engineering justifies the title of 'engineer.'

transcript

Hillel Wayne: After thorough research, Hillel has an answer. For The Crossover Project, Hillel interviewed ~20 people in different fields of traditional engineering and software engineering, and found plenty of similarities and differences. He concluded that the rigor needed in software engineering means we earn the right to the title of 'engineer.'

provides context · 1rebuts · 1

02
Claim

The 'materials' in software engineering are freakishly consistent — the variability we deal with is largely of our own making.

Unlike traditional engineering where materials like resistors vary by 20% and depend on temperature, a program runs identically on any given computer. Hillel argues that the variability in software — versions, API changes, integration bugs — is largely self-inflicted.

transcript

Hillel Wayne: The 'materials' in software engineering are freakishly consistent. All other engineering professions have to worry about the consistency of their materials; for example, electrical engineers work with resistors that offer resistance within 20% of 100 ohms across a thousand units, and only when operated within a given temperature range. In contrast, a program runs identically on any given computer in software engineering. Hillel argues that the variability we deal with in software, like versions, APIs, bugs with integrations, etc, are largely battles of our own making.

03
Example

Amazon used TLA+ to find a bug whose shortest error trace was 35 steps — a bug that would have been impossible to find through conventional testing.

The AWS team documented a case where TLA+ found a deeply hidden bug requiring a 35-step error trace to exhibit, which had passed through design review, code review, and testing undetected.

transcript

Hillel Wayne: Amazon used TLA+ to find a bug almost impossible to locate without formal methods. In the paper How AWS uses formal methods, the AWS team shared that they'd found a complicated bug for which the shortest error trace to exhibit was 35 steps (!!). The bug passed unnoticed through extensive design review, code reviews, and testing. AWS concluded they wouldn't have uncovered it if they'd stuck to conventional testing approaches.

gives example · 1rebuts · 1

04
Mechanism

Formal methods require too much effort for the exotic edge cases they catch — even a simple file-line-counting problem becomes a nightmare to specify.

Real-world specs are a nightmare to write: even a simple problem like 'find the file with the most lines' forces questions about ASCII vs UTF-8, unreadable files, and symlinks. Without formal methods, we can write something correct 99%+ of the time with far less effort.

transcript

Hillel Wayne: It's because specs in the real world are a nightmare to write. Even a simple problem like 'find the file in a directory that has the most lines' gets complicated when modeled with formal methods. We would have to answer questions like: 'do we look at ASCII or UTF-8 new line characters, what about unreadable files, and Symlinks?' Without formal methods, we can write a simple verification that is right in 99%+ of cases. Formal methods require a lot of extra effort for the less than 1% of exotic use cases!

05
Prediction

Most engineers should adopt property-based testing and stop there — it is the most practical lightweight formal method.

Hillel recommends most engineers adopt property-based testing, which defines properties and throws thousands of inputs at a system. He considers formal methods a niche tool, while property-based testing is the most practical approach for building robust software.

transcript

Hillel Wayne: Hillel recommends most engineers adopt property-based testing, and stop there. Property-based tests mean defining properties which the test then throws thousands of inputs at, in order to stress test a system. Hillel is convinced that formal methods are a niche tool for most engineers, whereas property-based testing is the most practical approach for building robust software with this lightweight formal method.

extends · 1provides context · 1

06
Prediction

AI won't make formal verification mainstream, but it will increase its use — from maybe 0.1% to 0.3% of the industry, which would still be huge.

Hillel predicts AI will not bring formal verification into the mainstream, but even a small relative increase — from 0.1% to 0.3% — would be significant. He also notes that people who successfully use AI to generate formal specs are typically formal verification experts already.

transcript

Hillel Wayne: AI won't make formal verification mainstream, but will increase its use. As Hillel says, 'AI bringing formal verification up from maybe 0.1% to 0.3% across the industry would still be huge!' He also finds that people who succeed at using AI to generate formal specs are often formal verification experts.

provides context · 1

Highlight slides
Related episodes