Theorem (basis for submodule of tuples of Euclidean domain)
Let $R$ be an Euclidean domain and $N\leq R^m$ be a submodule.
There exists $v_1, \ldots, v_m\in R^m$ such that
-
$\set{v_1, \ldots, v_m}$ is a basis for $R^m$; and
-
$\set{d_1 v_1, \ldots, d_r v_r}$ is a basis for $N$, for some $0\leq r\leq m$ and $d_i\in R$ satisfying $d_i \mid d_{i+1}$.
-
This shows any submodule of $R^m$ is free.