src/HOL/IOA/ABP/Impl.thy
author lcp
Tue, 25 Apr 1995 11:14:03 +0200
changeset 1072 0140ff702b23
parent 1050 0c36c6a52a1d
child 1139 993e475e70e2
permissions -rw-r--r--
updated version

(*  Title:      HOL/IOA/ABP/Impl.thy
    ID:         $Id$
    Author:     Tobias Nipkow & Olaf Mueller
    Copyright   1995  TU Muenchen

The implementation
*)

Impl = Sender + Receiver +  Abschannel +

types 

'm impl_state 
= "'m sender_state * 'm receiver_state * 'm packet list * bool list"
(*  sender_state   *  receiver_state   *    srch_state  * rsch_state *)


consts
 impl_ioa    :: "('m action, 'm impl_state)ioa"
 sen         :: "'m impl_state => 'm sender_state"
 rec         :: "'m impl_state => 'm receiver_state"
 srch        :: "'m impl_state => 'm packet list"
 rsch        :: "'m impl_state => bool list"

defs

 impl_def
  "impl_ioa == (sender_ioa || receiver_ioa || srch_ioa || rsch_ioa)"

 sen_def   "sen == fst"
 rec_def   "rec == fst o snd"
 srch_def "srch == fst o snd o snd"
 rsch_def "rsch == snd o snd o snd"

end