1.2 Introduction (Part 2)
1.2 Introduction (Part 2)
Topics Covered
Introduction to Formal Methods
When are the formal methods
useful?
Novel Projects: Novel Projects are about building
something new, similar of which does not exist before.
Compare alternative ides
Select the best one (through in-depth analysis)
Security
Safety
You may not need to use formal methods for simple and
routine jobs which are obvious and too easy.
How can we use formal
Methods?
Modeling
Models describe the actual product behavior (before
implementing it) through some symbols/notations etc.
A model is a simplified representation. It may skip the irrelevant
properties
A mathematical model that represents the intended behavior of
* Jensen, Kathleen and Wirth, Nicklaus. PASCAL User Manual and Report. Springer-Verlag, Berlin, 2nd ed., 1974.
How can we use formal
Methods?
Design
Top Down
Bottom Up
Z Language
How can we use formal
Methods?
Verification
The code does what it is intended for
A convincing product of verification is a proof