Commit 2022-05-06 18:45 eea16dc8
View on Github →feat(number_theory/legendre_symbol/*): add results on value at -1 (#13978) This PR adds code expressing the value of the quadratic character at -1 of a finite field of odd characteristic as χ₄ applied to the cardinality of the field. This is then also done for the Legendre symbol. Additional changes:
- two helper lemmas odd_mod_fourandfinite_field.even_card_of_char_twothat are needed
- some API lemmas for χ₄
- write euler_criterionandexists_sq_eq_neg_one_iffin terms ofis_square; simplify the proof of the latter using the general result for quadratic characters