src/HOL/Tools/Function/measure_functions.ML
changeset 39039 e6a18808873c
parent 37678 0040bafffdef
child 43232 23f352990944
equal deleted inserted replaced
39038:283f1f9969ba 39039:e6a18808873c
    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