| ⊦ ls.tid ≠ tid0 ∧ ( gs.w = Some(ls.tid) ∧ (even(gs.glb) ↔ gs.w = None) ∧ (gs.w = Some(ls.tid) → odd(gs.glb)) ∧ ls.loc ≤ gs.glb ∧ (odd(ls.loc) → ls.loc = gs.glb) ∧ (gs.w = Some(ls.tid) → odd(ls.loc)) ∧ (gs.w ≠ Some(ls.tid) → even(ls.loc))) ∧ pre(gs, ls, W5, a) ∧ pcstepf(gs, ls, W5, a) = W6 → (gs.w = Some(tid0) ⊃ gstepf(gs, ls, W5, a).w = Some(tid0) ∧ gs.glb = gstepf(gs, ls, W5, a).glb ∧ gs.mem = gstepf(gs, ls, W5, a).mem ;gstepf(gs, ls, W5, a).w ≠ Some(tid0) ∧ gs.glb ≤ gstepf(gs, ls, W5, a).glb ) ∧ (even(gs.glb) ∧ gs.glb = gstepf(gs, ls, W5, a).glb → gs.mem = gstepf(gs, ls, W5, a).mem) |
gs.w = Some(ls.tid), even(gs.glb) ↔ gs.w = None, pcstepf(gs, ls, W5, a) = W6, ls.tid ≠ tid0, pre(gs, ls, W5, a), ls.loc ≤ gs.glb, gs.w = Some(ls.tid) → odd(gs.glb), odd(ls.loc) → ls.loc = gs.glb, gs.w = Some(ls.tid) → odd(ls.loc), gs.w ≠ Some(ls.tid) → even(ls.loc) ⊦ (gs.w = Some(tid0) ⊃ gstepf(gs, ls, W5, a).w = Some(tid0) ∧ gs.glb = gstepf(gs, ls, W5, a).glb ∧ gs.mem = gstepf(gs, ls, W5, a).mem ;gstepf(gs, ls, W5, a).w ≠ Some(tid0) ∧ gs.glb ≤ gstepf(gs, ls, W5, a).glb ) ∧ (even(gs.glb) ∧ gs.glb = gstepf(gs, ls, W5, a).glb → gs.mem = gstepf(gs, ls, W5, a).mem)
| gs.w = Some(ls.tid), even(gs.glb) ↔ gs.w = None, pcstepf(gs, ls, W5, a) = W6, ls.tid ≠ tid0, pre(gs, ls, W5, a), ls.loc ≤ gs.glb, gs.w = Some(ls.tid) → odd(gs.glb), odd(ls.loc) → ls.loc = gs.glb, gs.w = Some(ls.tid) → odd(ls.loc), gs.w ≠ Some(ls.tid) → even(ls.loc) ⊦ (gs.w = Some(tid0) ⊃ gstepf(gs, ls, W5, a).w = Some(tid0) ∧ gs.glb = gstepf(gs, ls, W5, a).glb ∧ gs.mem = gstepf(gs, ls, W5, a).mem ;gstepf(gs, ls, W5, a).w ≠ Some(tid0) ∧ gs.glb ≤ gstepf(gs, ls, W5, a).glb ) ∧ (even(gs.glb) ∧ gs.glb = gstepf(gs, ls, W5, a).glb → gs.mem = gstepf(gs, ls, W5, a).mem) |
Used simplifier rules: ⊦ Some(t) = Some(t0) ↔ t = t0; (s) ⊦ odd(n) → ¬ even(n); (s) ⊦ m ≤ m; (s) ⊦ (gs.mem:= mem).glb = gs.glb; (s) ⊦ gstepf(gs, ls, W5, a) = gs.mem:= gs.mem(ls.l := ls.v); (s) ⊦ (gs.mem:= mem).w = gs.w; (s) ⊦ (gs.mem:= mem).mem = mem; (s) ⊦ pre(gs, ls, W5, a) ↔ a = doWrite(ls.tid); (s) ⊦ pcstepf(gs, ls, W5, a) = W6; (s)
The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.