I'm using the following result in a computer science paper:
Let $V$ be a submodule of $(\mathbb{Z}/q\mathbb{Z})^n$ (n-tuples with addition and multiplication mod $q$). Let
$$V^\perp = \{u \in (\mathbb{Z}/q\mathbb{Z})^n : \forall v \in V \quad v \cdot u = 0\}$$
where $v \cdot u = v_1 u_1 + \ldots + v_n u_n \text{ mod } q$.
Propositon: $(V^\perp)^\perp = V$.
I can't find any reference with this exact result even though I'm quite sure it is basic, mostly because I'm not from the mathematics community. I'd be glad to have a reference for $q$ prime, even though I'd rather have the more general result. Do any of you know a good reference for this result? Thank you very much.