Introduction. I have three indices, $i$, $j$ and $l$ indicating, respectively, the $i^{th}-$element, the $j^{th}-$element and the the $l^{th}-$element of a set of 2-dimensional points $P=\{ p_1, p_2, p_3, \ldots, p_n \}$, and I would like to write down the subset $Q \subset P$ containing the $k$-nearest neighbours (denoted by $j$) of the element $i$.
Question. If I write $Q = \{ j \, \colon \, d_{ij}<d_{il} \, ,\forall l \neq i \neq j \enspace \land \enspace \left| j \right| = k\}$, would $\left| j \right| = k$ indicate the size of $Q$, i.e. that exactly $k-$elements (denoted by $j$) are part of $Q$? Or, maybe, I should write as $\left| \{ j \} \right| = k$?