section ‹System specification› theory System_Specification imports Prelim begin (* This is the system specification of COSMED. *) declare List.insert[simp] subsection ‹The state›