src/FOLP/simpdata.ML
changeset 15531 08c8dad8e399
parent 5304 c133f16febc7
child 15570 8d8c70b41bab
equal deleted inserted replaced
15530:6f43714517ee 15531:08c8dad8e399
    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);