src/HOL/Tools/hologic.ML
changeset 38857 97775f3e8722
parent 38795 848be46708dc
child 38864 4abe644fcea5
equal deleted inserted replaced
38856:168dba35ecf3 38857:97775f3e8722
    47   val mk_all: string * typ * term -> term
    47   val mk_all: string * typ * term -> term
    48   val list_all: (string * typ) list * term -> term
    48   val list_all: (string * typ) list * term -> term
    49   val exists_const: typ -> term
    49   val exists_const: typ -> term
    50   val mk_exists: string * typ * term -> term
    50   val mk_exists: string * typ * term -> term
    51   val choice_const: typ -> term
    51   val choice_const: typ -> term
    52   val class_eq: string
    52   val class_equal: string
    53   val mk_binop: string -> term * term -> term
    53   val mk_binop: string -> term * term -> term
    54   val mk_binrel: string -> term * term -> term
    54   val mk_binrel: string -> term * term -> term
    55   val dest_bin: string -> typ -> term -> term * term
    55   val dest_bin: string -> typ -> term -> term * term
    56   val unitT: typ
    56   val unitT: typ
    57   val is_unitT: typ -> bool
    57   val is_unitT: typ -> bool
   249 fun exists_const T = Const ("HOL.Ex", [T --> boolT] ---> boolT);
   249 fun exists_const T = Const ("HOL.Ex", [T --> boolT] ---> boolT);
   250 fun mk_exists (x, T, P) = exists_const T $ absfree (x, T, P);
   250 fun mk_exists (x, T, P) = exists_const T $ absfree (x, T, P);
   251 
   251 
   252 fun choice_const T = Const("Hilbert_Choice.Eps", (T --> boolT) --> T);
   252 fun choice_const T = Const("Hilbert_Choice.Eps", (T --> boolT) --> T);
   253 
   253 
   254 val class_eq = "HOL.eq";
   254 val class_equal = "HOL.equal";
   255 
   255 
   256 
   256 
   257 (* binary operations and relations *)
   257 (* binary operations and relations *)
   258 
   258 
   259 fun mk_binop c (t, u) =
   259 fun mk_binop c (t, u) =