src/HOLCF/IOA/NTP/Action.thy
author haftmann
Thu, 29 Apr 2010 15:00:43 +0200
changeset 36537 b0186c66f324
parent 35174 e15040ae75d7
permissions -rw-r--r--
repaired subtle misunderstanding: statement names are only passed for name resolution
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3073
88366253a09a Old NTP files now running under the IOA meta theory based on HOLCF;
mueller
parents:
diff changeset
     1
(*  Title:      HOL/IOA/NTP/Action.thy
88366253a09a Old NTP files now running under the IOA meta theory based on HOLCF;
mueller
parents:
diff changeset
     2
    Author:     Tobias Nipkow & Konrad Slind
88366253a09a Old NTP files now running under the IOA meta theory based on HOLCF;
mueller
parents:
diff changeset
     3
*)
88366253a09a Old NTP files now running under the IOA meta theory based on HOLCF;
mueller
parents:
diff changeset
     4
17244
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
     5
header {* The set of all actions of the system *}
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
     6
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
     7
theory Action
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
     8
imports Packet
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
     9
begin
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    10
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    11
datatype 'm action = S_msg 'm | R_msg 'm
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    12
                   | S_pkt "'m packet" | R_pkt "'m packet"
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    13
                   | S_ack bool | R_ack bool
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    14
                   | C_m_s | C_m_r | C_r_s | C_r_r 'm
0b2ff9541727 converted to Isar theory format;
wenzelm
parents: 14981
diff changeset
    15
3073
88366253a09a Old NTP files now running under the IOA meta theory based on HOLCF;
mueller
parents:
diff changeset
    16
end