src/ZF/Tools/typechk.ML
changeset 74294 ee04dc00bf0a
parent 69593 3dda49e08b9d
child 74375 ba880f3a4e52
--- a/src/ZF/Tools/typechk.ML	Sat Sep 11 21:58:02 2021 +0200
+++ b/src/ZF/Tools/typechk.ML	Sat Sep 11 22:02:12 2021 +0200
@@ -76,8 +76,7 @@
          if length rls <= maxr then resolve_tac ctxt rls i else no_tac
       end);
 
-fun is_rigid_elem (Const(\<^const_name>\<open>Trueprop\<close>,_) $ (Const(\<^const_name>\<open>mem\<close>,_) $ a $ _)) =
-      not (is_Var (head_of a))
+fun is_rigid_elem \<^Const_>\<open>Trueprop for \<open>\<^Const_>\<open>mem for a _\<close>\<close>\<close> = not (is_Var (head_of a))
   | is_rigid_elem _ = false;
 
 (*Try solving a:A by assumption provided a is rigid!*)