equal
deleted
inserted
replaced
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*) |