src/Pure/meta_simplifier.ML
changeset 14242 ec70653a02bf
parent 14040 8a2c8f762837
child 14330 eb8b8241ef5b
equal deleted inserted replaced
14241:dfae7eb2830c 14242:ec70653a02bf
    38   val add_prems         : meta_simpset * thm list -> meta_simpset
    38   val add_prems         : meta_simpset * thm list -> meta_simpset
    39   val prems_of_mss      : meta_simpset -> thm list
    39   val prems_of_mss      : meta_simpset -> thm list
    40   val set_mk_rews       : meta_simpset * (thm -> thm list) -> meta_simpset
    40   val set_mk_rews       : meta_simpset * (thm -> thm list) -> meta_simpset
    41   val set_mk_sym        : meta_simpset * (thm -> thm option) -> meta_simpset
    41   val set_mk_sym        : meta_simpset * (thm -> thm option) -> meta_simpset
    42   val set_mk_eq_True    : meta_simpset * (thm -> thm option) -> meta_simpset
    42   val set_mk_eq_True    : meta_simpset * (thm -> thm option) -> meta_simpset
       
    43   val get_mk_rews       : meta_simpset -> thm -> thm list
       
    44   val get_mk_sym        : meta_simpset -> thm -> thm option
       
    45   val get_mk_eq_True    : meta_simpset -> thm -> thm option
    43   val set_termless      : meta_simpset * (term * term -> bool) -> meta_simpset
    46   val set_termless      : meta_simpset * (term * term -> bool) -> meta_simpset
    44   val beta_eta_conversion: cterm -> thm
    47   val beta_eta_conversion: cterm -> thm
    45   val rewrite_cterm: bool * bool * bool ->
    48   val rewrite_cterm: bool * bool * bool ->
    46     (meta_simpset -> thm -> thm option) -> meta_simpset -> cterm -> thm
    49     (meta_simpset -> thm -> thm option) -> meta_simpset -> cterm -> thm
    47   val goals_conv        : (int -> bool) -> (cterm -> thm) -> cterm -> thm
    50   val goals_conv        : (int -> bool) -> (cterm -> thm) -> cterm -> thm
   515 fun set_mk_eq_True
   518 fun set_mk_eq_True
   516   (Mss {rules,congs,procs,bounds,prems,mk_rews,termless,depth}, mk_eq_True) =
   519   (Mss {rules,congs,procs,bounds,prems,mk_rews,termless,depth}, mk_eq_True) =
   517     mk_mss (rules, congs, procs, bounds, prems,
   520     mk_mss (rules, congs, procs, bounds, prems,
   518             {mk= #mk mk_rews, mk_sym= #mk_sym mk_rews, mk_eq_True= mk_eq_True},
   521             {mk= #mk mk_rews, mk_sym= #mk_sym mk_rews, mk_eq_True= mk_eq_True},
   519             termless,depth);
   522             termless,depth);
       
   523 
       
   524 fun get_mk_rews    (Mss {mk_rews,...}) = #mk         mk_rews
       
   525 fun get_mk_sym     (Mss {mk_rews,...}) = #mk_sym     mk_rews
       
   526 fun get_mk_eq_True (Mss {mk_rews,...}) = #mk_eq_True mk_rews
   520 
   527 
   521 (* termless *)
   528 (* termless *)
   522 
   529 
   523 fun set_termless
   530 fun set_termless
   524   (Mss {rules, congs, procs, bounds, prems, mk_rews, depth, ...}, termless) =
   531   (Mss {rules, congs, procs, bounds, prems, mk_rews, depth, ...}, termless) =