I'm sorry but I'm having a massive brain fart. I'm trying to show that if $na=mb$ and $(a,b)=1$, with $a,b,n,m \in \mathbb{N}$ of course, then $m=a$ and $n=b$.
Moving to $\mathbb{Q}_+$, we note that
$$\frac{a}{b}=\frac{m}{n}$$
but $a$ and $b$ are relatively prime, so the fraction on the left-hand side is irreducible. Therefore the right-hand side must be also irreducible (if not, reduce it until it is). Therefore $m=a$ and $n=b$.
This, of course, relies on the assumption that $(a/b)=(m/n)$ and $(a,b)=1$ implies that the numerators and denominators are equal, which is basically the same as the initial problem. I know I'm forgetting a super simple proof for this. Could you please tell me it, or at least hint me towards it?.
Edit: Oh and $m$ and $n$ are relatively prime.
By the Bezout's identity, there are integers $r,s,p$ and $q$ such that $$ ra+sb=1,\\ pm+qn=1. $$ Multiplying the first equality by $n$ and using $na=mb$, we have $$ n=rna+snb=rmb+snb=(rm+sn)b\implies b|n. $$ Similarly, multiplying $1=pm+qn$ by $b$, we get $$ b=pmb+qnb=pna+qnb=(pa+qb)n\implies n|b. $$ Because $b$ and $n$ are both positive integers, we infer that $b=n$. From this, $a=m$ is immediate.