| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
type t = |
| 12 |
| Int63head0 |
| 13 |
| Int63tail0 |
| 14 |
| Int63add |
| 15 |
| Int63sub |
| 16 |
| Int63mul |
| 17 |
| Int63div |
| 18 |
| Int63mod |
| 19 |
| Int63divs |
| 20 |
| Int63mods |
| 21 |
| Int63lsr |
| 22 |
| Int63lsl |
| 23 |
| Int63asr |
| 24 |
| Int63land |
| 25 |
| Int63lor |
| 26 |
| Int63lxor |
| 27 |
| Int63addc |
| 28 |
| Int63subc |
| 29 |
| Int63addCarryC |
| 30 |
| Int63subCarryC |
| 31 |
| Int63mulc |
| 32 |
| Int63diveucl |
| 33 |
| Int63div21 |
| 34 |
| Int63addMulDiv |
| 35 |
| Int63eq |
| 36 |
| Int63lt |
| 37 |
| Int63le |
| 38 |
| Int63lts |
| 39 |
| Int63les |
| 40 |
| Int63compare |
| 41 |
| Int63compares |
| 42 |
| Float64opp |
| 43 |
| Float64abs |
| 44 |
| Float64eq |
| 45 |
| Float64lt |
| 46 |
| Float64le |
| 47 |
| Float64compare |
| 48 |
| Float64equal |
| 49 |
| Float64classify |
| 50 |
| Float64add |
| 51 |
| Float64sub |
| 52 |
| Float64mul |
| 53 |
| Float64div |
| 54 |
| Float64sqrt |
| 55 |
| Float64ofUint63 |
| 56 |
| Float64normfr_mantissa |
| 57 |
| Float64frshiftexp |
| 58 |
| Float64ldshiftexp |
| 59 |
| Float64next_up |
| 60 |
| Float64next_down |
| 61 |
| Arraymake |
| 62 |
| Arrayget |
| 63 |
| Arraydefault |
| 64 |
| Arrayset |
| 65 |
| Arraycopy |
| 66 |
| Arraylength |
| 67 |
| Stringmake |
| 68 |
| Stringlength |
| 69 |
| Stringget |
| 70 |
| Stringsub |
| 71 |
| Stringcat |
| 72 |
| Stringcompare |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
val parse : string -> t |
| 77 |
|
| 78 |
val equal : t -> t -> bool |
| 79 |
|
| 80 |
type const = |
| 81 |
| Arraymaxlength |
| 82 |
| Stringmaxlength |
| 83 |
|
| 84 |
type arg_kind = |
| 85 |
| Kparam |
| 86 |
| Kwhnf |
| 87 |
| Karg |
| 88 |
|
| 89 |
type args_red = arg_kind list |
| 90 |
|
| 91 |
val hash : t -> int |
| 92 |
|
| 93 |
val to_string : t -> string |
| 94 |
|
| 95 |
val arity : t -> int |
| 96 |
|
| 97 |
|
| 98 |
val nparams : t -> int |
| 99 |
|
| 100 |
val kind : t -> args_red |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
type 'a prim_type = |
| 106 |
| PT_int63 : unit prim_type |
| 107 |
| PT_float64 : unit prim_type |
| 108 |
| PT_string : unit prim_type |
| 109 |
| PT_array : (UVars.Instance.t * ind_or_type) prim_type |
| 110 |
|
| 111 |
and 'a prim_ind = |
| 112 |
| PIT_bool : unit prim_ind |
| 113 |
| PIT_carry : ind_or_type prim_ind |
| 114 |
| PIT_pair : (ind_or_type * ind_or_type) prim_ind |
| 115 |
| PIT_cmp : unit prim_ind |
| 116 |
| PIT_f_cmp : unit prim_ind |
| 117 |
| PIT_f_class : unit prim_ind |
| 118 |
|
| 119 |
and ind_or_type = |
| 120 |
| PITT_ind : 'a prim_ind * 'a -> ind_or_type |
| 121 |
| PITT_type : 'a prim_type * 'a -> ind_or_type |
| 122 |
| PITT_param : int -> ind_or_type |
| 123 |
|
| 124 |
val typ_univs : 'a prim_type -> UVars.AbstractContext.t |
| 125 |
|
| 126 |
type prim_type_ex = PTE : 'a prim_type -> prim_type_ex |
| 127 |
|
| 128 |
type prim_ind_ex = PIE : 'a prim_ind -> prim_ind_ex |
| 129 |
|
| 130 |
|
| 131 |
val prim_type_of_string : string -> prim_type_ex |
| 132 |
val prim_type_to_string : 'a prim_type -> string |
| 133 |
|
| 134 |
type op_or_type = |
| 135 |
| OT_op of t |
| 136 |
| OT_type : 'a prim_type -> op_or_type |
| 137 |
| OT_const of const |
| 138 |
|
| 139 |
val op_or_type_univs : op_or_type -> UVars.AbstractContext.t |
| 140 |
|
| 141 |
val prim_ind_to_string : 'a prim_ind -> string |
| 142 |
|
| 143 |
|
| 144 |
val op_or_type_of_string : string -> op_or_type |
| 145 |
|
| 146 |
val op_or_type_to_string : op_or_type -> string |
| 147 |
|
| 148 |
val parse_op_or_type : ?loc:Loc.t -> string -> op_or_type |
| 149 |
|
| 150 |
val univs : t -> UVars.AbstractContext.t |
| 151 |
|
| 152 |
val types : t -> Constr.rel_context * ind_or_type list * ind_or_type |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
val body_of_prim_const : const -> Constr.t |