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.GCD.Prime

3 declarations. Mathlib docs · Source

Lemmas related to Nat.Prime and lcm

This file contains lemmas related to Nat.Prime. These lemmas are kept separate from Mathlib/Data/Nat/GCD/Basic.lean in order to minimize imports.

Main results

  • Nat.Prime.dvd_or_dvd_of_dvd_lcm: If p ∣ lcm a b, then p ∣ a ∨ p ∣ b.
  • Nat.Prime.dvd_lcm: p ∣ lcm a b ↔ p ∣ a ∨ p ∣ b.
  • Nat.Prime.not_dvd_lcm: If p ∤ a and p ∤ b, then p ∤ lcm a b.

theorem Nat.Prime.dvd_or_dvd_of_dvd_lcm E3 #

∀ {p a b : ℕ}, Nat.Prime p → p ∣ a.lcm b → p ∣ a ∨ p ∣ b

theorem Nat.Prime.dvd_lcm E3 #

∀ {p a b : ℕ}, Nat.Prime p → (p ∣ a.lcm b ↔ p ∣ a ∨ p ∣ b)

theorem Nat.Prime.not_dvd_lcm E3 #

∀ {p a b : ℕ}, Nat.Prime p → ¬p ∣ a → ¬p ∣ b → ¬p ∣ a.lcm b