equal
deleted
inserted
replaced
167 (** Pure attributes **) |
167 (** Pure attributes **) |
168 |
168 |
169 (* tags *) |
169 (* tags *) |
170 |
170 |
171 fun gen_tag x = syntax (tag >> Drule.tag) x; |
171 fun gen_tag x = syntax (tag >> Drule.tag) x; |
172 fun gen_untag x = syntax (tag >> Drule.untag) x; |
172 fun gen_untag x = syntax (Scan.lift Args.name >> Drule.untag) x; |
173 |
173 |
174 |
174 |
175 (* transfer *) |
175 (* transfer *) |
176 |
176 |
177 fun gen_transfer theory_of = no_args (Drule.rule_attribute (fn st => Thm.transfer (theory_of st))); |
177 fun gen_transfer theory_of = no_args (Drule.rule_attribute (fn st => Thm.transfer (theory_of st))); |