▲ | nothrabannosir 14 hours ago | |||||||
This thread started with: > Is asserting the assumptions during code execution not standard practice for formally verified code? Are you using the same definition of "assert" as that post does? | ||||||||
▲ | bluGill an hour ago | parent [-] | |||||||
I'm not clear what definition of assert anyone is using. Thus I'm trying to create a new one that I think is useful (in the context of this type of discussion only!). Verify means you checked. Assert means you are suggesting something is true, but might or might not have checked. Sometimes an assert is "too hard" to verify but you have reason to think it is true. This could be because of low level code, or just that it is possible to verify but would cost too much CPU (runtime, or possibly limits of our ability to prove large systems) Sometimes assert is like a Mafia boss (It is true or I'll shoot - it might or might not really be true but nobody is going to argue the point now. This can sometimes be needed to keep a discussion on a more important topic despite the image) | ||||||||
|