src/HOL/Tools/ATP/res_clasimpset.ML
changeset 17261 193b84a70ca4
parent 17234 12a9393c5d77
child 17305 6cef3aedd661
equal deleted inserted replaced
17260:df7c3b1f390a 17261:193b84a70ca4
    55 
    55 
    56 fun consts_in_goal goal = consts_of_term goal;
    56 fun consts_in_goal goal = consts_of_term goal;
    57 
    57 
    58 fun axioms_having_consts_aux [] tab thms = thms
    58 fun axioms_having_consts_aux [] tab thms = thms
    59   | axioms_having_consts_aux (c::cs) tab thms =
    59   | axioms_having_consts_aux (c::cs) tab thms =
    60     let val thms1 = Symtab.lookup(tab,c)
    60     let val thms1 = Symtab.curried_lookup tab c
    61 	val thms2 = 
    61       val thms2 = 
    62 	    case thms1 of (SOME x) => x
    62           case thms1 of (SOME x) => x
    63 			| NONE => []
    63                       | NONE => []
    64     in
    64     in
    65 	axioms_having_consts_aux cs tab (thms2 union thms)
    65       axioms_having_consts_aux cs tab (thms2 union thms)
    66     end;
    66     end;
    67 
       
    68 
    67 
    69 fun axioms_having_consts cs tab = axioms_having_consts_aux cs tab [];
    68 fun axioms_having_consts cs tab = axioms_having_consts_aux cs tab [];
    70 
    69 
    71 
    70 
    72 fun relevant_axioms goal thmTab n =  
    71 fun relevant_axioms goal thmTab n =