src/Provers/hypsubst.ML
changeset 18708 4b3dadb4fe33
parent 17896 66902148c436
child 20074 b4d0b545df01
equal deleted inserted replaced
18707:9d6154f76476 18708:4b3dadb4fe33
    56   val vars_gen_hyp_subst_tac : bool -> int -> tactic
    56   val vars_gen_hyp_subst_tac : bool -> int -> tactic
    57   val eq_var                 : bool -> bool -> term -> int * bool
    57   val eq_var                 : bool -> bool -> term -> int * bool
    58   val inspect_pair           : bool -> bool -> term * term * typ -> bool
    58   val inspect_pair           : bool -> bool -> term * term * typ -> bool
    59   val mk_eqs                 : bool -> thm -> thm list
    59   val mk_eqs                 : bool -> thm -> thm list
    60   val stac		     : thm -> int -> tactic
    60   val stac		     : thm -> int -> tactic
    61   val hypsubst_setup         : (theory -> theory) list
    61   val hypsubst_setup         : theory -> theory
    62   end;
    62   end;
    63 
    63 
    64 
    64 
    65 
    65 
    66 functor HypsubstFun(Data: HYPSUBST_DATA): HYPSUBST =
    66 functor HypsubstFun(Data: HYPSUBST_DATA): HYPSUBST =
   240 
   240 
   241 
   241 
   242 (* theory setup *)
   242 (* theory setup *)
   243 
   243 
   244 val hypsubst_setup =
   244 val hypsubst_setup =
   245  [Method.add_methods
   245   Method.add_methods
   246   [("hypsubst", hyp_subst_meth, "substitution using an assumption (improper)"),
   246     [("hypsubst", hyp_subst_meth, "substitution using an assumption (improper)"),
   247    ("simplesubst", subst_meth, "simple substitution")]];
   247      ("simplesubst", subst_meth, "simple substitution")];
   248 
   248 
   249 end;
   249 end;