IOA/example/Packet.thy
author nipkow
Wed, 08 Feb 1995 11:34:11 +0100
changeset 210 1a3d3b5b5d15
parent 168 44ff2275d44f
permissions -rw-r--r--
More rewrite rules.

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

Packets
*)

Packet = Arith +

types

   'msg packet = "bool * 'msg"

consts

  hdr  :: "'msg packet => bool"
  msg :: "'msg packet => 'msg"

defs

  hdr_def "hdr == fst"
  msg_def "msg == snd"

end