signature ThmAttribute = sig type attrfun = {name:string,attrname:string,thm:Thm.thm} -> unit type attrfuns = {localf : attrfun, storedf : attrfun} val register_attribute : string * attrfuns -> unit val store_at_attribute : attrfun val local_attribute : attrfun val extract_attributes : string -> string * string list end