-- compute others_vars[i], and call split-invariant calculator Proc doit(); Settime; Print "step 1: set others-vars(i)\n"; For (i in 1...N) Let others_vars[i] := vset(); For (j in 1...N) If (j != i) Let others_vars[i] := vset(others_vars[i],P[j].loc); End End End Print "step 2: showing others_vars\n"; For (i in 1...N) Print "others vars for index ",i, " = ",others_vars[i]; End Print "step 3: setting correctness property\n"; Let prop := & for (i=1;i<=N;i=i+1) {& for (j=1;j<=N;j=j+1) {i=j | P[i].loc != 2 | P[j].loc != 2}}; Print "step 4: computing split invariant\n"; split_invII prop,N,others_vars; Chktime; Stats; Print "\nFinished!\n"; End -- proc doit