The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V02. Numbers

Mathlib.Data.Nat.Prime.Factorial

4 declarations. Mathlib docs · Source

theorem Nat.Prime.dvd_factorial E1 #

∀ {n p : ℕ}, Nat.Prime p → (p ∣ n.factorial ↔ p ≤ n)

theorem Nat.coprime_factorial_iff E0 #

∀ {m n : ℕ}, m ≠ 1 → (m.Coprime n.factorial ↔ n < m.minFac)

theorem Nat.Prime.coprime_factorial_of_lt E1 #

∀ {p n : ℕ}, Nat.Prime p → n < p → p.Coprime n.factorial

theorem Nat.Prime.coprime_descFactorial_of_lt_of_le E1 #

∀ {p n k : ℕ}, Nat.Prime p → n < p → k ≤ n → p.Coprime (n.descFactorial k)