Structured proof · Unit 152
lemma Parameters.relDifferent_spec
hz : z is a primitive N_1(P, s)-th root of unity, and with y = \Phi '_{N_1(P, s)}(z) (the derivative of the N_1(P, s)-th cyclotomic polynomial over \mathcal{O}_E at z; Lean's local let y := … of the statement), three conclusions: y \mid N_1(P, s); the principal ideal (y) is the different of \mathcal{O}_E over \mathcal{O}_K; and \mathcal{O}_K[z] = \mathcal{O}_E (the statement runs to line 301: see statement_corrected).differentIdeal_eq_span_of_dvd then gives that (\Phi '(z)) is the different of E/K and \mathcal{O}_K[z] = \mathcal{O}_E. (The statement runs to line 301, after the let y := … of line 300; the member carries the corrected statement and value ranges, so the proof begins after the := of line 301.)hz′: z, viewed in E, is a primitive N_1(P, s)-th root of unity.The subfield \mathbb{Q}(z) of E is the N_1(P, s)-th cyclotomic extension of \mathbb{Q}: it is generated by z, a root of unity of order N_1(P, s) (so [\mathbb{Q}(z) : \mathbb{Q}] = \varphi (N_1(P, s)); N_1(P, s) is the order of the root, not the degree).
Lean states
IsCyclotomicExtension _ ℚ ℚ⟮_⟯Usesstep 1
Three facts: z is a root of \Phi _{N_1}; in \mathbb{Q}(z), the conductor of \mathbb{Z}[z] times the different of \mathbb{Q}(z)/\mathbb{Q} is the principal ideal (\Phi '_{N_1}(z)) (\Phi _{N_1} is the minimal polynomial of z,
conductor_mul_differentIdeal); and differentiating \Phi _{N_1}\cdot Q = X^{N_1} - 1 at z and multiplying by z: (\Phi '(z)Q(z) + \Phi (z)Q'(z))\cdot z = N_1\cdot z^{N_1}.Usesstep 3,
IsPrimitiveRoot.,isRoot_cyclotomic Polynomial.,cyclotomic_eq_minpoly conductor_mul_differentIdeal,Polynomial.cyclotomic. dvd_X_pow_sub_one The three assertions: y \mid N_1 is left as the goal ?d; the different and monogenicity come from 5.2.
Usesstep 4
\sqrt{-d} and y are coprime in \mathcal{O}_E: d and N_1 are coprime (
coprime_N₁_d), \sqrt{-d} \mid d (sqrtNegDInE_dvd) and y \mid N_1 (?d).Uses
Parameters.unit 152,coprime_N₁_d Parameters.unit 152sqrtNegDInE_dvd By
differentIdeal_eq_span_of_dvdfor E = K(z) and f = \Phi _{N_1}: the different of \mathcal{O}_E over \mathcal{O}_K is (y) and \mathcal{O}_K[z] = \mathcal{O}_E, provided \Phi _{N_1}(z) = 0, \Phi '_{N_1}(z) = y and (y) divides that different. The last holds because (y) is the image of the different of \mathbb{Q}(z)/\mathbb{Q}, and that image divides the different of E/K since the different (\sqrt{-d}) of K/\mathbb{Q} is coprime to it (5.1;map_differentIdeal_dvd_differentIdeal).Uses
differentIdeal_eq_span_of_dvdunit 10, step 5.1,IsDedekindDomain.,map_differentIdeal_dvd_differentIdeal IsPrimitiveRoot.adjoin_primitive_root_eq_top Every open goal is closed with the facts of step 4: y \mid N_1 (from \Phi '(z)\cdot Q(z)\cdot z = N_1 as \Phi (z) = 0 and z^{N_1} = 1), the root and derivative conditions, the conductor of \mathbb{Z}[z] being trivial (\mathbb{Z}[z] = \mathcal{O}_{\mathbb{Q}(z)}), and the coprimality of principal ideals.