Properties of Nat.gcd, Nat.lcm, and Nat.Coprime #
Definitions are provided in batteries.
Generalizations of these are provided in a later file as GCDMonoid.gcd and
GCDMonoid.lcm.
Note that the global IsCoprime is not a straightforward generalization of Nat.Coprime, see
Nat.isCoprime_iff_coprime for the connection between the two.
Most of this file could be moved to batteries as well.
gcd #
Lemmas where one argument consists of addition of a multiple of the other
lcm and divisibility #
Alias of Nat.dvd_lcm_of_dvd_left.
Alias of Nat.dvd_lcm_of_dvd_right.
Coprime #
See also Nat.coprime_of_dvd and Nat.coprime_of_dvd' to prove Nat.Coprime m n.
@[deprecated Nat.dvdProdDvdOfDvdProd (since := "2025-04-01")]
Alias of Nat.dvdProdDvdOfDvdProd.
Represent a divisor of m * n as a product of a divisor of m and a divisor of n.