This is a listing of all goals defined over the current specification. Axioms are marked yellow, proved theorems green and unproved theorems blue. Click on individual names to get more information on the proof.
| Name: | Sequent: | Type: |
|---|---|---|
| subset-add | ⊦ rws ⊆ mem → (rws[l := v] ⊆ mem ↔ mem(l) = v) | A User Theorem |
| startf-def | ⊦ TMS2start(st) ↔ st.memories = ∅ ' ∧ (∀ t. st.apcf(t) = notStarted ∧ st.rdsetf(t) = ∅ ∧ st.wrsetf(t) = ∅ ∧ st.beginIdxf(t) = 0) | An Axiom |
| TMS2astep-def | ⊦ TMS2astep(st, aa, st') ↔ (∃ a. abs(a) = aa ∧ TMS2step(st, a, st')) | An Axiom |
| exvalid-empty | ⊦ beginIdx < # memories → ∃valid(beginIdx, ∅, memories) | A User Theorem |
| TMS2stepp-invread | ⊦ TMS2stepp(st, invTMRead(t, l)) ↔ st.apcf(t) = ready | An Axiom |
| TMS2stepf-invcancel | ⊦ TMS2stepf(st, invcancel(t)) = st.apcf:= st.apcf(t := cancelPending) | An Axiom |
| exvalid-def | ⊦ ∃valid(beginIdx, rdset, memories) ↔ (∃ n. beginIdx ≤ n ∧ n < # memories ∧ rdset ⊆ memories[n]) | An Axiom |
| subset-base | ⊦ ∅ ⊆ mem | An Axiom |
| TMS2stepp-retabort | ⊦ TMS2stepp(st, respabort(t)) ↔ ¬(st.apcf(t) = notStarted ∨ st.apcf(t) = ready ∨ st.apcf(t) = commitResp ∨ st.apcf(t) = committed ∨ st.apcf(t) = aborted) | An Axiom |
| TMS2stepp-DoWrite | ⊦ TMS2stepp(st, DoWrite(t)) ↔ (∃ l, v. st.apcf(t) = doWrite(l, v)) | An Axiom |
| validIdx-def | ⊦ validIdx(t, n, st) ↔ ¬ ¬(st.beginIdxf(t) ≤ n ∧ n < # st.memories ∧ st.rdsetf(t) ⊆ st.memories[n]) | An Axiom |
| subset-rec | ⊦ ¬ l ∈ rws → (rws[l := v] ⊆ mem ↔ mem(l) = v ∧ rws ⊆ mem) | An Axiom |
| TMS2stepp-retread | ⊦ TMS2stepp(st, respTMRead(t, v)) ↔ st.apcf(t) = readResp(v) | An Axiom |
| overwrite-with-empty | ⊦ mem ⊕ ∅ = mem | A User Theorem |
| TMS2stepf-retread | ⊦ TMS2stepf(st, respTMRead(t, v)) = st.apcf:= st.apcf(t := ready) | An Axiom |
| TMS2step-retwrite | ⊦ TMS2stepf(st, respTMWrite(t)) = st.apcf:= st.apcf(t := ready) | An Axiom |
| DoRead-def | ⊦ DoRead(st, t, st') ↔ (∃ l. st.apcf(t) = doRead(l) ∧ ( l ∈ st.wrsetf(t) ∧ st' = st.apcf:= st.apcf(t := readResp(st.wrsetf(t)[l])) ∨ (∃ n. validIdx(t, n, st) ∧ st' = (st.apcf:= st.apcf(t := readResp(st.memories[n](l)))).rdsetf:= st.rdsetf(t := st.rdsetf(t)[l := st.memories[n](l)])))) | An Axiom |
| TMS2stepf-retbegin | ⊦ TMS2stepf(st, respTMBegin(t)) = st.apcf:= st.apcf(t := ready) | An Axiom |
| TMS2stepp-invwrite | ⊦ TMS2stepp(st, invTMWrite(t, l, v)) ↔ st.apcf(t) = ready | An Axiom |
| TMS2step-invend | ⊦ TMS2stepf(st, invTMEnd(t)) = st.apcf:= st.apcf(t := doCommit) | An Axiom |
| TMS2stepp-tau | ⊦ ¬ TMS2stepp(st, τ) | An Axiom |
| TMS2stepp-retbegin | ⊦ TMS2stepp(st, respTMBegin(t)) ↔ st.apcf(t) = beginPending | An Axiom |
| TMS2stepf-invread | ⊦ TMS2stepf(st, invTMRead(t, l)) = st.apcf:= st.apcf(t := doRead(l)) | An Axiom |
| TMS2stepf-DoCommitWriter | ⊦ TMS2stepf(st, DoCommitWriter(t)) = (st.apcf:= st.apcf(t := commitResp)).memories:= (st.memories + (st.memories.last ⊕ st.wrsetf(t))) | An Axiom |
| TMS2stepp-retend | ⊦ TMS2stepp(st, respTMEnd(t)) ↔ st.apcf(t) = commitResp | An Axiom |
| TMS2stepp-retwrite | ⊦ TMS2stepp(st, respTMWrite(t)) ↔ st.apcf(t) = writeResp | An Axiom |
| exvalid-attach | ⊦ beginIdx < # memories ∧ ∃valid(beginIdx, rdset, memories) → ∃valid(beginIdx, rdset, memories + mem ') | A User Theorem |
| TMS2stepf-invbegin | ⊦ TMS2stepf(st, invTMBegin(t)) = (st.apcf:= st.apcf(t := beginPending)).beginIdxf:= st.beginIdxf(t := # st.memories - 1) | An Axiom |
| TMS2stepf-retabort | ⊦ TMS2stepf(st, respabort(t)) = st.apcf:= st.apcf(t := aborted) | An Axiom |
| TMS2step-def | ⊦ TMS2step(st, a, st') ↔ (∃ t. a = DoRead(t) ⊃ DoRead(st, a.t, st');TMS2stepp(st, a) ∧ st' = TMS2stepf(st, a)) | An Axiom |
| TMS2stepp-invend | ⊦ TMS2stepp(st, invTMEnd(t)) ↔ st.apcf(t) = ready | An Axiom |
| TMS2stepf-invwrite | ⊦ TMS2stepf(st, invTMWrite(t, l, v)) = st.apcf:= st.apcf(t := doWrite(l, v)) | An Axiom |
| subset-def | ⊦ rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l)) | A User Theorem |
| TMS2step-retend | ⊦ TMS2stepf(st, respTMEnd(t)) = st.apcf:= st.apcf(t := committed) | An Axiom |
| TMS2stepp-DoCommitWriter | ⊦ TMS2stepp(st, DoCommitWriter(t)) ↔ ¬ ¬(st.apcf(t) = doCommit ∧ st.rdsetf(t) ⊆ st.memories.last) | An Axiom |
| subsetlast-exvalidattach | ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories + mem ') | A User Theorem |
| exvalid-empty-01 | ⊦ # memories = beginIdx + 1 → ∃valid(beginIdx, ∅, memories) | A User Theorem |
| TMS2stepf-DoCommitReadonly | ⊦ TMS2stepf(st, DoCommitReadOnly(t)) = st.apcf:= st.apcf(t := commitResp) | An Axiom |
| TMS2stepp-DoCommitReadonly | ⊦ TMS2stepp(st, DoCommitReadOnly(t)) ↔ ¬ ¬(st.apcf(t) = doCommit ∧ st.wrsetf(t) = ∅ ∧ ∃valid(st.beginIdxf(t), st.rdsetf(t), st.memories)) | An Axiom |
| TMS2stepf-DoWrite | ⊦ TMS2stepf(st, DoWrite(t)) = (st.apcf:= st.apcf(t := writeResp)).wrsetf:= st.wrsetf(t := st.wrsetf(t)[st.apcf(t).l := st.apcf(t).v]) | An Axiom |
| TMS2stepp-invbegin | ⊦ TMS2stepp(st, invTMBegin(t)) ↔ st.apcf(t) = notStarted | An Axiom |
| TMS2stepp-invcancel | ⊦ TMS2stepp(st, invcancel(t)) ↔ st.apcf(t) = ready | An Axiom |
| subsetlast-exvalid | ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories) | A User Theorem |
| subset-addone | ⊦ rws ⊆ mem ⊕ rws0 → rws[l := v] ⊆ (mem ⊕ rws0)(l := v) | A User Theorem |
| overwrite-def | ⊦ ((mem ⊕ rws))(l) = (l ∈ rws ⊃ rws[l];mem(l)) | An Axiom |