30.04.2013 Views

Timed CTL Model Checking in Real-Time Maude⋆ - IfI

Timed CTL Model Checking in Real-Time Maude⋆ - IfI

Timed CTL Model Checking in Real-Time Maude⋆ - IfI

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong><strong>Time</strong>d</strong> <strong>CTL</strong> <strong>Model</strong> <strong>Check<strong>in</strong>g</strong> <strong>in</strong> <strong>Real</strong>-<strong>Time</strong> Maude 35<br />

model conta<strong>in</strong>s two f<strong>in</strong>ite state mach<strong>in</strong>es: one for the tra<strong>in</strong> and one for the gate.<br />

One transition is taken <strong>in</strong> each time unit <strong>in</strong> the state mach<strong>in</strong>e Tra<strong>in</strong>. We refer<br />

to [7] for a thorough explanation of the model.<br />

The <strong>Real</strong>-<strong>Time</strong> Maude specification for Ptolemy II DE models provides an <strong>in</strong>tuitive<br />

syntax for specify<strong>in</strong>g state propositions, so that e.g. the state proposition<br />

“the tra<strong>in</strong> is <strong>in</strong> state approach<strong>in</strong>g” is written<br />

’RailroadSystem . ’Tra<strong>in</strong> @ ’approach<strong>in</strong>g<br />

One important property that the system should satisfy is that the gate should<br />

open with<strong>in</strong> a reasonable time (here 11 time units) after be<strong>in</strong>g lowered, which<br />

can be model checked by the follow<strong>in</strong>g <strong>Real</strong>-<strong>Time</strong> Maude command:<br />

Maude> (mc-tctl {<strong>in</strong>it} |=<br />

AG((’RailroadSystem . ’Gate @ ’closed) implies<br />

AF[ (mc-tctl {<strong>in</strong>it} |=<br />

A not (’RailroadSystem . ’Gate)@ ’closed U AG[

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!