NLA-lib Explorer

NLAlib.integral_eval_basis_nonneg_of_exact

Library · theorem

Exactness at a node: if p is nonnegative on [a, \mathbf{b}], vanishes at the other nodes of s and is positive at \mathbf{x} \in s, and the nodal polynomial of s is orthogonal of order m with \deg p < \lvert s\rvert + m, then \int\ell_\mathbf{x}\,d\mu \ge 0.

NLAlib.integral_eval_basis_nonneg_of_exact {μ : Measure ℝ} [IsFiniteMeasure μ] {a b : ℝ}
  (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) {s : Finset ℝ} {m : ℕ}
  (hs : IsOrthogonalPolynomial μ m (Lagrange.nodal s id)) {x : ℝ} (hx : x ∈ s) {p : Polynomial ℝ}
  (hdeg : p.natDegree < s.card + m) (hp : ∀ t ∈ Set.Icc a b, 0 ≤ Polynomial.eval t p)
  (h0 : ∀ y ∈ s, y ≠ x → Polynomial.eval y p = 0) (hpos : 0 < Polynomial.eval x p) :
  0 ≤ ∫ (t : ℝ), Polynomial.eval t (Lagrange.basis s id x) ∂μ

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Radau.