Rounding in a lattice with a squared-distance bound
Let $V$ be a real inner product space, and let $v_1,\ldots,v_n\in V$ be linearly independent, where $n\ge0$. For every $x\in\operatorname{span}_{\mathbb R}\{v_1,\ldots,v_n\}$, there are integers $c_1,\ldots,c_n$ such that $$\left\|x-\sum_{i=1}^n c_iv_i\right\|^2\le\frac14\sum_{i=1}^n\|v_i\|^2.$$