bool p = true;
active proctype q() {
do
:: p=false; p=true; p=false
od
}
never {
do
:: !p -> goto acceptRun
:: else -> skip; skip
od;
acceptRun : skip
}
In this promela model, the never claim verifies that initially and then at every second time step p holds. Why? Thanks!