News for hackers. Stuff that matters.
Re:Is Something Bugging You? by coldtea on Tuesday February 13, 2024 @10:04AM (#39358235)
With formal proof systems, you can also claim that for your spec.
Re:Is Something Bugging You? by svieira on Tuesday February 13, 2024 @10:11AM (#39358302)
A formal proof is only as good as what-you-are-proving maps to what-you-intended-to-prove.
Re:Is Something Bugging You? by AlotOfReading on Tuesday February 13, 2024 @11:54AM (#39359735)
I've written formal proofs with bugs more than once. Reality is much messier than you can encode into any proof and there will ultimately be a boundary where the real systems you're trying to build can still have bugs.

Formal verification is incredibly, amazingly good if you achieve it, but it's not the same as "perfect".

Re:Is Something Bugging You? by llm_trw on Tuesday February 13, 2024 @03:04PM (#39362150)
No you can't.

You can claim that your spec doesn't violate some invariants in a finite number of steps, you can't claim that the spec contains all the invariants the real system must have and that it doesn't violate them in number of steps + 1.

Re:Is Something Bugging You? by cortesoft on Wednesday February 14, 2024 @12:29AM (#39366832)
This doesn't track with the real world, though.

If you are writing software, it is almost always trying to accomplish a goal outside of itself. It is trying to solve a problem for someone, and how that problem can or should be solved is rarely perfectly clear.

The spec is supposed to map to a real world problem, and there is never going to be a way to formalize that mapping.