equal
deleted
inserted
replaced
919 val arg' = (c', rhs'); |
919 val arg' = (c', rhs'); |
920 in |
920 in |
921 Context.mapping_result |
921 Context.mapping_result |
922 (Sign.add_abbrev Syntax.internalM arg') (add_abbrev Syntax.internalM arg') |
922 (Sign.add_abbrev Syntax.internalM arg') (add_abbrev Syntax.internalM arg') |
923 #-> (fn (lhs, _) => |
923 #-> (fn (lhs, _) => |
924 Term.equiv_types (rhs, rhs') ? target_notation prmode [(lhs, mx)] Morphism.identity) |
924 Term.equiv_types (rhs, rhs') ? Morphism.form (target_notation prmode [(lhs, mx)])) |
925 end; |
925 end; |
926 |
926 |
927 fun local_abbrev (x, rhs) = |
927 fun local_abbrev (x, rhs) = |
928 Variable.add_fixes [x] #-> (fn [x'] => |
928 Variable.add_fixes [x] #-> (fn [x'] => |
929 let |
929 let |