theory Key imports "../Fused_Resource" begin section ‹Key specification› locale ideal_key = fixes valid_keys :: "'key set" begin subsection ‹Data-types for Parties, State, Events, Input, and Output› datatype party = Alice | Bob type_synonym s_shell = "party set"