| ⊦ ( (even(gs.glb) ↔ gs.w = None) ∧ (gs.w = Some(ls.tid) → odd(gs.glb)) ∧ ls.loc ≤ gs.glb ∧ even(ls.loc) ∧ gs.w ≠ Some(ls.tid) ∧ (gs.w ≠ Some(ls.tid) → even(ls.loc))) ∧ pre(gs, ls, B4, a) ∧ pcstepf(gs, ls, B4, a) = I → (even(gstepf(gs, ls, B4, a).glb) ↔ gstepf(gs, ls, B4, a).w = None) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(gstepf(gs, ls, B4, a).glb)) ∧ lstepf(gs, ls, B4, a).loc ≤ gstepf(gs, ls, B4, a).glb ∧ (odd(lstepf(gs, ls, B4, a).loc) → lstepf(gs, ls, B4, a).loc = gstepf(gs, ls, B4, a).glb) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(lstepf(gs, ls, B4, a).loc)) ∧ (gstepf(gs, ls, B4, a).w ≠ Some(lstepf(gs, ls, B4, a).tid) → even(lstepf(gs, ls, B4, a).loc)) |
even(gs.glb) ↔ gs.w = None, pcstepf(gs, ls, B4, a) = I, gs.w ≠ Some(ls.tid), even(ls.loc), pre(gs, ls, B4, a), ls.loc ≤ gs.glb, gs.w = Some(ls.tid) → odd(gs.glb), gs.w ≠ Some(ls.tid) → even(ls.loc) ⊦ (even(gstepf(gs, ls, B4, a).glb) ↔ gstepf(gs, ls, B4, a).w = None) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(gstepf(gs, ls, B4, a).glb)) ∧ lstepf(gs, ls, B4, a).loc ≤ gstepf(gs, ls, B4, a).glb ∧ (odd(lstepf(gs, ls, B4, a).loc) → lstepf(gs, ls, B4, a).loc = gstepf(gs, ls, B4, a).glb) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(lstepf(gs, ls, B4, a).loc)) ∧ (gstepf(gs, ls, B4, a).w ≠ Some(lstepf(gs, ls, B4, a).tid) → even(lstepf(gs, ls, B4, a).loc))
| even(gs.glb) ↔ gs.w = None, pcstepf(gs, ls, B4, a) = I, gs.w ≠ Some(ls.tid), even(ls.loc), pre(gs, ls, B4, a), ls.loc ≤ gs.glb, gs.w = Some(ls.tid) → odd(gs.glb), gs.w ≠ Some(ls.tid) → even(ls.loc) ⊦ (even(gstepf(gs, ls, B4, a).glb) ↔ gstepf(gs, ls, B4, a).w = None) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(gstepf(gs, ls, B4, a).glb)) ∧ lstepf(gs, ls, B4, a).loc ≤ gstepf(gs, ls, B4, a).glb ∧ (odd(lstepf(gs, ls, B4, a).loc) → lstepf(gs, ls, B4, a).loc = gstepf(gs, ls, B4, a).glb) ∧ (gstepf(gs, ls, B4, a).w = Some(lstepf(gs, ls, B4, a).tid) → odd(lstepf(gs, ls, B4, a).loc)) ∧ (gstepf(gs, ls, B4, a).w ≠ Some(lstepf(gs, ls, B4, a).tid) → even(lstepf(gs, ls, B4, a).loc)) |
even(gs.glb) ↔ gs.w = None, gs.w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ gs.glb ⊦ (even(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb ∧ (odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc))
Used simplifier rules: ⊦ pre(gs, ls, B4, a) ↔ a = retTMBEGIN(ls.tid); (s) ⊦ pcstepf(gs, ls, B4, a) = I; (s)
| even(gs.glb) ↔ gs.w = None, gs.w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ gs.glb ⊦ (even(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb ∧ (odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) |
even(glb) ↔ w = None, gs = mkTMLgs(mem, glb, w), w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ glb ⊦ (even(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb ∧ (odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc))
Used simplifier rules: ⊦ (mem = gs.mem ∧ glb = gs.glb) ∧ w = gs.w ↔ gs = mkTMLgs(mem, glb, w); (elim) Used terms: gs, mem, glb, w
| even(glb) ↔ w = None, gs = mkTMLgs(mem, glb, w), w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ glb ⊦ (even(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb ∧ (odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).glb) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ (gstepf(gs, ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(gs, ls, B4, retTMBEGIN(ls.tid)).loc)) |
even(glb) ↔ w = None, w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ glb ⊦ (even(gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb ∧ ( odd(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc))
| even(glb) ↔ w = None, w ≠ Some(ls.tid), even(ls.loc), ls.loc ≤ glb ⊦ (even(gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb) ↔ gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = None) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → odd(gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb)) ∧ lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc ≤ gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb ∧ ( odd(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc) → lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc = gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).glb) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w = Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → odd(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc)) ∧ ( gstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).w ≠ Some(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).tid) → even(lstepf(mkTMLgs(mem, glb, w), ls, B4, retTMBEGIN(ls.tid)).loc)) |
Used simplifier rules: ⊦ mkTMLgs(mem, glb, w).glb = glb; (s) ⊦ even(n) → ¬ odd(n); (s) ⊦ gstepf(gs, mkTMLls(tid, loc, l, v), B4, retTMBEGIN(tid)) = gs; (s) ⊦ mkTMLgs(mem, glb, w).w = w; (s) ⊦ mkTMLls(tid, loc, l, v).tid = tid; (s) ⊦ lstepf(gs, mkTMLls(tid, loc, l, v), B4, retTMBEGIN(tid)) = mkTMLls(tid, loc, l, v); (s) ⊦ mkTMLls(tid, loc, l, v).loc = loc; (s) ⊦ ((tid = ls.tid ∧ loc = ls.loc) ∧ l = ls.l) ∧ v = ls.v ↔ ls = mkTMLls(tid, loc, l, v); (elim) Used terms: v, l, tid, ls, loc
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.