The alternate version of trm5 with additional binding. All proofs work the same.
authorCezary Kaliszyk <kaliszyk@in.tum.de>
Thu, 18 Feb 2010 10:00:58 +0100
changeset 1186 166cc41091b9
parent 1185 7566b899ca6a
child 1187 3b24f33aedad
The alternate version of trm5 with additional binding. All proofs work the same.
Quot/Nominal/Terms.thy
--- a/Quot/Nominal/Terms.thy	Thu Feb 18 09:46:38 2010 +0100
+++ b/Quot/Nominal/Terms.thy	Thu Feb 18 10:00:58 2010 +0100
@@ -432,9 +432,17 @@
   "rbv5 rLnil = {}"
 | "rbv5 (rLcons n t ltl) = {atom n} \<union> (rbv5 ltl)"
 
+
+(*
 local_setup {* define_raw_fv "Terms.rtrm5" [
   [[[]], [[], []], [[(SOME @{term rbv5}, 0)], [(SOME @{term rbv5}, 0)]]], [[], [[], [], []]]  ] *}
 print_theorems
+*)
+(* Alternate version with additional binding of name in rlts in rLcons *)
+local_setup {* define_raw_fv "Terms.rtrm5" [
+  [[[]], [[], []], [[(SOME @{term rbv5}, 0)], [(SOME @{term rbv5}, 0)]]], [[], [[(NONE,0)], [], [(NONE,0)]]]  ] *}
+print_theorems
+
 
 setup {* snd o define_raw_perms ["rtrm5", "rlts"] ["Terms.rtrm5", "Terms.rlts"] *}
 print_theorems