1 / 2

Understanding the Correctness of Functions in Formal Specifications

This text explores the concept of correctness in relation to functions and their pre- and post-conditions. It discusses how specifications may contain errors and the implications of these errors on function calls. The piece offers insight into the conditions under which proofs of correctness can be established and illustrates the challenges that arise when specifications are flawed or ambiguous. The exploration also addresses the role of logical operators in determining the validity of certain assertions within formal verification contexts.

ena
Télécharger la présentation

Understanding the Correctness of Functions in Formal Specifications

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