Download REPORTRAPPORT
Transcript
audit "Power"
add-search-path "/tmp/case_study"
calculus "meije"
set
set
set
set
ccs = true
debug-algo = true
debug-cycle = true
debug-gc = true
load "Power"
set automaton = mini(PowerEngine)
write "MiniPower" automaton autograph
write "MiniPower" automaton fc2
close
end
Figure 0.6: A Mauto script created by JACK.
Autograph output, saved in the le Power.ec, will be used in the rest of this case study.
Now we are going to use Mauto .
We can start now a Mauto session from JACKto study some bisimulation properties of
our automaton, and we select the CCS/Meije calculus from JACK's Mauto conguration panel. A Mauto script to transform the Power.ec specication into an Fc2 one is
shown in Figure 0.6:
JACK automatically generates such a script, in agreement with the user selections in the
Mauto control panel, shown in Figure 0.7 then, JACK pipes it into Mauto, and lets the
user eventually run Mauto interactively. Notice that the setting of the ag ccs replaces
the Meije semantic of the k operator with that one of CCS.
Let's explain the script of Figure 0.6. The second step of our specication job is to
study our automaton, trying to reduce it in a simpler form, if it is possible. We use the
Mauto function mini, that tries to reduce the automaton associated to the PowerEngine
process into a newer, simpler automaton that is strongly equivalent (and then observational
equivalent, too) to the original one. We need to simplify the automaton because
we can perform a better visual debugging by a second Autograph session if we
have less states to handle. To do it, we get a new Autograph{loadable automaton
using the rst write command
the task to test ACTL formulae over it will be faster. The AMC tool inputs Fc2
les, so using the last write command in the script we get the le MiniPower.fc2
that contains the minimized automaton.
The results of the second Autograph session are visible in the Figure 0.8.
It is possible to see that the state D collapsed with the state A, and the state E with the
state sTg moreover, notice that the state B was not necessary: it could be cut, so that