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.Algebra.MvPolynomial.Funext

4 declarations. Mathlib docs · Source

theorem MvPolynomial.funext_set E1 #

∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] {σ : Type u_2} {p q : MvPolynomial σ R} (s : σ → Set R),
  (∀ (i : σ), (s i).Infinite) → (∀ x ∈ Set.univ.pi s, (MvPolynomial.eval x) p = (MvPolynomial.eval x) q) → p = q

Two multivariate polynomials over an integral domain are equal if they are equal when evaluated anywhere in a box with infinite sides.

theorem MvPolynomial.funext_set_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] {σ : Type u_2} {p q : MvPolynomial σ R} (s : σ → Set R),
  (∀ (i : σ), (s i).Infinite) → (p = q ↔ ∀ x ∈ Set.univ.pi s, (MvPolynomial.eval x) p = (MvPolynomial.eval x) q)

theorem MvPolynomial.funext E1 #

∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] [Infinite R] {σ : Type u_2} {p q : MvPolynomial σ R},
  (∀ (x : σ → R), (MvPolynomial.eval x) p = (MvPolynomial.eval x) q) → p = q

Two multivariate polynomials over an infinite integral domain are equal if they are equal upon evaluating them on an arbitrary assignment of the variables.

theorem MvPolynomial.funext_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] [Infinite R] {σ : Type u_2} {p q : MvPolynomial σ R},
  p = q ↔ ∀ (x : σ → R), (MvPolynomial.eval x) p = (MvPolynomial.eval x) q