Wednesday, December 24, 2014

Temporal Logic

I am  starting to write a series of entries on the topic of Temporal Logic. I hope to write everyday but it depends of the time I have for writing this article. Since this is more of an academic writing the content will be more formal. Let's start with the common terms for our series.

Verification Idea

Not only for computer related product but also for every branch of life verification is one of the most important thing to be considered. There exists formal verification techniques composed of:
  • a framework 
  • a language
  • a method
 These three are the main parts of a base technique.

Types of Verification Approaches

These approaches differs within different specifications. A strategical difference is verifying a system with a proving algorithm or a model based verification algorithm. Proving a system is not always easily seen. Also there exists infinite number of models to prove a system. In a model based  verification algorithm this is simpler because of the number of models which are going to be tried.

Although the strategical difference is the main branching point, automation and property handling and development timing have important roles in this issue.

The one of the most common verification approaches is model checking and it is based on temporal logic which we are focused on.

Model Checking

Model Checking is composed of states that differs in time. For example, a false formula in the past will become true in the future. This is one of the astonishing properties that makes this subject related to the real life situations. It is called dynamic truth.

Acting like a simple function, a model checker can be thought of a transition system in which you use formulas as variables. As we mentioned above verifying the systems' satisfying a formula we should implement the system with a framework, the formula with a language and make the model checker work with these two.

The response of the model checker is either 'yes' or 'no'. If yes that means the system satisfies the formula. Another branch to the subject is coming at this point. For some model checkers the program traces the the solution which leads to a 'no' and gives out the reason of failure. Others does not.

No comments:

Post a Comment