[step:Show that every finitely generated left $D$-module is finite free]Let $P$ be a finitely generated left $D$-module. Since $D$ is a division ring, $P$ is a left [vector space](/page/Vector%20Space) over $D$. Choose a finite generating set $S=\{p_1,\dots,p_n\}$ for $P$ as a left $D$-module, where $n\in\mathbb N$ if $P\ne 0$ and $S=\varnothing$ if $P=0$.
Among the linearly independent subsets of $S$, choose one of maximal cardinality, and denote it by $B=\{b_1,\dots,b_m\}$, with $m\in\mathbb N_0$. We claim that $B$ spans $P$. If $s\in S\setminus B$, then maximality of $B$ implies that $B\cup\{s\}$ is linearly dependent. Therefore there exist elements $a_1,\dots,a_m,c\in D$, not all zero, such that
\begin{align*}
a_1b_1+\cdots+a_mb_m+cs=0.
\end{align*}
The coefficient $c$ is nonzero, because otherwise the displayed relation would be a nontrivial linear relation among the elements of $B$. Since $D$ is a division ring, $c^{-1}$ exists, and hence
\begin{align*}
s=-c^{-1}a_1b_1-\cdots-c^{-1}a_mb_m.
\end{align*}
Thus every element of $S$ lies in the left $D$-span of $B$, and since $S$ generates $P$, the set $B$ is a basis of $P$.
Define the left $D$-[linear map](/page/Linear%20Map)
\begin{align*}
\theta:D^m\to P
\end{align*}
by
\begin{align*}
\theta(d_1,\dots,d_m)=d_1b_1+\cdots+d_mb_m.
\end{align*}
Because $B$ spans $P$, the map $\theta$ is surjective. Because $B$ is linearly independent, the kernel of $\theta$ is zero. Hence $\theta$ is an isomorphism of left $D$-modules, so $P\cong D^m$.[/step]