Structured proof · Unit 152
lemma Parameters.exists_unit_mul_relDifferentGen_real
relDifferentGen(P, s)) = c\cdotrelDifferentGen(P, s), i.e. a unit c of absolute value 1 that makes \Phi '_{N_1(P, s)}(\zeta (P, s)) real.relDifferentGen(P, s) = \prod _{\eta \ne \zeta (P, s)}(\zeta (P, s) - \eta ) over the other primitive roots; each factor \zeta (P, s) - \zeta (P, s)^{2j+1} becomes real after multiplication by i\cdot \operatorname{conj}(\zeta (P, s))^{j+1}, a unit of absolute value 1; induct over the factors.Write \Phi _{N_1(P, s)} = \prod _{\eta \text\{ primitive \}}(X - \eta ) = (X - \zeta (P, s))\cdot \prod _{\eta \ne \zeta (P, s)}(X - \eta ) over the primitive N_1(P, s)-th roots \eta in \mathcal{O}_E (\zeta (P, s) taken in \mathcal{O}_E, i.e.
zetaInt(P, s)).Uses
Parameters.unit 152,relDifferentGen Parameters.unit 152,isPrimitiveRoot_zetaInt Polynomial.,cyclotomic_eq_prod_X_sub_primitiveRoots Finset.mul_prod_erase Induction over the finite sets S of primitive roots other than \zeta (P, s): there is c with \overline{c}c = 1 and c\cdot(the derivative at \zeta (P, s) of (X - \zeta (P, s))\prod _{\eta \in S}(X - \eta )) = c\cdot \prod _{\eta \in S}(\zeta (P, s) - \eta ) real. For S = \varnothing take c = 1; the derivative is computed by simp.
Usesstep 1,
Parameters.unit 152,isPrimitiveRoot_zetaInt Finset.induction_on' Step: a primitive root \eta = \zeta (P, s)^l \notin S (l prime to N_1(P, s)) and k with \overline{k}k = 1 and k\cdot \prod _S(\zeta (P, s) - \eta ') real; find c for S \cup \{\eta \}.
Take c = i\cdot k\cdot \operatorname{conj}(\zeta (P, s))^{j+1}, where i \in \mathcal{O}_E has i^{2} = -1 and \operatorname{conj}(i) = -i (
StablyUnram.; E contains a primitive 5040-th root of unity).exists_i_c₀ Usesstep 4,
StablyUnramunit 123Then \overline{c}c = (-i)\cdot i\cdot \overline{k}k\cdot (\zeta (P, s)\cdot \operatorname{conj}(\zeta (P, s)))^{j+1} = 1, and c\cdot (\zeta (P, s) - \zeta (P, s)^{2j+1})\cdot \prod _S = i\cdot (\zeta (P, s)^{-j} - \zeta (P, s)^{j})\cdot (k\cdot \prod _S) is real, since \zeta (P, s)^{-j} - \zeta (P, s)^j is purely imaginary (
star_zetaInt_pow_mul).