src/HOL/Tools/inductive_package.ML
changeset 22675 acf10be7dcca
parent 22667 cbfb899dd674
child 22789 4d03dc1cad04
equal deleted inserted replaced
22674:1a610904bbca 22675:acf10be7dcca
    72 val inductive_rulify_fallback = thms "induct_rulify_fallback";
    72 val inductive_rulify_fallback = thms "induct_rulify_fallback";
    73 
    73 
    74 val notTrueE = TrueI RSN (2, notE);
    74 val notTrueE = TrueI RSN (2, notE);
    75 val notFalseI = Seq.hd (atac 1 notI);
    75 val notFalseI = Seq.hd (atac 1 notI);
    76 val simp_thms' = map (fn s => mk_meta_eq (the (find_first
    76 val simp_thms' = map (fn s => mk_meta_eq (the (find_first
    77   (equal (term_of (read_cterm HOL.thy (s, propT))) o prop_of) simp_thms)))
    77   (equal (Sign.read_prop HOL.thy s) o prop_of) simp_thms)))
    78   ["(~True) = False", "(~False) = True",
    78   ["(~True) = False", "(~False) = True",
    79    "(True --> ?P) = ?P", "(False --> ?P) = True",
    79    "(True --> ?P) = ?P", "(False --> ?P) = True",
    80    "(?P & True) = ?P", "(True & ?P) = ?P"];
    80    "(?P & True) = ?P", "(True & ?P) = ?P"];
    81 
    81 
    82 
    82