Parameterized Verification 1.2 -- Synchronization Primitives of Processes

This is a learning note of a course in CISPA, UdS. Taught by Swen Jacobs

Last post: Labeled Transition Systems

Processes

A Process is an LTS P=(Q,Q0,Σ,δ,λ) with Σ=Σint{outa,inaaΣsync}, where

  • Σint is a set of internal actions,
  • Σsync a set of synchronizing actions,
  • outa is an send action (or initiate action),
  • ina is an receive action.

Composition by Synchronization

The composition Pn of n (uniform) processes wrt. card is the LTS (S,S0,ΣintΣsync,Δ,Λ) with:

  • S=Q×Q

  • S0=Q0×Q0

  • ΔS×(ΔintΔsync×S) is the set of all transitions that satisfy one of the following:

    Internal Transition:

    • For some i{1,,n} , (s,a,s)S×Σint×S is an element such that:
      (s(i),a,s(i))δ , and s(j)=s(j) for ij{1,,n}

    Process s(i) take the action, other processes s(j) remain their current states.

    Synchronous Transition

    • For some i{1,,n} and some I{1,,n}{i} with |I|card ,
      (s,a,s)S×Σint×S is an element such that:

      • s(i)outas(i) is (a local transition) in P

        One process s(i) take the send action.

      • for every jI,s(j)inas(j) is (a local transition) in P

        I is the set of processes that can take the receive action. (size of I must not be larger then card)

      • for every j{1,,n}(I{i}),s(j)=s(j)

        Other processes s(j) that cannot take receive actions remain their current states.

      • I is maximal.

        There does not exist a larger set II with |I|card that for all jI ,
        there is a local transition from s(j) that can take the receive action.

  • Λ(s)={pipAP and pλ(s(i)),i{1,,n}}

In this course, send action = outa = a!! ; receive action = ina = a??.

Example of Composition by Broadcast synchronization. (card={1})

Read more

Parameterized Verification 1.1 -- Labeled Transition Systems

This is a learning note of a course in CISPA, UdS. Taught by Swen Jacobs

Labeled Transition Systems (LTS)

LTS is a concept in theoretical computer science used in the study of computation. It is used to describe the potential behavior of discrete systems, e.g. Model Checking.

It consists of states and transitions between states, which may be labeled with labels chosen from a set; the same label may appear on more than one transition. Mathematically, it can be described as directed graph.

Labels

Labels can be used to describe the behaviour or distinguish between states.
If the set of label is a singleton (only contains one label), then it can be omitted in the system.

LTS v.s. Finite-state Automata

In Transition systems:

  • The set of states is not necessarily finite, or even countable.
  • The set of transitions is not necessarily finite, or even countable.
  • No “start” state or “final” states are given.

Formal definition

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×