Documentation

Copula.Bernstein.Basis

← Copula mathematical handbook

Shape preservation for Bernstein polynomials #

The derivative is a nonnegative Bernstein combination of consecutive coefficient differences. In particular, ordered coefficients give a monotone function. This is the key step in proving that the tensor Bernstein approximation of a copula is a copula.

noncomputable def ProbabilityTheory.Copula.Bernstein.polynomial (n : ℕ) (f : Fin (n + 1) → ℝ) :

Polynomial with prescribed Bernstein coefficients.

Equations
Instances For
    noncomputable def ProbabilityTheory.Copula.Bernstein.blend (n : ℕ) (f : Fin (n + 1) → ℝ) (u : ↑unitInterval) :

    Evaluation of a Bernstein combination on the unit interval.

    Equations
    Instances For
      @[simp]
      theorem ProbabilityTheory.Copula.Bernstein.blend_zero (n : ℕ) (f : Fin (n + 1) → ℝ) :
      blend n f 0 = f 0
      @[simp]
      theorem ProbabilityTheory.Copula.Bernstein.blend_one (n : ℕ) (f : Fin (n + 1) → ℝ) :
      blend n f 1 = f (Fin.last n)
      theorem ProbabilityTheory.Copula.Bernstein.blend_const (n : ℕ) (a : ℝ) (u : ↑unitInterval) :
      blend n (fun (x : Fin (n + 1)) => a) u = a
      theorem ProbabilityTheory.Copula.Bernstein.blend_sub (n : ℕ) (f g : Fin (n + 1) → ℝ) (u : ↑unitInterval) :
      blend n (fun (k : Fin (n + 1)) => f k - g k) u = blend n f u - blend n g u
      theorem ProbabilityTheory.Copula.Bernstein.blend_nonneg (n : ℕ) (f : Fin (n + 1) → ℝ) (hf : ∀ (k : Fin (n + 1)), 0 ≤ f k) (u : ↑unitInterval) :
      0 ≤ blend n f u
      theorem ProbabilityTheory.Copula.Bernstein.blend_id (n : ℕ) (hn : 0 < n) (u : ↑unitInterval) :
      blend n (fun (k : Fin (n + 1)) => ↑(bernstein.z k)) u = ↑u

      Bernstein polynomials reproduce the identity for every positive degree.