src/FOL/simpdata.ML
changeset 394 432bb9995893
parent 371 3a853818f1d2
child 429 888bbb4119f8
equal deleted inserted replaced
393:02b27671b899 394:432bb9995893
    70 val P_iff_T = int_prove_fun "P ==> (P <-> True)";
    70 val P_iff_T = int_prove_fun "P ==> (P <-> True)";
    71 val iff_reflection_T = P_iff_T RS iff_reflection;
    71 val iff_reflection_T = P_iff_T RS iff_reflection;
    72 
    72 
    73 (*Make meta-equalities.  The operator below is Trueprop*)
    73 (*Make meta-equalities.  The operator below is Trueprop*)
    74 fun mk_meta_eq th = case concl_of th of
    74 fun mk_meta_eq th = case concl_of th of
    75     _ $ (Const("op =",_)$_$_)   => th RS eq_reflection
    75     Const("==",_)$_$_           => th
       
    76   | _ $ (Const("op =",_)$_$_)   => th RS eq_reflection
    76   | _ $ (Const("op <->",_)$_$_) => th RS iff_reflection
    77   | _ $ (Const("op <->",_)$_$_) => th RS iff_reflection
    77   | _ $ (Const("Not",_)$_)      => th RS iff_reflection_F
    78   | _ $ (Const("Not",_)$_)      => th RS iff_reflection_F
    78   | _                           => th RS iff_reflection_T;
    79   | _                           => th RS iff_reflection_T;
    79 
    80 
    80 structure Induction = InductionFun(struct val spec=IFOL.spec end);
    81 structure Induction = InductionFun(struct val spec=IFOL.spec end);