23 ms·
I don't know whether this particular proof models IO timeouts - might have a poke at it and see what it's doing if I have time later. More generally, Coq is "j
by pja 12y ago
I don't know whether this particular proof models IO timeouts - might have a poke at it and see what it's doing if I have time later.
More generally, Coq is "just" a well integrated proof tool & I can't see any reason why you couldn't include such features but at some point you have to draw the line and be explicit about what it is that you're actually proving: if your proof assumes data store responsiveness then it's OK for it to do that so long as you're explicit about the resulting limitations IMO. The goal of ever increasing model fidelity is a rabbit hole from which the programmer/prover might never return otherwise :)
- clarus 12y agoYes, for now we assume that there is exactly one answer for each external call to the system: https://github.com/clarus/coq-chick-blog/blob/master/Spec.v#l21 https://github.com/clarus/coq-chick-blog/blob/master/Spec.v#... In practice, we should use a timeout in the implementation of all the external calls, but we did not and our model to not enforce it.