The areas / V12. Number theory
Mathlib.NumberTheory.Zsqrtd.QuadraticReciprocity
3 declarations. Mathlib docs · Source
theorem GaussianInt.mod_four_eq_three_of_nat_prime_of_prime E1 #
∀ (p : ℕ) [hp : Fact (Nat.Prime p)], Prime ↑p → p % 4 = 3
theorem GaussianInt.prime_of_nat_prime_of_mod_four_eq_three E1 #
∀ (p : ℕ) [Fact (Nat.Prime p)], p % 4 = 3 → Prime ↑p
theorem GaussianInt.prime_iff_mod_four_eq_three_of_nat_prime E1 #
∀ (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