src/HOL/Tools/Lifting/lifting_term.ML
changeset 59848 18c21d5c9138
parent 59630 c9aa1c90796f
child 60217 40c63ffce97f
equal deleted inserted replaced
59847:c5c4a936357a 59848:18c21d5c9138
   126       [Pretty.str ("No relator distr. data for the type " ^ quote s), 
   126       [Pretty.str ("No relator distr. data for the type " ^ quote s), 
   127        Pretty.brk 1,
   127        Pretty.brk 1,
   128        Pretty.str "found."]))
   128        Pretty.str "found."]))
   129   end
   129   end
   130 
   130 
   131 fun is_id_quot thm = (Thm.prop_of thm = Thm.prop_of @{thm identity_quotient})  (* FIXME equality!? *)
   131 fun is_id_quot thm = Thm.eq_thm_prop (thm, @{thm identity_quotient})
   132 
   132 
   133 fun zip_Tvars ctxt type_name rty_Tvars qty_Tvars =
   133 fun zip_Tvars ctxt type_name rty_Tvars qty_Tvars =
   134   case try (get_rel_quot_thm ctxt) type_name of
   134   case try (get_rel_quot_thm ctxt) type_name of
   135     NONE => rty_Tvars ~~ qty_Tvars
   135     NONE => rty_Tvars ~~ qty_Tvars
   136     | SOME rel_quot_thm =>
   136     | SOME rel_quot_thm =>