Recall first the following two definitions:
- Definition 1: Let $R$ be a commutative ring and $D$ a nonempty multiplicative sub-semigroup of $R$. The ring of fractions over $R$ with the set of denominators $D$ is a commutative ring with identity and is called the ring of fractions over $R$ with the set of denominators $D$. Notation: $D^{-1}R$
- Definition 2: If $D$ is the set of all non-zero elements of $R$ that are not zero divisors, then $D^{-1}R$ is referred to as the complete ring of fractions over $R$.
For the set $\mathbb{Z}_{n} = \{0,1,\dots, n-1\}$, the set of all nonzero elements of $\mathbb{Z}_{n}$ that are not zero divisors is the set $D = \{ m \in \mathbb{Z}_{n} \vert \gcd(m,n)=1\}$. So, $\forall d \in D$, $m \in \mathbb{Z}_{n}$, it seems to me that, according to the definition given above, the complete ring of fractions of $\mathbb{Z}_{n}$ for any $n$ is $$ D^{-1}\mathbb{Z}_{n}=\left \{ \frac{m}{d}\, \;\middle|\; \gcd(d,n)=1\right \} $$
However, it just doesn't seem like it should be this easy. Am I wrong or not? Thanks for your time and patience!
Note: This is NOT a duplicate of that other question, because I am specifically asking whether my particular method works, I don't even know what a class module is, and that question was closed for being off-topic because it had no context.