changeset 81954 | 6f2bcdfa9a19 |
parent 77879 | dd222e2af01a |
--- a/src/HOL/Library/cconv.ML Wed Jan 22 21:35:05 2025 +0100 +++ b/src/HOL/Library/cconv.ML Wed Jan 22 22:22:19 2025 +0100 @@ -131,7 +131,7 @@ |> Thm.cterm_of ctxt end val rule = abstract_rule_thm x - val inst = Thm.match (hd (Drule.cprems_of rule), mk_concl eq) + val inst = Thm.match (hd (Thm.take_cprems_of 1 rule), mk_concl eq) val gen = (Names.empty, Names.make1_set (#1 (dest_Free v))) in (Drule.instantiate_normalize inst rule OF [Drule.generalize gen eq])