| author | huffman |
| Sun, 20 May 2007 09:21:04 +0200 | |
| changeset 23047 | 17f7d831efe2 |
| parent 19739 | c58ef2aa5430 |
| child 25131 | 2c8caac48ade |
| permissions | -rw-r--r-- |
(* Title: HOL/IOA/NTP/Packet.thy ID: $Id$ Author: Tobias Nipkow & Konrad Slind *) theory Packet imports Multiset begin types 'msg packet = "bool * 'msg" constdefs hdr :: "'msg packet => bool" "hdr == fst" msg :: "'msg packet => 'msg" "msg == snd" text {* Instantiation of a tautology? *} lemma eq_packet_imp_eq_hdr: "!x. x = packet --> hdr(x) = hdr(packet)" by simp declare hdr_def [simp] msg_def [simp] end