(* Author: Lawrence C Paulson, Cambridge University Computer Laboratory Copyright 1996 University of Cambridge Datatype of events; function "spies"; freshness "bad" agents have been broken by the Spy; their private keys and internal stores are visible to him *)(*<*) section‹Theory of Events for Security Protocols› theory Event imports Message begin consts (*Initial states of agents -- parameter of the construction*) initState :: "agent ⇒ msg set"