diff -r d1ab27c10049 -r cff8a67691d2 Quot/Nominal/LFex.thy --- a/Quot/Nominal/LFex.thy Wed Feb 24 15:39:17 2010 +0100 +++ b/Quot/Nominal/LFex.thy Wed Feb 24 17:42:37 2010 +0100 @@ -20,6 +20,7 @@ setup {* snd o define_raw_perms ["rkind", "rty", "rtrm"] ["LFex.rkind", "LFex.rty", "LFex.rtrm"] *} +print_theorems local_setup {* snd o define_fv_alpha "LFex.rkind" @@ -117,29 +118,11 @@ thm rkind_rty_rtrm.inducts lemmas kind_ty_trm_inducts = rkind_rty_rtrm.inducts[quot_lifted] -instantiation kind and ty and trm :: pt -begin - -quotient_definition - "permute_kind :: perm \ kind \ kind" -is - "permute :: perm \ rkind \ rkind" - -quotient_definition - "permute_ty :: perm \ ty \ ty" -is - "permute :: perm \ rty \ rty" - -quotient_definition - "permute_trm :: perm \ trm \ trm" -is - "permute :: perm \ rtrm \ rtrm" - -instance by default (simp_all add: - permute_rkind_permute_rty_permute_rtrm_zero[quot_lifted] - permute_rkind_permute_rty_permute_rtrm_append[quot_lifted]) - -end +setup {* define_lifted_perms ["LFex.kind", "LFex.ty", "LFex.trm"] + [("permute_kind", @{term "permute :: perm \ rkind \ rkind"}), + ("permute_ty", @{term "permute :: perm \ rty \ rty"}), + ("permute_trm", @{term "permute :: perm \ rtrm \ rtrm"})] + @{thms permute_rkind_permute_rty_permute_rtrm_zero permute_rkind_permute_rty_permute_rtrm_append} *} (* Lifts, but slow and not needed?.