src/HOL/Tools/Function/measure_functions.ML
changeset 38797 abe92b33ac9f
parent 38764 e6a18808873c
child 42361 23f352990944
equal deleted inserted replaced
38796:c421cfe2eada 38797:abe92b33ac9f
    18 (** User-declared size functions **)
    18 (** User-declared size functions **)
    19 structure Measure_Heuristic_Rules = Named_Thms
    19 structure Measure_Heuristic_Rules = Named_Thms
    20 (
    20 (
    21   val name = "measure_function"
    21   val name = "measure_function"
    22   val description =
    22   val description =
    23     "Rules that guide the heuristic generation of measure functions"
    23     "rules that guide the heuristic generation of measure functions"
    24 );
    24 );
    25 
    25 
    26 fun mk_is_measure t =
    26 fun mk_is_measure t =
    27   Const (@{const_name is_measure}, fastype_of t --> HOLogic.boolT) $ t
    27   Const (@{const_name is_measure}, fastype_of t --> HOLogic.boolT) $ t
    28 
    28