src/HOL/eqrule_HOL_data.ML
changeset 17521 0f1c48de39f5
parent 16587 b34c8aa657a5
child 18591 04b9f2bf5a48
equal deleted inserted replaced
17520:8581c151adea 17521:0f1c48de39f5
    43   let fun atoms th =
    43   let fun atoms th =
    44         (case Thm.concl_of th of
    44         (case Thm.concl_of th of
    45            Const("Trueprop",_) $ p =>
    45            Const("Trueprop",_) $ p =>
    46              (case Term.head_of p of
    46              (case Term.head_of p of
    47                 Const(a,_) =>
    47                 Const(a,_) =>
    48                   (case Library.assoc(pairs,a) of
    48                   (case AList.lookup (op =) pairs a of
    49                      SOME(rls) => List.concat (map atoms ([th] RL rls))
    49                      SOME rls => List.concat (map atoms ([th] RL rls))
    50                    | NONE => [th])
    50                    | NONE => [th])
    51               | _ => [th])
    51               | _ => [th])
    52          | _ => [th])
    52          | _ => [th])
    53   in atoms end;
    53   in atoms end;
    54 
    54