[2601] | 1 | open Preamble |
---|
| 2 | |
---|
| 3 | open Bool |
---|
| 4 | |
---|
| 5 | open Hints_declaration |
---|
| 6 | |
---|
| 7 | open Core_notation |
---|
| 8 | |
---|
| 9 | open Pts |
---|
| 10 | |
---|
| 11 | open Logic |
---|
| 12 | |
---|
| 13 | open Relations |
---|
| 14 | |
---|
| 15 | open Nat |
---|
| 16 | |
---|
| 17 | open Types |
---|
| 18 | |
---|
| 19 | open Extranat |
---|
| 20 | |
---|
| 21 | open Vector |
---|
| 22 | |
---|
| 23 | open Div_and_mod |
---|
| 24 | |
---|
| 25 | open Jmeq |
---|
| 26 | |
---|
| 27 | open Russell |
---|
| 28 | |
---|
| 29 | open List |
---|
| 30 | |
---|
| 31 | open Util |
---|
| 32 | |
---|
| 33 | open FoldStuff |
---|
| 34 | |
---|
| 35 | open BitVector |
---|
| 36 | |
---|
[2717] | 37 | open Exp |
---|
| 38 | |
---|
[2601] | 39 | open Arithmetic |
---|
| 40 | |
---|
| 41 | type comparison = |
---|
| 42 | | Ceq |
---|
| 43 | | Cne |
---|
| 44 | | Clt |
---|
| 45 | | Cle |
---|
| 46 | | Cgt |
---|
| 47 | | Cge |
---|
| 48 | |
---|
| 49 | val comparison_rect_Type4 : |
---|
| 50 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 51 | |
---|
| 52 | val comparison_rect_Type5 : |
---|
| 53 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 54 | |
---|
| 55 | val comparison_rect_Type3 : |
---|
| 56 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 57 | |
---|
| 58 | val comparison_rect_Type2 : |
---|
| 59 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 60 | |
---|
| 61 | val comparison_rect_Type1 : |
---|
| 62 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 63 | |
---|
| 64 | val comparison_rect_Type0 : |
---|
| 65 | 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> 'a1 -> comparison -> 'a1 |
---|
| 66 | |
---|
| 67 | val comparison_inv_rect_Type4 : |
---|
| 68 | comparison -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> |
---|
| 69 | (__ -> 'a1) -> (__ -> 'a1) -> 'a1 |
---|
| 70 | |
---|
| 71 | val comparison_inv_rect_Type3 : |
---|
| 72 | comparison -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> |
---|
| 73 | (__ -> 'a1) -> (__ -> 'a1) -> 'a1 |
---|
| 74 | |
---|
| 75 | val comparison_inv_rect_Type2 : |
---|
| 76 | comparison -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> |
---|
| 77 | (__ -> 'a1) -> (__ -> 'a1) -> 'a1 |
---|
| 78 | |
---|
| 79 | val comparison_inv_rect_Type1 : |
---|
| 80 | comparison -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> |
---|
| 81 | (__ -> 'a1) -> (__ -> 'a1) -> 'a1 |
---|
| 82 | |
---|
| 83 | val comparison_inv_rect_Type0 : |
---|
| 84 | comparison -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> (__ -> 'a1) -> |
---|
| 85 | (__ -> 'a1) -> (__ -> 'a1) -> 'a1 |
---|
| 86 | |
---|
| 87 | val comparison_discr : comparison -> comparison -> __ |
---|
| 88 | |
---|
| 89 | val comparison_jmdiscr : comparison -> comparison -> __ |
---|
| 90 | |
---|
| 91 | val negate_comparison : comparison -> comparison |
---|
| 92 | |
---|
| 93 | val swap_comparison : comparison -> comparison |
---|
| 94 | |
---|
| 95 | val wordsize : Nat.nat |
---|
| 96 | |
---|
| 97 | type int = BitVector.bitVector |
---|
| 98 | |
---|
| 99 | val repr : Nat.nat -> int |
---|
| 100 | |
---|
| 101 | val zero0 : int |
---|
| 102 | |
---|
| 103 | val one : int |
---|
| 104 | |
---|
| 105 | val mone : BitVector.bitVector |
---|
| 106 | |
---|
| 107 | val iwordsize : int |
---|
| 108 | |
---|
| 109 | val eq_dec : int -> int -> (__, __) Types.sum |
---|
| 110 | |
---|
| 111 | val eq : int -> int -> Bool.bool |
---|
| 112 | |
---|
| 113 | val lt : int -> int -> Bool.bool |
---|
| 114 | |
---|
| 115 | val ltu : int -> int -> Bool.bool |
---|
| 116 | |
---|
| 117 | val neg : int -> int |
---|
| 118 | |
---|
| 119 | val mul : |
---|
| 120 | BitVector.bitVector -> BitVector.bitVector -> Bool.bool Vector.vector |
---|
| 121 | |
---|
| 122 | val zero_ext_n : |
---|
| 123 | Nat.nat -> Nat.nat -> BitVector.bitVector -> BitVector.bitVector |
---|
| 124 | |
---|
| 125 | val zero_ext0 : Nat.nat -> int -> int |
---|
| 126 | |
---|
| 127 | val sign_ext_n : |
---|
| 128 | Nat.nat -> Nat.nat -> BitVector.bitVector -> BitVector.bitVector |
---|
| 129 | |
---|
| 130 | val sign_ext0 : Nat.nat -> int -> int |
---|
| 131 | |
---|
| 132 | val i_and : int -> int -> int |
---|
| 133 | |
---|
| 134 | val or0 : int -> int -> int |
---|
| 135 | |
---|
| 136 | val xor : int -> int -> int |
---|
| 137 | |
---|
| 138 | val not : int -> int |
---|
| 139 | |
---|
| 140 | val shl : int -> int -> int |
---|
| 141 | |
---|
| 142 | val shru : int -> int -> int |
---|
| 143 | |
---|
| 144 | val shr : int -> int -> int |
---|
| 145 | |
---|
| 146 | val shrx : int -> int -> int |
---|
| 147 | |
---|
| 148 | val shr_carry : int -> int -> BitVector.bitVector |
---|
| 149 | |
---|
| 150 | val rol : int -> int -> int |
---|
| 151 | |
---|
| 152 | val ror : int -> int -> int |
---|
| 153 | |
---|
| 154 | val rolm : int -> int -> int -> int |
---|
| 155 | |
---|
| 156 | val cmp : comparison -> int -> int -> Bool.bool |
---|
| 157 | |
---|
| 158 | val cmpu : comparison -> int -> int -> Bool.bool |
---|
| 159 | |
---|
| 160 | val notbool : int -> int |
---|
| 161 | |
---|