src/HOL/hologic.ML
changeset 26036 f9e779f11949
parent 25919 8b1c0d434824
child 26086 3c243098b64a
equal deleted inserted replaced
26035:9f8810c42604 26036:f9e779f11949
    85   val Suc_zero: term
    85   val Suc_zero: term
    86   val mk_nat: int -> term
    86   val mk_nat: int -> term
    87   val dest_nat: term -> int
    87   val dest_nat: term -> int
    88   val class_size: string
    88   val class_size: string
    89   val size_const: typ -> term
    89   val size_const: typ -> term
       
    90   val indexT: typ
    90   val bitT: typ
    91   val bitT: typ
    91   val B0_const: term
    92   val B0_const: term
    92   val B1_const: term
    93   val B1_const: term
    93   val mk_bit: int -> term
    94   val mk_bit: int -> term
    94   val dest_bit: term -> int
    95   val dest_bit: term -> int
   444 val class_size = "Nat.size";
   445 val class_size = "Nat.size";
   445 
   446 
   446 fun size_const T = Const ("Nat.size_class.size", T --> natT);
   447 fun size_const T = Const ("Nat.size_class.size", T --> natT);
   447 
   448 
   448 
   449 
       
   450 (* index *)
       
   451 
       
   452 val indexT = Type ("Code_Index.index", []);
       
   453 
       
   454 
   449 (* bit *)
   455 (* bit *)
   450 
   456 
   451 val bitT = Type ("Int.bit", []);
   457 val bitT = Type ("Int.bit", []);
   452 
   458 
   453 val B0_const = Const ("Int.bit.B0", bitT);
   459 val B0_const = Const ("Int.bit.B0", bitT);