changeset 1422 | a26cb19375e8 |
parent 1415 | 6e856be26ac7 |
child 1427 | b355cab42841 |
--- a/Nominal/Fv.thy Thu Mar 11 14:09:54 2010 +0100 +++ b/Nominal/Fv.thy Thu Mar 11 15:11:57 2010 +0100 @@ -696,4 +696,14 @@ | SOME i => i *} +ML {* +fun rename_vars fnctn thm = +let + val vars = Term.add_vars (prop_of thm) [] + val nvars = map (Var o ((apfst o apfst) fnctn)) vars +in + Thm.certify_instantiate ([], (vars ~~ nvars)) thm end +*} + +end