src/Provers/classical.ML
changeset 1231 91d2c1bb5803
parent 1073 b3f190995bc9
child 1524 524879632d88
equal deleted inserted replaced
1230:87e29e18e970 1231:91d2c1bb5803
   184 fun joinrules (intrs,elims) =  
   184 fun joinrules (intrs,elims) =  
   185     (map (pair true) (elims @ swapify intrs)  @
   185     (map (pair true) (elims @ swapify intrs)  @
   186      map (pair false) intrs);
   186      map (pair false) intrs);
   187 
   187 
   188 (*Priority: prefer rules with fewest subgoals, 
   188 (*Priority: prefer rules with fewest subgoals, 
   189               then rules added most recently.*)
   189   then rules added most recently (preferring the head of the list).*)
   190 fun tag_brls k [] = []
   190 fun tag_brls k [] = []
   191   | tag_brls k (brl::brls) =
   191   | tag_brls k (brl::brls) =
   192       (1000000*subgoals_of_brl brl + k, brl) :: 
   192       (1000000*subgoals_of_brl brl + k, brl) :: 
   193       tag_brls (k+1) brls;
   193       tag_brls (k+1) brls;
   194 
   194