I am taking a trigonometric identity from another post, arbitrarily.
$$\frac{2\sec\theta +3\tan\theta+5\sin\theta-7\cos\theta+5}{2\tan\theta +3\sec\theta+5\cos\theta+7\sin\theta+8}=\frac{1-\cos\theta}{\sin\theta}.$$
Besides the usual approach by reworking/simplifying the expressions using elementary identities, one could use a "lazy" approach, by evaluating both members for several $\theta$ and checking equality.
This works for polynomials, if you probe them at $d+1$ points, where $d$ is the degree.
Can we derive general rules about the number of equalities required to guarantee that trigonometric expressions of a certain complexity are indeed identical ?