Mathlib Map

Theorems · Theorem · number theory

legendreSym.quadratic_reciprocity

∀ {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).

Defined in
Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity
Cited by
1 results in Mathlib
Foundations
Depth 224 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
FactFact

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.

Cited by1

Results whose statement or proof uses this declaration.