src/HOL/IOA/ABP/Impl_finite.thy
author clasohm
Fri, 01 Dec 1995 12:03:13 +0100
changeset 1376 92f83b9d17e1
parent 1139 993e475e70e2
child 1570 fd1b9c721ac7
permissions -rw-r--r--
removed quotes from consts and syntax sections

(*  Title:      HOL/IOA/example/Impl.thy
    ID:         $Id$
    Author:     Tobias Nipkow & Konrad Slind
    Copyright   1994  TU Muenchen

The implementation
*)

Impl_finite = Sender + Receiver +  Abschannel_finite +
  
types 

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

consts

 impl_fin_ioa    :: ('m action, 'm impl_fin_state)ioa
 sen_fin         :: 'm impl_fin_state => 'm sender_state
 rec_fin         :: 'm impl_fin_state => 'm receiver_state
 srch_fin        :: 'm impl_fin_state => 'm packet list
 rsch_fin        :: 'm impl_fin_state => bool list

defs

 impl_fin_def
  "impl_fin_ioa == (sender_ioa || receiver_ioa || srch_fin_ioa || rsch_fin_ioa)"
 sen_fin_def   "sen_fin == fst"
 rec_fin_def   "rec_fin == fst o snd"
 srch_fin_def "srch_fin == fst o snd o snd"
 rsch_fin_def "rsch_fin == snd o snd o snd"

end