equal
deleted
inserted
replaced
14 fun atomize (conn_pairs, mem_pairs) th = |
14 fun atomize (conn_pairs, mem_pairs) th = |
15 let fun tryrules pairs t = |
15 let fun tryrules pairs t = |
16 case head_of t of |
16 case head_of t of |
17 Const(a,_) => |
17 Const(a,_) => |
18 (case assoc(pairs,a) of |
18 (case assoc(pairs,a) of |
19 SOME rls => flat (map (atomize (conn_pairs, mem_pairs)) |
19 SOME rls => List.concat (map (atomize (conn_pairs, mem_pairs)) |
20 ([th] RL rls)) |
20 ([th] RL rls)) |
21 | NONE => [th]) |
21 | NONE => [th]) |
22 | _ => [th] |
22 | _ => [th] |
23 in case concl_of th of |
23 in case concl_of th of |
24 Const("Trueprop",_) $ P => |
24 Const("Trueprop",_) $ P => |