Structured proof · Unit 152
lemma Parameters.chiK_eq_one_of_dvd
hp : p is prime and h : p \mid N_1(P, s): \chi _K(p) = (p/d(P)) = 1, where \chi _K = chiK(d(P)) is the Legendre symbol \bmod d(P); so p splits in K = \mathbb{Q}(\sqrt{-d(P)}).\chi _K(p) is the Legendre symbol (p/d(P)), i.e. the Jacobi symbol J(p | d(P)); reducing d(P) modulo 4p (
jacobiSym.), d(P) \bmod 4p = 4p - 1 since 4p \mid d(P) + 1; and 1 = J(1 | 4p - 1) = J(4p | 4p - 1) (the upper entry is read modulo 4p - 1). So it remains J(p | 4p - 1) = J(4p | 4p - 1), together with the side conditions (p > 0, 4p \mid d(P) + 1, d(P) odd).mod_right' Uses
chiK_eq_legendreSymunit 106,legendreSym.,to_jacobiSym jacobiSym.,mod_right' jacobiSym.,one_left jacobiSym.mod_left' These hold: 4p \mid d(P) + 1 because p \mid (d(P) + 1)/4 (
dvd_norm_c₀) and 4 \mid d(P) + 1 (d(P) \equiv 7 \bmod 8); J(4p | n) = J(4 | n)\cdot J(p | n) = J(p | n) as 4 is a square.Usesstep 1,
Parameters.unit 152,dvd_norm_c₀ PrimeSevenModEightunit 106,Nat.mul_dvd_of_dvd_div