Unique factorization and multiplicity #
Main results #
UniqueFactorizationMonoid.emultiplicity_eq_count_normalizedFactors: The multiplicity of an irreducible factor of a nonzero element is exactly the number of times the normalized factor occurs in thenormalizedFactors.UniqueFactorizationMonoid.dvd_iff_multiplicity_le: A nonzero element divides a nonzero element iff its multiplicity at every prime is at most that of the other.UniqueFactorizationMonoid.associated_iff_multiplicity_eq: Two nonzero elements are associated iff they have the same multiplicity at every prime.
An element of a WfDvdMonoid has finite multiplicity at a prime iff it is nonzero.
The multiplicity of an irreducible factor of a nonzero element is exactly the number of times
the normalized factor occurs in the normalizedFactors.
For a version using multiplicity, see multiplicity_eq_count_normalizedFactors.
See also count_normalizedFactors_eq which expands the definition of multiplicity
to produce a specification for count (normalizedFactors _) _..
The multiplicity of an irreducible factor of a nonzero element is exactly the number of times
the normalized factor occurs in the normalizedFactors.
For a version using emultiplicity, see emultiplicity_eq_count_normalizedFactors.
The number of times an irreducible factor p appears in normalizedFactors x is defined by
the number of times it divides x.
See also multiplicity_eq_count_normalizedFactors if n is given by multiplicity p x.
The number of times an irreducible factor p appears in normalizedFactors x is defined by
the number of times it divides x. This is a slightly more general version of
UniqueFactorizationMonoid.count_normalizedFactors_eq that allows p = 0.
See also multiplicity_eq_count_normalizedFactors if n is given by multiplicity p x.
A nonzero element of a UniqueFactorizationMonoid divides a nonzero element iff its
multiplicity at every prime is at most that of the other.
Two nonzero elements of a UniqueFactorizationMonoid are associated iff they have the
same multiplicity at every prime.