Mathlib Map

Theorems · Theorem · number theory

GaussianInt.prime_iff_mod_four_eq_three_of_nat_prime

∀ (p : ℕ) [Fact (Nat.Prime p)], Prime ↑p ↔ p % 4 = 3

A prime natural number is prime in ℤ[i] if and only if it is 3 mod 4

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

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites6

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.