equal
deleted
inserted
replaced
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 |