Theory Lightweight_Java_Definition
theory Lightweight_Java_Definition
imports Main "HOL-Library.Multiset"
begin
type_synonym "j" = "nat"
type_synonym "f" = "string"
type_synonym "meth" = "string"
type_synonym "var" = "string"
type_synonym "dcl" = "string"
type_synonym "oid" = "nat"
datatype "fqn" =
fqn_def "dcl"
datatype "cl" =
cl_object
| cl_fqn "fqn"
datatype "x" =
x_var "var"
| x_this
datatype "vd" =
vd_def "cl" "var"
type_synonym "X" = "x list"
datatype "ctx" =
ctx_def
type_synonym "vds" = "vd list"