IOA/example/Packet.thy
author clasohm
Tue, 24 Oct 1995 14:59:17 +0100
changeset 251 f04b33ce250f
parent 168 44ff2275d44f
permissions -rw-r--r--
added calls of init_html and make_chart
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     1
(*  Title:      HOL/IOA/example/Packet.thy
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     2
    ID:         $Id$
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     3
    Author:     Tobias Nipkow & Konrad Slind
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     4
    Copyright   1994  TU Muenchen
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     5
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     6
Packets
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     7
*)
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
     8
156
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
     9
Packet = Arith +
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    10
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    11
types
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    12
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    13
   'msg packet = "bool * 'msg"
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    14
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    15
consts
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    16
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    17
  hdr  :: "'msg packet => bool"
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    18
  msg :: "'msg packet => 'msg"
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    19
168
44ff2275d44f Added headers and made various small mods.
nipkow
parents: 156
diff changeset
    20
defs
156
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    21
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    22
  hdr_def "hdr == fst"
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    23
  msg_def "msg == snd"
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    24
fd1be45b64bf added IOA to isabelle/HOL
clasohm
parents:
diff changeset
    25
end