author | wenzelm |
Mon, 11 Dec 2023 14:25:14 +0100 | |
changeset 79245 | 17fda85a33dc |
parent 79244 | 197b155f8818 |
child 79246 | a551cf8eca09 |
src/Pure/term.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/term.ML Mon Dec 11 14:05:19 2023 +0100 +++ b/src/Pure/term.ML Mon Dec 11 14:25:14 2023 +0100 @@ -668,7 +668,7 @@ fun rename_abs pat obj t = let - val renaming = match_bvs (pat, obj) []; + val renaming = match_bvs (pat, obj) [] |> filter_out (op =); fun rename x = perhaps (AList.lookup (op =) renaming) x; in if null renaming then NONE else Same.catch (map_abs_vars_same rename) t end;