| ls.e = gs.ar[ls.n], # gs.ar ≠ 0 ∧ htok(gs.ar), # gs0.ar ≠ 0 ∧ htok(gs0.ar), lsf(tid) = ls, lsf0(tid) = ls0, alsf(tid) = als, alsf(tid).tid = tid, lsf(tid).tid = tid, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, pcf(tid) = I6, pcf0(tid) = I7, apcf(tid) = apc, allslotsfull(gs.ar, ls.n0, ls.n, ls.e, false) ∧ ls.n < # gs.ar ∧ ls.e ≠ ⊥ ∧ ls.sz = # gs.ar ∧ (ls.n0 < # gs.ar ∧ ls.n0 = get_hash(ls.e, ls.sz)) ∧ ¬ ls.b, (ls0.e0 ≠ ⊥ → ls0.e0 = gs0.ar[ls0.n]) ∧ allslotsfull(gs0.ar, ls0.n0, ls0.n, ls0.e, false) ∧ ls0.n < # gs0.ar ∧ ls0.e ≠ ⊥ ∧ ls0.sz = # gs0.ar ∧ (ls0.n0 < # gs0.ar ∧ ls0.n0 = get_hash(ls0.e, ls0.sz)) ∧ ¬ ls0.b, SetLInv(ags, als, apc), ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), pre(ags, als, apc, ADoInsert(ls.tid, true)) → ags0 = gstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ als0 = lstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ apc0 = pcstepf(ags, als, apc, ADoInsert(ls.tid, true)), pre(gs, ls, I6, doINSERT(ls.tid, true)) ∧ gs0 = gstepf(gs, ls, I6, doINSERT(ls.tid, true)) ∧ ls0 = lstepf(gs, ls, I6, doINSERT(ls.tid, true)) ∧ I7 = pcstepf(gs, ls, I6, doINSERT(ls.tid, true)), absset(gs.ar, ags.set), ls.tid = als.tid ∧ apc = invInsert ∧ (apc = invMember ∨ apc = invInsert → ls.e = als.le) ⊦ pre(ags, als, apc, ADoInsert(ls.tid, true)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = (ls0.e = ls0.e0 ⊃ retInsert;invInsert) ∧ (ls0.e = ls0.e0 → als0.lb) ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le) |
ls.e = gs.ar[ls.n], ls0.n0 = get_hash(ls0.e, ls0.sz), ls.n0 = get_hash(ls.e, ls.sz), ls0.sz = # gs0.ar, ls.sz = # gs.ar, ls.tid = als.tid, lsf(tid).tid = tid, alsf(tid).tid = tid, I7 = pcstepf(gs, ls, I6, doINSERT(ls.tid, true)), alsf(tid) = als, apc = invInsert, apcf(tid) = apc, gs0 = gstepf(gs, ls, I6, doINSERT(ls.tid, true)), ls0 = lstepf(gs, ls, I6, doINSERT(ls.tid, true)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = I6, pcf0(tid) = I7, # gs.ar ≠ 0, # gs0.ar ≠ 0, ls.e ≠ ⊥, ls0.e ≠ ⊥, ls0.n < # gs0.ar, ls0.n0 < # gs0.ar, ls.n < # gs.ar, ls.n0 < # gs.ar, SetLInv(ags, als, apc), absset(gs.ar, ags.set), allslotsfull(gs0.ar, ls0.n0, ls0.n, ls0.e, false), allslotsfull(gs.ar, ls.n0, ls.n, ls.e, false), htok(gs0.ar), htok(gs.ar), pre(gs, ls, I6, doINSERT(ls.tid, true)), ¬ ls.b, ¬ ls0.b, apc = invMember ∨ apc = invInsert → ls.e = als.le, pre(ags, als, apc, ADoInsert(ls.tid, true)) → ags0 = gstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ als0 = lstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ apc0 = pcstepf(ags, als, apc, ADoInsert(ls.tid, true)), ls0.e0 ≠ ⊥ → ls0.e0 = gs0.ar[ls0.n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0 ⊦ pre(ags, als, apc, ADoInsert(ls.tid, true)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = (ls0.e = ls0.e0 ⊃ retInsert;invInsert) ∧ (ls0.e = ls0.e0 → als0.lb) ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le)
| ls.e = gs.ar[ls.n], ls0.n0 = get_hash(ls0.e, ls0.sz), ls.n0 = get_hash(ls.e, ls.sz), ls0.sz = # gs0.ar, ls.sz = # gs.ar, ls.tid = als.tid, lsf(tid).tid = tid, alsf(tid).tid = tid, I7 = pcstepf(gs, ls, I6, doINSERT(ls.tid, true)), alsf(tid) = als, apc = invInsert, apcf(tid) = apc, gs0 = gstepf(gs, ls, I6, doINSERT(ls.tid, true)), ls0 = lstepf(gs, ls, I6, doINSERT(ls.tid, true)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = I6, pcf0(tid) = I7, # gs.ar ≠ 0, # gs0.ar ≠ 0, ls.e ≠ ⊥, ls0.e ≠ ⊥, ls0.n < # gs0.ar, ls0.n0 < # gs0.ar, ls.n < # gs.ar, ls.n0 < # gs.ar, SetLInv(ags, als, apc), absset(gs.ar, ags.set), allslotsfull(gs0.ar, ls0.n0, ls0.n, ls0.e, false), allslotsfull(gs.ar, ls.n0, ls.n, ls.e, false), htok(gs0.ar), htok(gs.ar), pre(gs, ls, I6, doINSERT(ls.tid, true)), ¬ ls.b, ¬ ls0.b, apc = invMember ∨ apc = invInsert → ls.e = als.le, pre(ags, als, apc, ADoInsert(ls.tid, true)) → ags0 = gstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ als0 = lstepf(ags, als, apc, ADoInsert(ls.tid, true)) ∧ apc0 = pcstepf(ags, als, apc, ADoInsert(ls.tid, true)), ls0.e0 ≠ ⊥ → ls0.e0 = gs0.ar[ls0.n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0 ⊦ pre(ags, als, apc, ADoInsert(ls.tid, true)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = (ls0.e = ls0.e0 ⊃ retInsert;invInsert) ∧ (ls0.e = ls0.e0 → als0.lb) ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le) |
lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).sz = # gs.ar, lsf0(tid).sz = # gs.ar, alsf(tid).tid = tid, lsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf0(tid).n < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. lsf(tid0).tid = tid0, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)) ⊦ absset(gs.ar, ags.set ++ alsf(tid).le) ∧ lsf0(tid).tid = tid ∧ lsf0(tid).e = lsf0(tid).e0
Used simplifier rules: ⊦ (ls.lb:= lb).lb ↔ lb; (s) ⊦ invInsert ≠ retInsert; (s) ⊦ (ls.lb:= lb).tid = ls.tid; (s) ⊦ (gs.set:= set).set = set; (s) ⊦ ADoInsert(tid, b) = ADoInsert(tid0, b0) ↔ tid = tid0 ∧ (b ↔ b0); (ws) ⊦ pre(gs, ls, invInsert, a) ↔ (∃ b. a = ADoInsert(ls.tid, b)); (s) ⊦ ls.tid = tid → pcstepf(gs, ls, invInsert, ADoInsert(tid, b)) = retInsert; (s) ⊦ ls.tid = tid → lstepf(gs, ls, invInsert, ADoInsert(tid, b)) = (b ⊃ ls.lb:= true;ls.lb:= false); (s) ⊦ ls.tid = tid → gstepf(gs, ls, invInsert, ADoInsert(tid, b)) = (b ⊃ gs.set:= (gs.set ++ ls.le);gs); (s) ⊦ m < n → n ≠ 0; (s) lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ invInsert ≠ invMember; (s) ⊦ invMember ≠ retInsert; (s) ⊦ gstepf(gs, ls, I6, a) = gs; (s) ⊦ doINSERT(tid, b) = doINSERT(tid0, b0) ↔ tid = tid0 ∧ (b ↔ b0); (ws) ⊦ pre(gs, ls, I6, a) ↔ a = (ls.e = gs.ar[ls.n] ⊃ doINSERT(ls.tid, true);τ); (s) ⊦ pcstepf(gs, ls, I6, a) = I7; (s) ⊦ lstepf(gs, ls, I6, a) = ls.e0:= gs.ar[ls.n]; (s)
| lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).sz = # gs.ar, lsf0(tid).sz = # gs.ar, alsf(tid).tid = tid, lsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf0(tid).n < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. lsf(tid0).tid = tid0, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)) ⊦ absset(gs.ar, ags.set ++ alsf(tid).le) ∧ lsf0(tid).tid = tid ∧ lsf0(tid).e = lsf0(tid).e0 |
lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, ¬ absset(gs.ar, ags.set ++ alsf(tid).le), lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦
lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).tid ≠ tid, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦
lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ lsf0(tid).e0, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦
| lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, ¬ absset(gs.ar, ags.set ++ alsf(tid).le), lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦ |
Used simplifier rules: lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e0:= e2 = mkls(tid, e, b, sz, sz0, sz1, e2); (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (s) n < # ar ⊦ absset(ar, set) → (absset(ar, set ++ ar[n]) ↔ ar[n] ≠ ⊥); (s) ⊦ (((((tid = ls.tid ∧ e = ls.e) ∧ (b ↔ ls.b)) ∧ sz = ls.sz) ∧ sz0 = ls.n0) ∧ n = ls.n) ∧ e0 = ls.e0 ↔ ls = mkls(tid, e, b, sz, sz0, n, e0); (elim) Used terms: lsf(tid), b, tid1, n0, e0, e, n, n1
| lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).tid ≠ tid, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦ |
Used simplifier rules: ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e0:= e2 = mkls(tid, e, b, sz, sz0, sz1, e2); (s) lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).sz = sz; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).n0 = sz0; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e = e; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).tid = tid; (s) ⊦ (((((tid = ls.tid ∧ e = ls.e) ∧ (b ↔ ls.b)) ∧ sz = ls.sz) ∧ sz0 = ls.n0) ∧ n = ls.n) ∧ e0 = ls.e0 ↔ ls = mkls(tid, e, b, sz, sz0, n, e0); (elim) Used terms: lsf(tid), b, tid1, n0, e0, e, n, n1
| lsf(tid).e = alsf(tid).le, alsf(tid).le = gs.ar[lsf(tid).n], lsf0(tid).n0 = get_hash(lsf0(tid).e, # gs.ar), lsf(tid).n0 = get_hash(alsf(tid).le, # gs.ar), lsf0(tid).sz = # gs.ar, lsf(tid).sz = # gs.ar, lsf(tid).tid = tid, alsf(tid).tid = tid, apcf(tid) = invInsert, lsf0(tid) = lsf(tid).e0:= alsf(tid).le, pcf(tid) = I6, pcf0(tid) = I7, lsf0(tid).e ≠ lsf0(tid).e0, lsf0(tid).e ≠ ⊥, alsf(tid).le ≠ ⊥, lsf0(tid).n < # gs.ar, lsf0(tid).n0 < # gs.ar, lsf(tid).n < # gs.ar, lsf(tid).n0 < # gs.ar, SetLInv(ags, alsf(tid), invInsert), absset(gs.ar, ags.set), allslotsfull(gs.ar, lsf0(tid).n0, lsf0(tid).n, lsf0(tid).e, false), allslotsfull(gs.ar, lsf(tid).n0, lsf(tid).n, alsf(tid).le, false), htok(gs.ar), ¬ lsf(tid).b, ¬ lsf0(tid).b, lsf0(tid).e0 ≠ ⊥ → lsf0(tid).e0 = gs.ar[lsf0(tid).n], ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. lsf(tid0).tid = tid0 ⊦ |
Used simplifier rules: ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e0:= e2 = mkls(tid, e, b, sz, sz0, sz1, e2); (s) lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).sz = sz; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).n0 = sz0; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e = e; (s) ⊦ mkls(tid, e, b, sz, sz0, sz1, e0).e0 = e0; (s) ⊦ (((((tid = ls.tid ∧ e = ls.e) ∧ (b ↔ ls.b)) ∧ sz = ls.sz) ∧ sz0 = ls.n0) ∧ n = ls.n) ∧ e0 = ls.e0 ↔ ls = mkls(tid, e, b, sz, sz0, n, e0); (elim) Used terms: lsf(tid), b, tid1, n0, e0, e, n, n1
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.