Documentation

LeanPool.ApollonianSuperharmonic.IntegerCeilDiv

IntegerCeilDiv #

Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.

For integers $a$ and nonzero $b$, write $$ \operatorname{cdiv}(a,b)=-\bigl((-a)\mathbin{\mathrm{div}}b\bigr). $$ When $b>0$, this is the integer ceiling $\lceil a/b\rceil$.

Equations
Instances For