File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,14 @@ Section __.
104
104
Definition input_bounds : list (ZRange.type.option.interp base.type.Z)
105
105
:= fold_left (fun l i => Some r[0 ~> Qceiling (2 * input_magnitude * ((weightf (i + 1) / weightf i) - 1))]%zrange :: l) (seq 0 (n - 1)) [] ++
106
106
[Some r[0 ~> Qceiling (2 * input_magnitude * (2^last_limb_width - 1))]%zrange].
107
- (* Definition output_bounds : list (ZRange.type.option.interp base.type.Z)
107
+ Definition output_bounds : list (ZRange.type.option.interp base.type.Z)
108
108
:= fold_left (fun l i => Some r[0 ~> Qceiling (2 * output_magnitude_first_limbs * ((weightf (i + 1) / weightf i) - 1))]%zrange :: l) (seq 0 (n - 1)) [] ++
109
109
[Some r[0 ~> Qceiling (2 * output_magnitude_last_limb * (2^last_limb_width - 1))]%zrange].
110
- *)
111
- Definition output_bounds : list (ZRange.type.option.interp base.type.Z) :=
110
+ (*Definition output_bounds : list (ZRange.type.option.interp base.type.Z) :=
112
111
match inbounds_multiplier with
113
112
| Some _ => [None; None; None; None; None]
114
113
| None => [None; None; None; None; None]
115
- end .
114
+ end. *)
116
115
Local Existing Instance default_translate_to_fancy.
117
116
Local Instance no_select_size : no_select_size_opt := no_select_size_of_no_select machine_wordsize.
118
117
Local Instance split_mul_to : split_mul_to_opt := split_mul_to_of_should_split_mul machine_wordsize possible_values.
Original file line number Diff line number Diff line change @@ -338,8 +338,6 @@ Definition arith_with_casts_rewrite_rulesT (adc_no_carry_to_add : bool) : list (
338
338
rland.(upper) ∈ rm1
339
339
-> rland.(upper) = Z.ones (Z.succ (Z.log2 rland.(upper)))
340
340
-> (0 = rland.(lower))
341
- -> (rland <= rm1)%zrange
342
- -> (rm1 <= rland)%zrange
343
341
-> cstZ rland (Z.land v (cstZ rm1 ('rland.(upper)))) = cstZ rland v)
344
342
; (forall rland rm1 rv v,
345
343
(rv <= rland)%zrange -> -1 ∈ rm1
You can’t perform that action at this time.
0 commit comments