equal
deleted
inserted
replaced
570 |
570 |
571 val collect_ignored = |
571 val collect_ignored = |
572 fold_rev (fn thm => fn cs => |
572 fold_rev (fn thm => fn cs => |
573 let |
573 let |
574 val (lhs,rhs) = Logic.dest_equals (prop_of thm) |
574 val (lhs,rhs) = Logic.dest_equals (prop_of thm) |
575 val ignore_lhs = OldTerm.term_consts lhs \\ OldTerm.term_consts rhs |
575 val ignore_lhs = Term.add_const_names lhs [] \\ Term.add_const_names rhs [] |
576 val ignore_rhs = OldTerm.term_consts rhs \\ OldTerm.term_consts lhs |
576 val ignore_rhs = Term.add_const_names rhs [] \\ Term.add_const_names lhs [] |
577 in |
577 in |
578 fold_rev (insert (op =)) cs (ignore_lhs @ ignore_rhs) |
578 fold_rev (insert (op =)) cs (ignore_lhs @ ignore_rhs) |
579 end) |
579 end) |
580 |
580 |
581 (* set_prop t thms tries to make a theorem with the proposition t from |
581 (* set_prop t thms tries to make a theorem with the proposition t from |