Example to try tightening of a contract refinement.

This example is used in the article as a running example 
along the paper, mainly in Subsection 3.2 Need of Tightening 
and Section 5 Tightening the Whole System Architecture.

This contains only the results for single top-down 
tightening.

-----------------------------------------------------------------

Version 1:
If initially the selector selects sensor1, then we don't need to
assume that initially sensor2 is not failing.

Go into folder 'v1' and run:
"ocra -source test_system_v1_speed_control.cmd"

You will get two tightenings with the option either to remove the
initial condition "!fault2" in the system assumption or to remove the
initial condition "current_use = 1" in the "select" subcontract.

-----------------------------------------------------------------

Version 2:
If we assume that at most one sensor can fail (along the whole
execution), then if the selector initially selects sensor1 and later
switches to sensor2, it will never switch back to sensor1.

Go into folder 'v2' and run
"ocra -source test_system_v2_speed_control.cmd"

You will get a tightening where the part "((current_use=2 and
switch_current_use) implies next(current_use)=1)" of the "switch"
subcontract has been removed.

There are other 'cmd' scripts to run the tightening 
for the other contract refinements on each version 
of the example.
