src/HOL/Tools/res_clause.ML
changeset 20854 f9cf9e62d11c
parent 20824 aca7d38283bf
child 21254 d53f76357f41
equal deleted inserted replaced
20853:3ff5a2e05810 20854:f9cf9e62d11c
   450                   kind = kind, literals = lits, types_sorts = types_sorts}
   450                   kind = kind, literals = lits, types_sorts = types_sorts}
   451   end;		     
   451   end;		     
   452 
   452 
   453 fun get_tvar_strs [] = []
   453 fun get_tvar_strs [] = []
   454   | get_tvar_strs ((FOLTVar indx,s)::tss) = 
   454   | get_tvar_strs ((FOLTVar indx,s)::tss) = 
   455       (make_schematic_type_var indx) ins (get_tvar_strs tss)
   455       insert (op =) (make_schematic_type_var indx) (get_tvar_strs tss)
   456   | get_tvar_strs((FOLTFree x,s)::tss) = get_tvar_strs tss
   456   | get_tvar_strs((FOLTFree x,s)::tss) = get_tvar_strs tss
   457 
   457 
   458 (* check if a clause is first-order before making a conjecture clause*)
   458 (* check if a clause is first-order before making a conjecture clause*)
   459 fun make_conjecture_clause n th =
   459 fun make_conjecture_clause n th =
   460   if Meson.is_fol_term (prop_of th) then make_clause(n, "conjecture", th, Conjecture)
   460   if Meson.is_fol_term (prop_of th) then make_clause(n, "conjecture", th, Conjecture)