src/HOLCF/IOA/NTP/Packet.ML
author paulson
Mon, 05 Mar 2001 15:25:11 +0100
changeset 11193 851c90b23a9e
parent 5068 fb28eaa07e01
child 12218 6597093b77e7
permissions -rw-r--r--
reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp

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

Packets
*)


(* Instantiation of a tautology? *)
Goal "!x. x = packet --> hdr(x) = hdr(packet)";
 by (simp_tac (simpset() addsimps [Packet.hdr_def]) 1);
qed "eq_packet_imp_eq_hdr"; 

Addsimps [Packet.hdr_def,Packet.msg_def];