src/HOL/Tools/Lifting/lifting_setup.ML
changeset 75503 e5d88927e017
parent 74545 6c123914883a
child 78090 79ad3181071b
--- a/src/HOL/Tools/Lifting/lifting_setup.ML	Tue May 31 20:56:09 2022 +0200
+++ b/src/HOL/Tools/Lifting/lifting_setup.ML	Sat Jun 04 15:43:34 2022 +0200
@@ -758,7 +758,7 @@
           handle TERM _ => error "Invalid form of the reflexivity theorem. Use \"reflp R\"."
       in
         case reflp_tm of
-          Const (\<^const_name>\<open>reflp\<close>, _) $ _ => ()
+          \<^Const_>\<open>reflp_on _ for \<^Const>\<open>top_class.top _\<close> _\<close> => ()
           | _ => error "Invalid form of the reflexivity theorem. Use \"reflp R\"."
       end