By default, algebraic numbers are treated as independent variables:
With
Extension->Automatic,
PolynomialGCD detects algebraically dependent coefficients:
Compute the GCD over the integers modulo 2:
By default,
PolynomialGCD treats trigonometric functions as independent variables:
With
Trig->True,
PolynomialGCD recognizes dependencies between trigonometric functions: