An example why verified programming is hard.

Jun 21, 2011 09:53

Walking back from where I parked my car today, I realized how difficult it is to make sure specifications are satisfied, once you start looking at them formally. There are specifications with obvious meanings, and obvious algorithms to satisfy them. But ( Read more... )

Leave a comment

Comments 3

sps June 26 2011, 16:28:52 UTC
I have to admit that my first reaction was "that's not a well-formed specification." It seems to make the global serialisation assumption, and that's not physics. Not unless there's a parking attendant....

Reply

hendrikboom June 26 2011, 20:41:15 UTC
Well, duh. But we're both experienced software professionals, and global serialisation is the kind of abstract ideas we've learned to use to guide us away from traps -- the kind of concept that guides us when we design a system, whereas lesser, or less experienced, programmers try to patch up the problem during debugging.

Reply

sps June 27 2011, 02:01:02 UTC
Well, duh, yes, but I think the question I completely failed to articulate was whether there's a distinction between a preformal/conceptual part that you need to get right (like, is 'now' a useful idea in this context?) and the formal component - or is it 'flat.' I tend to think of the plausibility of synchronisation as a matter of physics rather than one of computing, but I don't know if that's just me....

Reply


Leave a comment

Up