src/Provers/eqsubst.ML
changeset 18708 4b3dadb4fe33
parent 18598 94d658871c98
child 18833 bead1a4e966b
equal deleted inserted replaced
18707:9d6154f76476 18708:4b3dadb4fe33
     5 A proof method to perform a substiution using an equation.
     5 A proof method to perform a substiution using an equation.
     6 *)
     6 *)
     7 
     7 
     8 signature EQSUBST =
     8 signature EQSUBST =
     9 sig
     9 sig
    10   val setup : (Theory.theory -> Theory.theory) list
    10   val setup : theory -> theory
    11 end;
    11 end;
    12 
    12 
    13 structure EqSubst: EQSUBST =
    13 structure EqSubst: EQSUBST =
    14 struct
    14 struct
    15 
    15 
   335   #> (fn (ctxt, ((asmflag, occL), inthms)) =>
   335   #> (fn (ctxt, ((asmflag, occL), inthms)) =>
   336     (if asmflag then eqsubst_asm_meth else eqsubst_meth) ctxt occL inthms);
   336     (if asmflag then eqsubst_asm_meth else eqsubst_meth) ctxt occL inthms);
   337 
   337 
   338 
   338 
   339 val setup =
   339 val setup =
   340   [Method.add_method ("subst", subst_meth, "substiution with an equation")];
   340   Method.add_method ("subst", subst_meth, "substiution with an equation");
   341 
   341 
   342 end;
   342 end;