How do you simplify (2^-1)/(2^-1)?

If you have the same expression above and below the division bar, the answer is allways $1$
Exception: $\frac{0}{0}$ is not defined.