src/HOL/Tools/split_rule.ML
changeset 22278 70a7cd02fec1
parent 20071 8f3e1ddb50e6
child 24584 01e83ffa6c54
equal deleted inserted replaced
22277:b89dc456dbc6 22278:70a7cd02fec1
   148     >> (fn xss => Thm.rule_attribute (K (split_rule_goal xss)))) x;
   148     >> (fn xss => Thm.rule_attribute (K (split_rule_goal xss)))) x;
   149 
   149 
   150 val setup =
   150 val setup =
   151   Attrib.add_attributes
   151   Attrib.add_attributes
   152     [("split_format", split_format,
   152     [("split_format", split_format,
   153       "split pair-typed subterms in premises, or function arguments")];
   153       "split pair-typed subterms in premises, or function arguments"),
       
   154      ("split_rule", Attrib.no_args (Thm.rule_attribute (K split_rule)),
       
   155       "curries ALL function variables occurring in a rule's conclusion")];
   154 
   156 
   155 end;
   157 end;
   156 
   158 
   157 structure BasicSplitRule: BASIC_SPLIT_RULE = SplitRule;
   159 structure BasicSplitRule: BASIC_SPLIT_RULE = SplitRule;
   158 open BasicSplitRule;
   160 open BasicSplitRule;