Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-09-08 20:32 d2d66526

View on Github →

feat(number_theory/legendre_symbol/jacobi_symbol): add new file with the definition and properties of the Jacobi symbol (#16395) This PR consists of a new file, number_theory.legendre_symbol.jacobi_symbol, that contains a definition of the Jacobi symbol (and sets up notation [a | b]ⱼ for it) and then proves a number of results, e.g., multiplicativity in both arguments, expressions for the cases a = -1, a = 2, a = -2, and several versions of quadratic reciprocity. It also proves that the symbol depends on a only through its residue class mod b and that it depends on b only through its residue class mod 4*a (quadratic reciprocity is needed for the latter). The code has already been quite thoroughly reviewed while it was part of #16290 (which then was reduced to the auxiliary results needed for the Jacobi symbol code). Discussion on Zulip

Estimated changes

added def zmod.jacobi_sym
added theorem zmod.jacobi_sym_neg
added theorem zmod.jacobi_sym_sq_one
added theorem zmod.jacobi_sym_two
added theorem zmod.jacobi_sym_value
added def zmod.qr_sign
added theorem zmod.qr_sign_eq_iff_eq
added theorem zmod.qr_sign_mul_left
added theorem zmod.qr_sign_mul_right
added theorem zmod.qr_sign_sq_eq_one
added theorem zmod.qr_sign_symm