A more formal proof could be derived from the intuition of the graph.
By definition, $[x - 1]$ is the greatest integer less than or equal to $x-1$, so we have: $[x - 1] \leq x - 1$.
Then adding $1$ to both sides: $[x - 1] + 1 \leq x$, so $[x] \geq [x - 1] + 1$, because $[x]$ is the greatest integer that is less than or equal to $x$, and $[x - 1] + 1$ is such an integer that is less than or equal to $x$.
On the other hand, $[x] \leq x$, so $[x] - 1 \leq x - 1$, which means $[x] \leq [x - 1] + 1$, because of the similar reasoning above: $[x - 1]$ is the greatest integer that is less than or equal to $x$, and $[x] - 1$ is such an integer.
Combine the two inequalities we got so far, we get what we want: $[x] - 1 = [x - 1]$.