src/Pure/Isar/context_rules.ML
changeset 67649 1e1782c1aedf
parent 67626 cfa71f9933f4
child 74561 8e6c973003c8
equal deleted inserted replaced
67648:f6e351043014 67649:1e1782c1aedf
   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;