equal
deleted
inserted
replaced
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 => |