equal
deleted
inserted
replaced
159 |
159 |
160 in |
160 in |
161 |
161 |
162 fun find_rules_netpair ctxt weighted facts goal (inet, enet) = |
162 fun find_rules_netpair ctxt weighted facts goal (inet, enet) = |
163 find_erules weighted facts enet @ find_irules weighted goal inet |
163 find_erules weighted facts enet @ find_irules weighted goal inet |
164 |> map (Thm.transfer (Proof_Context.theory_of ctxt)); |
164 |> map (Thm.transfer' ctxt); |
165 |
165 |
166 fun find_rules ctxt weighted facts goal = |
166 fun find_rules ctxt weighted facts goal = |
167 map (find_rules_netpair ctxt weighted facts goal) (netpairs ctxt); |
167 map (find_rules_netpair ctxt weighted facts goal) (netpairs ctxt); |
168 |
168 |
169 end; |
169 end; |