src/HOLCF/IOA/ABP/Packet.thy
author huffman
Mon, 13 Apr 2009 09:29:55 -0700
changeset 30913 10b26965a08f
parent 25131 2c8caac48ade
child 35174 e15040ae75d7
permissions -rw-r--r--
domain package now generates iff rules for definedness of constructors

(*  Title:      HOLCF/IOA/ABP/Packet.thy
    ID:         $Id$
    Author:     Olaf Müller
*)

header {* Packets *}

theory Packet
imports Main
begin

types
  'msg packet = "bool * 'msg"

definition
  hdr :: "'msg packet => bool" where
  "hdr = fst"

definition
  msg :: "'msg packet => 'msg" where
  "msg = snd"

end