What is Promela language?

What is Promela language?

PROMELA (Process or Protocol Meta Language) is a verification modeling language introduced by Gerard J. Holzmann. The language allows for the dynamic creation of concurrent processes to model, for example, distributed systems.

What is assert in Promela?

The assert statement takes any valid Promela expression as its argument. The expression is evaluated each time the statement is executed. If the expression evaluates to false (or, equivalently, to the integer value zero), an assertion violation is reported.

What is model checking in formal methods?

Model checking [1,8] is a formal method for verifying if an abstract represen- tation of a system (i.e. a model) is correct relative to a formal specification describing the desired/expected system behaviour. Model checking: Automatically verifying the correctness of the model relative to the formal specification.

What do you need to know about spin?

• SPIN (= Simple Promela Interpreter) = is a tool for analysing the logical conisistency of concurrent systems, specifically of data communication protocols. = state-of-the-art model checker, used by >2000 users – Concurrent systems are described in the modelling language called Promela. • Promela (= Protocol/Process Meta Language)

Who is the creator of the spin manual?

Credits should go to … • Gerard Holzmann(Bell Laboratories) Developer of SPIN, Basic SPIN Manual. • Radu Iosif(Kansas State University, USA) Course: Specification and Verification of Reactive Systems (2001) • Mads Dam(Royal Institute of Technology, Sweden) Course: Theory of Distributed Systems (2001).

Which is the best modeling language for spin?

•PROMELA is the modeling language for SPIN •A model is a set of sequential processes communicating over –Global variables for modeling shared memory structures –Channelsfor modeling distributed structures •PROMELA is NOT a programming language

What is the difference between verification and debugging in spin?

– verification approach: tries to ascertain the correctness of a detailed model Mof the system under validation. – debugging approach: tries to find errors in a model M. • Model checking is most effective in combination with the debugging approach.

Posted In Q&A