Theorems · Theorem · number theory
legendreSym.quadratic_reciprocity
- #7 of the 100 theorems: Law of Quadratic Reciprocity
- 1000+ list: Quadratic reciprocity theorem
∀ {p q : ℕ} [inst : Fact (Nat.Prime p)] [inst_1 : Fact (Nat.Prime q)],
p ≠ 2 → q ≠ 2 → p ≠ q → legendreSym q ↑p * legendreSym p ↑q = (-1) ^ (p / 2 * (q / 2))The Law of Quadratic Reciprocity: if p and q are distinct odd primes, then
(q / p) * (p / q) = (-1)^((p-1)(q-1)/4).
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 224 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites27
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coeproof · cited by 62,936
- mul_oneproof · cited by 3,885
- Factstatement and proof · cited by 2,726
- Nat.cast_oneproof · cited by 2,501
- mul_commproof · cited by 2,262
- Nat.Primestatement and proof · cited by 2,059
- Fintype.cardproof · cited by 1,386
- map_mulproof · cited by 1,137
- ZModproof · cited by 1,024
- map_powproof · cited by 503
- Int.cast_natCastproof · cited by 393
- Fact.outproof · cited by 328
Cited by1
Results whose statement or proof uses this declaration.
- legendreSym.quadratic_reciprocity'proof · cited by 3