Let L \subseteq \mathbb{R}^n be a lattice. That is, L = B \mathbb{Z}^n for some matrix B . The dual lattice is the set of
linear functionals on L which take integer values on each point of L : : L^* = \{ f \in (\text{span}(L))^* : \forall x \in L, f(x) \in \mathbb{Z} \}. If (\mathbb{R}^n)^* is identified with \mathbb{R}^n using the
dot-product, we can write L^* = \{ v \in \text{span}(L) : \forall x \in L, v \cdot x \in \mathbb{Z} \}. It is important to restrict to
vectors in the
span of L , otherwise the resulting object is not a
lattice. Despite this identification of ambient Euclidean spaces, it should be emphasized that a lattice and its dual are fundamentally different kinds of objects; one consists of vectors in
Euclidean space, and the other consists of a set of linear functionals on that space. Along these lines, one can also give a more abstract definition as follows: : L^* = \{ f : L \to \mathbb{Z} : f \text{ is a linear function} \} = \text{Hom}_{\text{Ab}}(L, \mathbb{Z}). However, we note that the dual is not considered just as an abstract
Abelian group of functionals, but comes with a natural inner product: f \cdot g = \sum_i f(e_i) g(e_i) , where e_i is an
orthonormal basis of \text{span}(L). (Equivalently, one can declare that, for an orthonormal basis e_i of \text{span}(L) , the dual vectors e^*_i , defined by e_i^*(e_j) = \delta_{ij} are an orthonormal basis.) One of the key uses of duality in lattice theory is the relationship of the geometry of the primal lattice with the geometry of its dual, for which we need this inner product. In the concrete description given above, the inner product on the dual is generally implicit. ==Properties==