src/ZF/simpdata.ML
changeset 15570 8d8c70b41bab
parent 15531 08c8dad8e399
child 17002 fb9261990ffe
equal deleted inserted replaced
15569:1b3115d1a8df 15570:8d8c70b41bab
    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 =>