logoalt Hacker News

ordu • today at 12:47 PM • 0 replies • view on HN

> People have written TLA+ specs for their software[1] and not have it materially improve the quality or reliability.

They have said they wrote them, but I doubt it. The quote from the report:

"We found several incompatibilities or bugs involving static or dynamic type safety, or behaviors that would normally have been caught by static analysis of a query, such as referring to a nonexistent column. These issues occurred with a single server, single client, and no faults.

They failed to catch references to a nonexistent column with a formal proof? I doubt it, the more likely explanation they hadn't proven their code, they probably did something that allowed them to claim that they wrote TLA+ specs, and stopped at that.

Formal proof is a static analysis on steroids, if it can't catch bugs that can be caught by a static analysis then what the point of it?

The report doesn't answer how it happened (I presume) because of: "during our collaboration no TLA+ specification was available. It is unclear what properties might be proven, or whether they described ParticleDB as built.