-- I) Base case open INV red inv110(init,p) . close -- II) Inductive ceses --> 1) begin(s,p10) -- 1.1) c-begin(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-begin(s,p10) = true . eq pc(s,p10) = l1 . eq locked(s) = false . -- eq p = p10 . -- successor state eq s' = begin(s,p10) . -- check if the predicate is true. red istep110(p) . close -- open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-begin(s,p10) = true . eq pc(s,p10) = l1 . eq locked(s) = false . -- eq (p = p10) = false . -- successor state eq s' = begin(s,p10) . -- check if the predicate is true. red istep110(p) . close -- -- 1.2) not c-begin(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions eq c-begin(s,p10) = false . -- successor state eq s' = begin(s,p10) . -- check if the predicate is true. red istep110(p) . close --> 2) exit(s,p10) -- 2.1) c-exit(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-exit(s,p10) = false . eq pc(s,p10) = cs . -- eq p = p10 . -- successor state eq s' = exit(s,p10) . -- check if the predicate is true. red istep110(p) . close -- open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-exit(s,p10) = false . eq pc(s,p10) = cs . -- eq (p = p10) = false . -- successor state eq s' = exit(s,p10) . -- check if the predicate is true. red istep110(p) . close -- -- 2.2) not c-exit(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions eq c-exit(s,p10) = false . -- successor state eq s' = exit(s,p10) . -- check if the predicate is true. red istep110(p) . close --> 3) end(s,p10) -- 3.1) end(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-end(s,p10) = false . eq pc(s,p10) = l2 . -- eq p = p10 . -- successor state eq s' = end(s,p10) . -- check if the predicate is true. red istep110(p) . close -- open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions -- eq c-end(s,p10) = false . eq pc(s,p10) = l2 . -- eq (p = p10) = false . -- successor state eq s' = end(s,p10) . -- check if the predicate is true. red inv120(s,p,p10) implies istep110(p) . close -- -- 3.2) not end(s,p10) open ISTEP -- arbitrary objects op p10 : -> Process . -- assumptions eq c-end(s,p10) = false . -- successor state eq s' = end(s,p10) . -- check if the predicate is true. red istep110(p) . close --> Q.E.D.