Natural ceilings of quotients #
Main results #
Nat.ceil_div_eq_ceilDiv: real quotient ceilings equal natural ceiling division.Nat.le_ceilDiv_mul,Nat.ceilDiv_mul_lt: covering and overshoot bounds.
References #
Adapted from Ceil.lean at
anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
The ceiling of a quotient of natural numbers #
a ⌈/⌉ b ≤ k says that k pieces of size b cover a. Mathlib's ceilDiv_le_iff_le_mul has
b * k on the right.