hex

10.5. Content multiplicativity🔗

The defining laws of the content/primitive-part decomposition are its reconstruction identity and Gauss's lemma: content is multiplicative, and the primitive part of a product is the product of the primitive parts.

🔗theorem

Scaling the primitive part by the content reconstructs the original integer polynomial.

🔗theorem

The content of an integer polynomial divides every coefficient.

🔗theorem

ZPoly-level wrapper for DensePoly.content_mul: the content of a product of integer polynomials is the product of their contents.

🔗theorem

ZPoly-level wrapper for DensePoly.primitivePart_mul (Gauss's lemma): the primitive part of a product of integer polynomials is the product of their primitive parts.

🔗theorem
Hex.ZPoly.primitive_mul (p q : Hex.ZPoly) (hp : p.Primitive) (hq : q.Primitive) : (p * q).Primitive
Hex.ZPoly.primitive_mul (p q : Hex.ZPoly) (hp : p.Primitive) (hq : q.Primitive) : (p * q).Primitive

The product of primitive integer polynomials is primitive.