src/Provers/classical.ML
changeset 1010 a7693f30065d
parent 982 4fe0b642b7d5
child 1073 b3f190995bc9
equal deleted inserted replaced
1009:eb7c50688405 1010:a7693f30065d
   174   writeln"Safe introduction rules";  prths safeIs;
   174   writeln"Safe introduction rules";  prths safeIs;
   175   writeln"Elimination rules";  prths hazEs;
   175   writeln"Elimination rules";  prths hazEs;
   176   writeln"Safe elimination rules";  prths safeEs;
   176   writeln"Safe elimination rules";  prths safeEs;
   177   ());
   177   ());
   178 
   178 
   179 (** Adding new (un)safe introduction or elimination rules **)
   179 (** Adding new (un)safe introduction or elimination rules 
       
   180     In case of overlap, new rules are tried BEFORE old ones
       
   181 **)
   180 
   182 
   181 fun (CS{safeIs,safeEs,hazIs,hazEs,wrapper,...}) addSIs ths =
   183 fun (CS{safeIs,safeEs,hazIs,hazEs,wrapper,...}) addSIs ths =
   182   make_cs {safeIs=ths@safeIs, 
   184   make_cs {safeIs=ths@safeIs, 
   183 	   safeEs=safeEs, hazIs=hazIs, hazEs=hazEs, wrapper=wrapper};
   185 	   safeEs=safeEs, hazIs=hazIs, hazEs=hazEs, wrapper=wrapper};
   184 
   186