(* Title: Safe OCL Author: Denis Nikiforov, March 2019 Maintainer: Denis Nikiforov <denis.nikif at gmail.com> License: LGPL *) chapter ‹Basic Types› theory OCL_Basic_Types imports Main "HOL-Library.FSet" "HOL-Library.Phantom_Type" begin (*** Definition *************************************************************) section ‹Definition› text ‹ Basic types are parameterized over classes.› type_synonym 'a enum = "('a, String.literal) phantom" type_synonym elit = String.literal