equal
deleted
inserted
replaced
251 >> (fn key => Thm.declaration_attribute (fn thm => |
251 >> (fn key => Thm.declaration_attribute (fn thm => |
252 add key false { inj = [], embed = [], return = [thm], cong = [], hints = [] }))) |
252 add key false { inj = [], embed = [], return = [thm], cong = [], hints = [] }))) |
253 "install transfer data" #> |
253 "install transfer data" #> |
254 Attrib.setup @{binding transferred} |
254 Attrib.setup @{binding transferred} |
255 (selection -- these (keyword_colon leavingN |-- names) |
255 (selection -- these (keyword_colon leavingN |-- names) |
256 >> (fn (selection, leave) => Thm.rule_attribute (fn context => |
256 >> (fn (selection, leave) => Thm.rule_attribute [] (fn context => |
257 Conjunction.intr_balanced o transfer context selection leave))) |
257 Conjunction.intr_balanced o transfer context selection leave))) |
258 "transfer theorems"); |
258 "transfer theorems"); |
259 |
259 |
260 end; |
260 end; |
261 |
261 |