equal
deleted
inserted
replaced
83 (case concl_of th of |
83 (case concl_of th of |
84 Const("Trueprop",_) $ p => |
84 Const("Trueprop",_) $ p => |
85 (case head_of p of |
85 (case head_of p of |
86 Const(a,_) => |
86 Const(a,_) => |
87 (case assoc(pairs,a) of |
87 (case assoc(pairs,a) of |
88 Some(rls) => flat (map atoms ([th] RL rls)) |
88 SOME(rls) => flat (map atoms ([th] RL rls)) |
89 | None => [th]) |
89 | NONE => [th]) |
90 | _ => [th]) |
90 | _ => [th]) |
91 | _ => [th]) |
91 | _ => [th]) |
92 in atoms end; |
92 in atoms end; |
93 |
93 |
94 fun mk_rew_rules th = map mk_eq (mk_atomize mksimps_pairs th); |
94 fun mk_rew_rules th = map mk_eq (mk_atomize mksimps_pairs th); |