[guided]We want to show that if $x$ is at Hamming distance at most $e = \lfloor (d-1)/2 \rfloor$ from a codeword $c_1$, then $c_1$ is the unique closest codeword to $x$. The natural tool is the triangle inequality — distance is a metric on $\mathbb{F}_2^n$, so for any three points $c_1, x, c_2$,
\begin{align*}
d(c_1, c_2) \le d(c_1, x) + d(x, c_2),
\end{align*}
which rearranges to
\begin{align*}
d(x, c_2) \ge d(c_1, c_2) - d(c_1, x).
\end{align*}
Now we bound each term using our hypotheses. Because $c_1 \ne c_2$ are both codewords, $d(c_1, c_2) \ge d$ by the definition of minimum distance. Because $d(c_1, x) \le e$ by hypothesis, we can strip off at most $e$ from the right-hand side. Combining:
\begin{align*}
d(x, c_2) \ge d - e.
\end{align*}
The crucial arithmetic is then: is $d - e > e$? By definition $e = \lfloor (d-1)/2 \rfloor$, so $2e \le d - 1$, equivalently $d - e \ge e + 1$. Hence
\begin{align*}
d(x, c_2) \ge d - e \ge e + 1 > e \ge d(x, c_1).
\end{align*}
In words, every codeword other than $c_1$ is strictly farther from $x$ than $c_1$ is. Minimum distance decoding — which returns the unique nearest codeword when one exists — therefore returns $c_1$.
Notice where the floor function enters: if $d$ is odd, $d - 1$ is even and $e = (d-1)/2$, with $d - e = (d+1)/2 = e + 1$; the bound is exactly tight. If $d$ is even, $e = (d-2)/2$, with $d - e = (d+2)/2 = e + 2$; we have an extra unit of slack. Either way $d - e \ge e + 1$, and this strict inequality is what makes the nearest-codeword unique rather than merely one of the minimisers.
Geometrically this is the classical ball-packing argument: the closed Hamming balls $B(c, e)$ centred at distinct codewords are pairwise disjoint, precisely because any point in $B(c_1, e)$ is strictly closer to $c_1$ than to any other codeword.[/guided]