Structured proof · Unit 150
lemma Parameters.exists_cyclotomic_different_factor
l is prime and divides N; write N = l\cdot r; N \ne 0.
X^N - 1 = (X^r - 1)\cdot \Phi_N(X)\cdot q(X) for a polynomial q over R (r is a proper divisor of N), and r = l^a\cdot M with l \nmid M.
Uses
X_pow_sub_one_mul_cyclotomic_dvd_X_pow_sub_one_of_dvd,Nat.exists_eq_pow_mul_and_not_dvd Two identities in R. (i) Expanding \Phi_M(X^l) = \Phi_{Ml}(X)\cdot \Phi_M(X) (l prime, l \nmid M;
cyclotomic_expand_eq_cyclotomic_mul) by X \mapsto X^{l^a} gives \Phi_M(X^{l^{a+1}}) = \Phi_N(X)\cdot \Phi_M(X^{l^a}), since \Phi_{Ml}(X^{l^a}) = \Phi_{M\cdot l^{a+1}}(X) = \Phi_N(X); differentiating at \zeta, where \Phi_N(\zeta) = 0, gives l^{a+1}\cdot \zeta^{l^{a+1}-1}\cdot \Phi_M'(\zeta^{l^{a+1}}) = \Phi_N'(\zeta)\cdot \Phi_M(\zeta^{l^a}). (ii) Differentiating X^N - 1 = (X^r - 1)\cdot \Phi_N(X)\cdot q(X) at \zeta and multiplying by \zeta gives N = \Phi_N'(\zeta)\cdot(\zeta^r - 1)\cdot q(\zeta)\cdot \zeta.Uses
Polynomial.,derivative_expand Polynomial.derivative_X_pow It suffices to show that N divides \Phi_N'(\zeta)(\zeta^r - 1)M in R: write the quotient as V. Then M \le N (M \mid r \mid N), N = l\cdot r, a prime factor of N divides M iff it is not l (r = l^a M, l \nmid M), and V \mid M: from (ii), N\cdot M = \Phi_N'(\zeta)(\zeta^r - 1)M\cdot q(\zeta)\zeta = N\cdot V\cdot q(\zeta)\zeta, and N is cancellable in characteristic 0, so M = V\cdot q(\zeta)\zeta.
Usesstep 3
N divides \Phi_N'(\zeta)(\zeta^r - 1)M: by (i), l^{a+1} divides \Phi_N'(\zeta)\cdot \Phi_M(\zeta^{l^a}), which divides \Phi_N'(\zeta)\cdot((\zeta^{l^a})^M - 1) = \Phi_N'(\zeta)\cdot(\zeta^r - 1) because \Phi_M divides X^M - 1; multiplying by M and using l^{a+1}\cdot M = l\cdot r = N gives the divisibility.
Usesstep 3,
Polynomial.,cyclotomic. dvd_X_pow_sub_one Polynomial.eval_dvd