[Imprint][Data Privacy Statement][E-Mail]
Back to main index.
View the specification.
View theorem base summary,
View theorem base listing,
the used properties by spec,
the dependency list,
the symbol table,
enrich
transaction,
memorylist
with
functions ⟦ . ⟧ : run → memorylist → bool;
comment: semantics of a run;
⟦ . ⟧ : runevent → (L → V) × (L → V) → bool;
comment: semantics of an operation;
predicates opaque : run;
opaque : run × translist;
comment: translist contains exactly the transactions.;
presrt : run × translist;
comment: preserves real time order.;
transseq : run × translist;
comment: transposlist contains exactly the transactions of the run.;
<rt : range × range × run;
comment: real-time order of transactions in a run;
variables v : V;
resem : (L → V) × (L → V) → bool;
runsem : memorylist → bool;
axioms opaque-def : ⊦ opaque(r) ↔ (∃ ts. opaque(r, ts));
opaqueh-def
: ⊦ opaque(r, ts)
↔ transseq(r, ts) ∧ presrt(r, ts)
∧ (∀ n. n < # ts → (∃ σ. σ[0] = ∅ ∧ ⟦cp(firstn(n, ts), r) + runevs(ts[n].begin, ts[n].end, r)⟧ (σ)));
transseq-def : ⊦ transseq(r, ts) ↔ ¬ dups(ts) ∧ (∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r));
rt-def : ⊦ <rt(m .. n, m0 .. n0, r) ↔ ftr(m, n, r) ∧ tr(m0, n0, r) ∧ n < m0;
presrt-def : ⊦ presrt(r, ts) ↔ (∀ m, n, m0, n0. <rt(m .. n, m0 .. n0, r) → pos(m .. n, ts) < pos(m0 .. n0, ts));
comment: the sequential run defined by translist preserves real time order.;
sem-def : ⊦ ⟦r⟧ (σ) ↔ # σ = # r + 1 ∧ (∀ n. n < # r → ⟦r[n]⟧ (σ[n], σ[n + 1]));
sem-begin : ⊦ ⟦Begin(p)⟧ (mem, mem0) ↔ mem0 = mem;
used for: s, ls;
sem-commit : ⊦ ⟦Commit(p)⟧ (mem, mem0) ↔ mem0 = mem;
used for: s, ls;
sem-abort : ⊦ ⟦Abort(p)⟧ (mem, mem0) ↔ mem0 = mem;
used for: s, ls;
sem-read : ⊦ ⟦Read(p, l, v)⟧ (mem, mem0) ↔ mem0 = mem ∧ mem(l) = v;
used for: s, ls;
sem-write : ⊦ ⟦Write(p, l, v)⟧ (mem, mem0) ↔ mem0 = (mem(l; v));
used for: s, ls;
end enrich