For the case of floor division (ceiling division is analogous), we can get the result directly using the uniqueness of real Euclidean division:
$\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}$
$\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}$
For $a$ divided by $b$, the result can be written uniquely as $q,r$ in $a = qb + r$, where quotient $q = \floor{a/b}$ and remainder $r$ satisfies $0 \le r < |b|$.
Let $x$ and $m$ be real numbers ($m$ doesn't have to be integer) and $n$ be a positive integer.
Let $q = \floor{x/m}$, so that
$$x = qm + r, \quad 0 \le r < m$$
Let $q' = \floor{\floor{x/m}/n}$, so that
$$q = q'n + r', \quad 0 \le r' < n$$
Since $q$ and $n$ are integers, $r'$ is as well, so we have a stronger bound $0 \le r' \le n-1$.
Then
$$x = (q'n + r')m + r = q'(nm) + (r'm + r)$$
From our remainder bounds, $0 \le r' m \le (n-1)m $ and $0 \le r < m$, so together $0 \le r'm + r < mn$, that is $r'm + r$ is the remainder of $x / mn$ and $q'$ is the quotient. Conclude $q' = \floor{x/mn}$.
Using floor and ceiling bounds is more flexible, as shown in Concrete Mathematics.
Let $f$ be any continuous, monotonously increasing function with the property that $f(x)$ integer implies $x$ integer.
Then $$\floor{f(x)} = \floor{f(\floor x)} \quad \text{and} \quad \ceil{f(x)} = \ceil{f(\ceil x)}$$
Not immediately obvious is that the nested floor and ceiling identities are a special case of function $f(x) = x/n$ evaluated at $x/m$.