> People have written TLA+ specs for their software[1] and not have it materially improve the quality or reliability
That particleDB link is VERY unconvincing. All the folks I know who wrote a TLA+ spec have said that it helped them discover bugs. Just that it was a massive pain to keep maintaining code and spec independently.
However, I am confused on why new PL is needed. Why not just improve lean and its libraries so that it becomes a standard big-software language like Go/Java/Rust ?
Languages like TLA+ lay at the opposite end of the spectrum of how programs can be optimized. The more space you leave for optimization, the larger the search space becomes in evaluating the TLA models. The smaller the space you use for the models, the more constrained your optimizations become. It seems as though the two can’t be combined without finding an appropriate balance point at which point you’d probably have something very similar to existing languages.
>Why not just improve lean and its libraries so that it becomes a standard big-software language like Go/Java/Rust ?
Lean wouldn't be able to match Rust in performance without a fundamental restructure of its core calculus.
There's another alternative - let most of the spec be derived from the code. Verus for example allows you to wrap your code in a verus!() macro and get a lot of the work for free and guaranteed to be in sync with the code. Even without any custom proofs, just that part provides a no-crash guarantee. (You still need to do some work though - it's not free)