Prove is a fraction in its lowest terms

Rewriting

The numerator is a product, so we shall consider them separately

Let

. Numerator and denominator share no common factors

Consider

This also has no common factors

Hence

has no common factors

QED

Is this proof valid?