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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic

9 declarations. Mathlib docs · Source

Irreducibility of linear and quadratic polynomials

  • MvPolynomial.irreducible_of_totalDegree_eq_one: a multivariate polynomial of totalDegree one is irreducible if its coefficients are relatively prime.

  • For c : n →₀ R, MvPolynomial.sumSMulX c is the linear polynomial $\sum_i c_i X_i$ of $R[X_1\dots,X_n]$.

  • MvPolynomial.irreducible_sumSMulX : if the support of c is nontrivial, if R is a domain, and if the only common divisors to all c i are units, then MvPolynomial.sumSMulX c is irreducible.

  • For c : n →₀ R, MvPolynomial.sumXSMulY c is the quadratic polynomial $\sum_i c_i X_i Y_i$ of $R[X_1\dots,X_n,Y_1,\dots,Y_n]$. It is constructed as an object of MvPolynomial (n ⊕ n) R, the first component of n ⊕ n represents the X indeterminates, and the second component represents the Y indeterminates.

  • MvPolynomial.irreducible_sumSMulXSMulY : if the support of c is nontrivial, the ring R is a domain, and the only divisors common to all c i are units, then MvPolynomial.sumSMulXSMulY c is irreducible.

TODO

  • Treat the case of diagonal quadratic polynomials, $ \sum c_i X_i ^ 2$. For irreducibility, one will need that there are at least 3 nonzero values of c, and that the only common divisors to all c i are units.

  • Addition of quadratic polynomial of both kinds are relevant too.

  • Prove, over a field, that a polynomial of degree at most 2 whose quadratic part has rank at least 3 is irreducible.

  • Cases of ranks 1 and 2 can be treated as well, but the answer depends on the terms of degree 0 and 1. Eg, $X^2-Y$ is irreducible, but $X^2$, $X^2-1$, $X^2-Y^2$ are not. And $X^2+Y^2$ is irreducible over the reals but not over the complex numbers.

The quadratic polynomial $$\sum_{i=1}^n X_i Y_i$$.

theorem MvPolynomial.irreducible_mul_X_add E1 #

∀ {n : Type u_3} {R : Type u_4} [inst : CommRing R] [IsDomain R] (f g : MvPolynomial n R) (i : n),
  f ≠ 0 → i ∉ f.vars → i ∉ g.vars → IsRelPrime f g → Irreducible (f * MvPolynomial.X i + g)

theorem MvPolynomial.irreducible_of_disjoint_support E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : CommRing R] [IsDomain R] {f : MvPolynomial n R},
  f.support.Nontrivial →
    ∀ {d : n →₀ ℕ},
      d ∈ f.support →
        ∀ {i : n},
          d i = 1 →
            (↑f.support).PairwiseDisjoint Finsupp.support →
              (∀ (r : R), (∀ (d : n →₀ ℕ), r ∣ f.coeff d) → IsUnit r) → Irreducible f

A multivariate polynomial f whose support is nontrivial, such that some variable i appears with exponent 1 in one nontrivial monomial, whose monomials have disjoint supports, and which is primitive, is irreducible.

theorem MvPolynomial.irreducible_of_totalDegree_eq_one E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : CommRing R] [IsDomain R] {p : MvPolynomial n R},
  p.totalDegree = 1 → (∀ (x : R), (∀ (i : n →₀ ℕ), x ∣ p.coeff i) → IsUnit x) → Irreducible p

instance MvPolynomial.instModuleSelf E0 #

{n : Type u_1} → {R : Type u_2} → [inst : CommRing R] → Module R (MvPolynomial n R)

def MvPolynomial.sumSMulX E1 #

{n : Type u_1} → {R : Type u_2} → [inst : CommRing R] → (n →₀ R) →ₗ[R] MvPolynomial n R

The linear polynomial $$\sum_i c_i X_i$$.

theorem MvPolynomial.coeff_sumSMulX E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : CommRing R] (c : n →₀ R) (i : n),
  ((MvPolynomial.sumSMulX c).coeff fun₀ | i => 1) = c i

theorem MvPolynomial.irreducible_sumSMulX E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : CommRing R] (c : n →₀ R) [IsDomain R],
  c.support.Nonempty → (∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r) → Irreducible (MvPolynomial.sumSMulX c)

def MvPolynomial.sumSMulXSMulY E1 #

{n : Type u_1} → {R : Type u_2} → [inst : CommRing R] → (n →₀ R) →ₗ[R] MvPolynomial (n ⊕ n) R

The quadratic polynomial $$\sum_i c_i X_i Y_i$$.

theorem MvPolynomial.irreducible_sumSMulXSMulY E1 #

∀ {n : Type u_1} {R : Type u_2} [inst : CommRing R] (c : n →₀ R) [IsDomain R],
  c.support.Nontrivial → (∀ (r : R), (∀ (i : n), r ∣ c i) → IsUnit r) → Irreducible (MvPolynomial.sumSMulXSMulY c)