src/HOL/Tools/meson.ML
changeset 20972 db0425645cc7
parent 20822 634070b40731
child 21046 fe1db2f991a7
equal deleted inserted replaced
20971:1e7df197b8b8 20972:db0425645cc7
   271 			   [disj_FalseD1, disj_FalseD2, asm_rl])
   271 			   [disj_FalseD1, disj_FalseD2, asm_rl])
   272     handle THM _ => th;
   272     handle THM _ => th;
   273 
   273 
   274 (*Remove duplicate literals, if there are any*)
   274 (*Remove duplicate literals, if there are any*)
   275 fun nodups th =
   275 fun nodups th =
   276     if null(findrep(literals(prop_of th))) then th
   276   if has_duplicates (op =) (literals (prop_of th))
   277     else nodups_aux [] th;
   277     then nodups_aux [] th
       
   278     else th;
   278 
   279 
   279 
   280 
   280 (**** Generation of contrapositives ****)
   281 (**** Generation of contrapositives ****)
   281 
   282 
   282 (*Associate disjuctions to right -- make leftmost disjunct a LITERAL*)
   283 (*Associate disjuctions to right -- make leftmost disjunct a LITERAL*)