1 / 2

On the correctness of specs

On the correctness of specs. Given a function and its pre- and post-conditions and , we say that f is correct wrt . , iff How may the spec be wrong? may be incorrect, i.e., t here may be , with ( or ) and. What does this mean for calls to f?.

ena
Télécharger la présentation

On the correctness of specs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. On the correctness of specs • Given a function and its pre- and post-conditions and , we say that f is correct wrt. , iff • How may the spec be wrong? • may be incorrect, i.e., • there may be , with ( or )and

  2. What does this mean for calls to f? • How to we go about invocations of ? • So, if we need to prove , and then the ‘wrong’ are ‘good enough’ • If, instead, (or ), then we cannot prove

More Related