# HG changeset patch # User haftmann # Date 1282143576 -7200 # Node ID 8c08631cb4b677ca01faaffe1e60ad710053da4c # Parent 3be65f879bcdd943515bfc3a0634014c52259da5 adjusted to changed naming convention of logical record types diff -r 3be65f879bcd -r 8c08631cb4b6 src/HOL/Bali/DeclConcepts.thy --- a/src/HOL/Bali/DeclConcepts.thy Wed Aug 18 16:59:35 2010 +0200 +++ b/src/HOL/Bali/DeclConcepts.thy Wed Aug 18 16:59:36 2010 +0200 @@ -98,7 +98,7 @@ lemma acc_modi_accmodi_simp[simp]: "accmodi (a::acc_modi) = a" by (simp add: acc_modi_accmodi_def) -instantiation decl_ext_type:: (type) has_accmodi +instantiation decl_ext :: (type) has_accmodi begin definition @@ -150,7 +150,7 @@ class has_declclass = fixes declclass:: "'a \ qtname" -instantiation qtname_ext_type :: (type) has_declclass +instantiation qtname_ext :: (type) has_declclass begin definition @@ -162,7 +162,7 @@ lemma qtname_declclass_def: "declclass q \ (q::qtname)" - by (induct q) (simp add: declclass_qtname_ext_type_def) + by (induct q) (simp add: declclass_qtname_ext_def) lemma qtname_declclass_simp[simp]: "declclass (q::qtname) = q" by (simp add: qtname_declclass_def) @@ -186,14 +186,14 @@ class has_static = fixes is_static :: "'a \ bool" -instantiation decl_ext_type :: (has_static) has_static +instantiation decl_ext :: (has_static) has_static begin instance .. end -instantiation member_ext_type :: (type) has_static +instantiation member_ext :: (type) has_static begin instance .. @@ -457,21 +457,21 @@ class has_resTy = fixes resTy:: "'a \ ty" -instantiation decl_ext_type :: (has_resTy) has_resTy +instantiation decl_ext :: (has_resTy) has_resTy begin instance .. end -instantiation member_ext_type :: (has_resTy) has_resTy +instantiation member_ext :: (has_resTy) has_resTy begin instance .. end -instantiation mhead_ext_type :: (type) has_resTy +instantiation mhead_ext :: (type) has_resTy begin instance .. @@ -487,7 +487,7 @@ lemma resTy_mhead [simp]:"resTy (mhead m) = resTy m" by (simp add: mhead_def mhead_resTy_simp) -instantiation prod :: ("type","has_resTy") has_resTy +instantiation prod :: (type, has_resTy) has_resTy begin definition diff -r 3be65f879bcd -r 8c08631cb4b6 src/HOL/Bali/Name.thy --- a/src/HOL/Bali/Name.thy Wed Aug 18 16:59:35 2010 +0200 +++ b/src/HOL/Bali/Name.thy Wed Aug 18 16:59:36 2010 +0200 @@ -75,7 +75,7 @@ end definition - qtname_qtname_def: "qtname (q::'a qtname_ext_type) = q" + qtname_qtname_def: "qtname (q::'a qtname_scheme) = q" translations (type) "qtname" <= (type) "\pid::pname,tid::tname\"