src/HOL/Tools/hologic.ML
changeset 41363 57ebe94c7fbf
parent 41339 481c89fabcbc
child 44241 7943b69f0188
equal deleted inserted replaced
41362:3cb30e525ee9 41363:57ebe94c7fbf
     6 
     6 
     7 signature HOLOGIC =
     7 signature HOLOGIC =
     8 sig
     8 sig
     9   val typeS: sort
     9   val typeS: sort
    10   val typeT: typ
    10   val typeT: typ
    11   val mk_id: typ -> term
    11   val id_const: typ -> term
    12   val mk_comp: term * term -> term
    12   val mk_comp: term * term -> term
    13   val boolN: string
    13   val boolN: string
    14   val boolT: typ
    14   val boolT: typ
    15   val Trueprop: term
    15   val Trueprop: term
    16   val mk_Trueprop: term -> term
    16   val mk_Trueprop: term -> term
   144 val typeT = Type_Infer.anyT typeS;
   144 val typeT = Type_Infer.anyT typeS;
   145 
   145 
   146 
   146 
   147 (* functions *)
   147 (* functions *)
   148 
   148 
   149 fun mk_id T = Const ("Fun.id", T --> T);
   149 fun id_const T = Const ("Fun.id", T --> T);
   150 
   150 
   151 fun mk_comp (f, g) =
   151 fun mk_comp (f, g) =
   152   let
   152   let
   153     val fT = fastype_of f;
   153     val fT = fastype_of f;
   154     val gT = fastype_of g;
   154     val gT = fastype_of g;