(* Title: HOL/HOLCF/IOA/ABP/Spec.thy Author: Olaf Müller
*)
section \<open>The specification of reliable transmission\<close>
theory Spec imports IOA.IOA Action begin
definition
spec_sig :: "'m action signature"where
sig_def: "spec_sig = (UN m.{S_msg(m)},
UN m.{R_msg(m)} Un {Next},
{})"
definition
spec_trans :: "('m action, 'm list)transition set"where
trans_def: "spec_trans =
{tr. let s = fst(tr);
t = snd(snd(tr)) in case fst(snd(tr))
of Next => t=s | \<comment> \<open>Note that there is condition as in Sender\<close>
S_msg(m) => t = s@[m] |
R_msg(m) => s = (m#t) |
S_pkt(pkt) => False |
R_pkt(pkt) => False |
S_ack(b) => False |
R_ack(b) => False}"
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 ist noch experimentell.