src/HOL/HOLCF/IOA/ABP/Packet.thy
changeset 40774 0437dbc127b3
parent 35174 e15040ae75d7
child 40945 b8703f63bfb2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/HOL/HOLCF/IOA/ABP/Packet.thy	Sat Nov 27 16:08:10 2010 -0800
     1.3 @@ -0,0 +1,22 @@
     1.4 +(*  Title:      HOLCF/IOA/ABP/Packet.thy
     1.5 +    Author:     Olaf Müller
     1.6 +*)
     1.7 +
     1.8 +header {* Packets *}
     1.9 +
    1.10 +theory Packet
    1.11 +imports Main
    1.12 +begin
    1.13 +
    1.14 +types
    1.15 +  'msg packet = "bool * 'msg"
    1.16 +
    1.17 +definition
    1.18 +  hdr :: "'msg packet => bool" where
    1.19 +  "hdr = fst"
    1.20 +
    1.21 +definition
    1.22 +  msg :: "'msg packet => 'msg" where
    1.23 +  "msg = snd"
    1.24 +
    1.25 +end