News for hackers. Stuff that matters.
Re:Learn TLA+ (2018) by youeseh on Sunday April 14, 2019 @06:05PM (#19661987)
So, like writing code and then writing tests for it?
Re:Learn TLA+ (2018) by chimpburger on Sunday April 14, 2019 @06:54PM (#19662175)
Not really. Formal verification methods are mathematically rigorous. They can mathematically prove or disprove correctness of programs and catch bugs that would be extremely difficult for a human to find https://en.wikipedia.org/wiki/Formal_verification
Re:Learn TLA+ (2018) by youeseh on Sunday April 14, 2019 @07:18PM (#19662264)
"Formal verification of software programs involves proving that a program satisfies a formal specification of its behavior."

It sounds a lot like writing your specs as tests that are then satisfied by the implementation code.

Re:Learn TLA+ (2018) by chimpburger on Sunday April 14, 2019 @07:44PM (#19662348)
TLA+ is for building and verifying a formal model of the program (a blueprint), not for verifying the implementation.