In linear algebra over a field $K$ as set of column vectors $v_1,\dots,v_k\in K^n$ is a basis of the subspace $V$ iff
- $v_1,\dots,v_k\in V$,
- and the matrix $[v_1,\dots,v_k]$is of rank $k$.
I wonder under what circumstances something similar can be said in linear algebra over a UFD $R$. More precisely, I am aiming for the following (wrong!) statement. Let $V$ be a free submodule of $R^n$ such that $v\in V\Leftrightarrow rv\in V$ for $r\in R$ (e.g. the kernel of a matrix). A set of column vectors $v_1,\dots,v_k\in R^n$ is a basis of $V$ if
- $v_1,\dots,v_k\in V$,
- the matrix $[v_1,\dots,v_k]$ is of rank $k$,
- and the entries of each $v_i$ are coprime.
If this would be true any free resolution of $V$ would have length $1$. It is easy to come up with counterexamples. My question is: Does it become true if we add $\dim R=1$?