in mcs -- -- ------------------- proof lemma 3 ------------------- -- -- -- (I) Base case open INV . -- fresh constants ops p : -> Pid . -- check red inv12(init,p) . close -- (II) Induction case -- 1. want -- 1.2.1 pc(s,r) = rs, p != r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = rs . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(want(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(want(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(want(s,r),p) . close -- 1.2.1 pc(s,r) = rs, p != r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = rs . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p) implies inv12(want(s,r),p) . close -- 1.2.2 pc(s,r) = rs, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = rs . eq p = r . -- check red inv12(s,p) implies inv12(want(s,r),p) . close -- 2. stnxt(s,r) -- 2.2.1a pc(s,r) = l1, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l1 . eq p = r . eq glock(s) = r . -- check red (inv12(s,p)) implies inv12(stnxt(s,r),p) . close -- 2.2.1b pc(s,r) = l1, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l1 . eq p = r . eq (glock(s) = r) = false . -- check red inv12(s,p) implies inv12(stnxt(s,r),p) . close -- -- 2.2.2 pc(s,r) = l1, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l1 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(stnxt(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(stnxt(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(stnxt(s,r),p) . close -- -- 2.2.2 pc(s,r) = l1, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l1 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p) implies inv12(stnxt(s,r),p) . close -- 3. stprd(s,r) -- 3.2.1 pc(s,r) = l2, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l2 . eq p = r . -- check red inv12(s,p) implies inv12(stprd(s,r),p) . close -- -- 3.2.2 pc(s,r) = l2, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l2 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(stprd(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(stprd(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(stprd(s,r),p) . close -- -- 3.2.2 pc(s,r) = l2, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l2 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p) implies inv12(stprd(s,r),p) . close -- 4. stprd(s,r) -- 4.2.1.1 pc(s,r) = l3, p = r, pred(s,r) = nop open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l3 . eq p = r . eq pred(s,r) = nop . -- check red inv12(s,p) implies inv12(chprd(s,r),p) . close -- 4.2.1.2 pc(s,r) = l3, p = r, pred(s,r) != nop open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l3 . eq p = r . eq (pred(s,r) = nop) = false . -- check red inv12(s,p) implies inv12(chprd(s,r),p) . close -- 4.2.2 pc(s,r) = l3, p = r , p != r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l3 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(chprd(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chprd(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chprd(s,r),p) . close -- 4.2.2 pc(s,r) = l3, p = r , p != r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P ) = true . -- assumptions eq pc(s,r) = l3 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p) implies inv12(chprd(s,r),p) . close -- 5. stlck(s,r) -- 5.2.1 pc(s,r) = l4, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l4 . eq p = r . -- check red inv12(s,p ) implies inv12(stlck(s,r),p ) . close -- -- 5.2.2 pc(s,r) = l4, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l4 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(stlck(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(stlck(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(stlck(s,r),p) . close -- -- 5.2.2 pc(s,r) = l4, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l4 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(stlck(s,r),p ) . close -- 6. stnpr(s,r) -- 6.2.1 pc(s,r) = l5, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l5 . eq p = r . -- check red inv12(s,p ) implies inv12(stnpr(s,r),p ) . close -- -- 6.2.2 pc(s,r) = l5, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l5 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(stnpr(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(stnpr(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(stnpr(s,r),p) . close -- -- 6.2.2 pc(s,r) = l5, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l5 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red ( inv12(s,p)) implies inv12(stnpr(s,r),p ) . close -- 7. chlck(s,r) -- 7.2.1 pc(s,r) = l6, p = r , lock(s,r) open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l6 . eq p = r . eq lock(s,r) = true . red inv12(s,p ) implies inv12(chlck(s,r),p ) . eq lock(s,r) = false . red inv12(s,p ) implies inv12(chlck(s,r),p ) . close -- -- 7.2.2 pc(s,r) = l6, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l6 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(chlck(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chlck(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chlck(s,r),p) . close -- -- 7.2.2 pc(s,r) = l6, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l6 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(chlck(s,r),p ) . close -- 8. exit(s,r) -- 8.2.1 pc(s,r) = cs, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = cs . eq p = r . -- check red inv12(s,p ) implies inv12(exit(s,r),p ) . close -- -- 8.2.2 pc(s,r) = cs, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = cs . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(exit(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(exit(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(exit(s,r),p) . close -- -- 8.2.2 pc(s,r) = cs, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = cs . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red (inv12(s,p )) implies inv12(exit(s,r),p ) . close -- 9. chnxt(s,r) -- 9.2.1.1 pc(s,r) = l7, p = r , next(s,r) = nop open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l7 . eq p = r . eq next(s,r) = nop . -- check red inv12(s,p ) implies inv12(chnxt(s,r),p ) . close -- 9.2.1.2 pc(s,r) = l7, p = r , next(s,r) != nop open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l7 . eq p = r . eq (next(s,r) = nop) = false . eq glock(s) = r . -- check red (inv16(s,r) and inv12(s,p)) implies inv12(chnxt(s,r),p) . close -- 9.2.1.2 pc(s,r) = l7, p = r , next(s,r) != nop open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l7 . eq p = r . eq (next(s,r) = nop) = false . eq (glock(s) = r) = false . -- check red inv12(s,p) implies inv12(chnxt(s,r),p) . close -- -- 9.2.2 pc(s,r) = l7, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l7 . eq (p = r) = false . -- check eq pc(s,p) = rs . red inv12(s,p) implies inv12(chnxt(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chnxt(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chnxt(s,r),p) . close -- -- 9.2.2 pc(s,r) = l7, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l7 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(chnxt(s,r),p ) . close -- 10. chglk(s,r) -- 10.2.1.1 pc(s,r) = l8, p = r , r = glock(s) open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq p = r . eq glock(s) = r . -- check red inv12(s,p ) implies inv12(chglk(s,r),p ) . close -- 10.2.1.2 pc(s,r) = l8, p = r , r != glock(s) open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq p = r . eq (glock(s) = r) = false . -- check red inv12(s,p ) implies inv12(chglk(s,r),p ) . close -- -- 10.2.2.1 pc(s,r) = l8, (p = r) = false, glock(s) = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq (p = r) = false . eq (glock(s) = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(chglk(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chglk(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chglk(s,r),p) . close -- -- 10.2.2.1 pc(s,r) = l8, (p = r) = false, glock(s) = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq (p = r) = false . eq (glock(s) = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red ( inv12(s,p)) implies inv12(chglk(s,r),p ) . close -- -- 10.2.2.1 pc(s,r) = l8, (p = r) = false, glock(s) = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq (p = r) = false . eq glock(s) = r . eq pc(s,p) = rs . red inv12(s,p) implies inv12(chglk(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chglk(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chglk(s,r),p) . close -- -- 10.2.2.1 pc(s,r) = l8, (p = r) = false, glock(s) = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l8 . eq (p = r) = false . eq glock(s) = r . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red ( inv12(s,p)) implies inv12(chglk(s,r),p ) . close -- 11. go2rs(s,r) -- 11.2.1 pc(s,r) = l9, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l9 . eq p = r . -- check red ( inv12(s,p)) implies inv12(go2rs(s,r),p ) . close -- -- 11.2.2 pc(s,r) = l9, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l9 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(go2rs(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(go2rs(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(go2rs(s,r),p) . close -- -- 11.2.2 pc(s,r) = l9, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l9 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(go2rs(s,r),p ) . close -- 12. chnxt2(s,r) -- -- 10.1 pc(s,r) != l10 -- 12.2.1a pc(s,r) = l10, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq p = r . eq (next(s,r) = nop) = false . eq (glock(s) = r) = false . -- check red ( inv12(s,p)) implies inv12(chnxt2(s,r),p ) . close -- 12.2.1a pc(s,r) = l10, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq p = r . eq (next(s,r) = nop) = false . eq glock(s) = r . -- check red ( inv12(s,p)) implies inv12(chnxt2(s,r),p ) . close -- 12.2.1b pc(s,r) = l10, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq p = r . eq next(s,r) = nop . -- check eq pc(s,p) = rs . red inv12(s,p) implies inv12(chnxt2(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chnxt2(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chnxt2(s,r),p) . close -- 12.2.1b pc(s,r) = l10, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq p = r . eq next(s,r) = nop . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red ( inv12(s,p)) implies inv12(chnxt2(s,r),p ) . close -- -- 12.2.2 pc(s,r) = l10, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(chnxt2(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(chnxt2(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(chnxt2(s,r),p) . close -- -- 12.2.2 pc(s,r) = l10, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l10 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(chnxt2(s,r),p ) . close -- 13. stlnx(s,r) -- 13.2.1 pc(s,r) = l11, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l11 . eq p = r . -- check red inv12(s,p ) implies inv12(stlnx(s,r),p ) . close -- -- 13.2.2 pc(s,r) = l11, (p = r) = false, open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l11 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(stlnx(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(stlnx(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(stlnx(s,r),p) . close -- -- 13.2.2 pc(s,r) = l11, (p = r) = false, open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l11 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red ( inv12(s,p )) implies inv12(stlnx(s,r),p ) . close -- 14. go2rs2(s,r) -- 14.2.1 pc(s,r) = l12, p = r open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l12 . eq p = r . -- check red ( inv12(s,p)) implies inv12(go2rs2(s,r),p ) . close -- -- 14.2.2 pc(s,r) = l11, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l12 . eq (p = r) = false . eq pc(s,p) = rs . red inv12(s,p) implies inv12(go2rs2(s,r),p) . eq pc(s,p) = l1 . red inv12(s,p) implies inv12(go2rs2(s,r),p) . eq pc(s,p) = l2 . red inv12(s,p) implies inv12(go2rs2(s,r),p) . close -- -- 14.2.2 pc(s,r) = l11, (p = r) = false open INV . -- fresh constants op s : -> Sys . ops p r : -> Pid . -- induction hypothesis eq [:nonexec] : inv12(s,P:Pid ) = true . -- assumptions eq pc(s,r) = l12 . eq (p = r) = false . eq (pc(s,p) = rs) = false . eq (pc(s,p) = l1) = false . eq (pc(s,p) = l2) = false . -- check red inv12(s,p ) implies inv12(go2rs2(s,r),p ) . close