section‹Two FIFO buffers in a row, with interleaving assumption›
theory DBuffer imports Buffer begin
axiomatization (* implementation variables *)
inp :: "nat stfun"and
mid :: "nat stfun"and
out :: "nat stfun"and
q1 :: "nat list stfun"and
q2 :: "nat list stfun"and
qc :: "nat list stfun"and
DBInit :: stpred and
DBEnq :: action and
DBDeq :: action and
DBPass :: action and
DBNext :: action and
DBuffer :: temporal where
DB_base: "basevars (inp,mid,out,q1,q2)"and
(* the concatenation of the two buffers *)
qc_def: "PRED qc == PRED (q2 @ q1)"and
(* The plan for proving weak fairness at the higher level is to prove (0)DBuffer=>(Enabled(Deqinpqcout)\<leadsto>(Deqinpqcout)) whichisinturnreducedtothetwoleadstoconditions (1)DBuffer=>(Enabled(Deqinpqcout)\<leadsto>q2\<noteq>[]) (2)DBuffer=>(q2\<noteq>[]\<leadsto>DBDeq) andthefactthatDBDeqimplies<Deqinpqcout>_(inp,qc,out) (andthereforeDBDeq\<leadsto><Deqinpqcout>_(inp,qc,out)triviallyholds).
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.6Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.