Fibres of multiplication followed by integer division #
The map u ↦ u * d / M sends integers below M into the range below d. Each fibre has
between M / d and M / d + 1 elements. This is the integer arithmetic behind multiply-high
sampling; it differs from reduction modulo d in the placement of the larger fibres.
Main results #
Nat.card_mul_div_fiber: the exact fibre size as a difference of ceiling divisions.Nat.card_mul_div_fiber_bounds: the lower and upper fibre counts.