NPSpace algorithm
1. Guess s0∈S0,s1∈F1, . . . , sk∈Fk;
2. i:= 0; s:= s0(current state);
3. While s6=s1and i<|S|do
3.1 Guess s′such that sa
−→ s′for some a∈Σ;
3.2 i:= i+ 1; s:= s′.
4. If s6=s1, then abort otherwise
4.1 i:= 0; j:= 2;
4.2 While i:= 0 or (j6= 1 and i<|S| × k) do
4.2.1 Guess s′such that sa
−→ s′for some a∈Σ;
4.2.2 i:= i+ 1; s:= s′.
4.2.3 if s′∈Fjthen nondeterministically choose either
j:= (j mod k) + 1 or skip;
4.3 If s=s1, then accept, otherwise abort.
St´ephane Demri Fondements pour la v´erification des syst`emes temps-r´eel et concurrents