HepLean Documentation
Mathlib
.
RingTheory
.
UniqueFactorizationDomain
.
Nat
Search
Google site search
return to top
source
Imports
Init
Mathlib.Data.ENat.Basic
Mathlib.Data.Nat.Factors
Mathlib.RingTheory.UniqueFactorizationDomain.NormalizedFactors
Imported by
Nat
.
instWfDvdMonoid
Nat
.
instUniqueFactorizationMonoid
Nat
.
factors_eq
Nat
.
factors_multiset_prod_of_irreducible
Unique factorization of natural numbers
#
Main definitions
#
Nat.instUniqueFactorizationMonoid
: the natural numbers have unique factorization
source
instance
Nat
.
instWfDvdMonoid
:
WfDvdMonoid
ℕ
Equations
Nat.instWfDvdMonoid
=
⋯
source
instance
Nat
.
instUniqueFactorizationMonoid
:
UniqueFactorizationMonoid
ℕ
Equations
Nat.instUniqueFactorizationMonoid
=
⋯
source
theorem
Nat
.
factors_eq
(n :
ℕ
)
:
UniqueFactorizationMonoid.normalizedFactors
n
=
↑
n
.primeFactorsList
source
theorem
Nat
.
factors_multiset_prod_of_irreducible
{s :
Multiset
ℕ
}
(h :
∀
x
∈
s
,
Irreducible
x
)
:
UniqueFactorizationMonoid.normalizedFactors
s
.prod
=
s