abstract
xor
TrafficLight_1
initial
xor
on
-->>
off
initial
xor
normal
initial
green
-->
yellow
yellow
-->
red
red
-->
green
xor
flashing
-->>
normal
initial
yellow_on
-->
yellow_off
yellow_off
-->
yellow_on
off
-->
on
assert [
all t
:
TrafficLight_1
| (
t
.
on
.
normal
.
green
-->
no
t
.
on
.
normal
.
red
)
]
assert [
all t
:
TrafficLight_1
| (
t
.
off
-->
t
.
on
.
normal
.
green
)
]
assert [
all t
:
TrafficLight_1
| (
t
.
on
.
normal
.
red
-->
t
.
on
.
normal
.
green
)
]
assert [
all t
:
TrafficLight_1
| (
t
.
on
.
normal
.
red
-->
t
.
on
.
normal
.
green
||
t
.
on
.
flashing
||
t
.
off
)
]
tl
:
TrafficLight_1
[
initially
(
green
-->
yellow
-->
red
-->
green
-->
yellow_on
-->
yellow_off
-->
off
)
]