# HG changeset patch # User wenzelm # Date 1717760412 -7200 # Node ID c5dbc6908669c9e8802bb4f3b48efae60080a77c # Parent 2e5cc9abc84cbbf352692771cf71ca52f93afc40 tuned; diff -r 2e5cc9abc84c -r c5dbc6908669 src/HOL/Tools/Ctr_Sugar/ctr_sugar_util.ML --- a/src/HOL/Tools/Ctr_Sugar/ctr_sugar_util.ML Fri Jun 07 13:37:20 2024 +0200 +++ b/src/HOL/Tools/Ctr_Sugar/ctr_sugar_util.ML Fri Jun 07 13:40:12 2024 +0200 @@ -222,11 +222,11 @@ | name_noted_thms qualifier base ((local_name, thms) :: noted) = if Long_Name.base_name local_name = base then let + val name = Long_Name.append qualifier base; val pos = Position.thread_data (); val thms' = thms |> map_index (uncurry (fn j => Thm.name_derivation - (((Long_Name.append qualifier base ^ - (if can the_single thms then "" else "_" ^ string_of_int (j + 1))), pos)))) + (((name ^ (if can the_single thms then "" else "_" ^ string_of_int (j + 1))), pos)))) in (local_name, thms') :: noted end else ((local_name, thms) :: name_noted_thms qualifier base noted);