src/Provers/clasimp.ML
changeset 27809 a1e409db516b
parent 26497 1873915c64a9
child 30190 479806475f3c
equal deleted inserted replaced
27808:4dd3d5efcc7f 27809:a1e409db516b
   300 val clasimp_method = Method.bang_sectioned_args clasimp_modifiers o clasimp_meth;
   300 val clasimp_method = Method.bang_sectioned_args clasimp_modifiers o clasimp_meth;
   301 val clasimp_method' = Method.bang_sectioned_args clasimp_modifiers o clasimp_meth';
   301 val clasimp_method' = Method.bang_sectioned_args clasimp_modifiers o clasimp_meth';
   302 
   302 
   303 
   303 
   304 fun auto_args m =
   304 fun auto_args m =
   305   Method.bang_sectioned_args' clasimp_modifiers (Scan.lift (Scan.option (Args.nat -- Args.nat))) m;
   305   Method.bang_sectioned_args' clasimp_modifiers
       
   306     (Scan.lift (Scan.option (OuterParse.nat -- OuterParse.nat))) m;
   306 
   307 
   307 fun auto_meth NONE = clasimp_meth (CHANGED_PROP o auto_tac)
   308 fun auto_meth NONE = clasimp_meth (CHANGED_PROP o auto_tac)
   308   | auto_meth (SOME (m, n)) = clasimp_meth (CHANGED_PROP o (fn css => mk_auto_tac css m n));
   309   | auto_meth (SOME (m, n)) = clasimp_meth (CHANGED_PROP o (fn css => mk_auto_tac css m n));
   309 
   310 
   310 
   311