-
Notifications
You must be signed in to change notification settings - Fork 175
feat: Voronovskaja-type formula for the Bézier variant of the Bernstein operators #1444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,112 @@ | ||||||
| /- | ||||||
| Copyright 2025 The Formal Conjectures Authors. | ||||||
|
|
||||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||||
| you may not use this file except in compliance with the License. | ||||||
| You may obtain a copy of the License at | ||||||
|
|
||||||
| https://www.apache.org/licenses/LICENSE-2.0 | ||||||
|
|
||||||
| Unless required by applicable law or agreed to in writing, software | ||||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||
| See the License for the specific language governing permissions and | ||||||
| limitations under the License. | ||||||
| -/ | ||||||
|
|
||||||
| import FormalConjectures.Util.ProblemImports | ||||||
|
|
||||||
| open Topology Filter Real unitInterval | ||||||
|
|
||||||
| /-! | ||||||
| # Voronovskaja-type Formula for the Bezier Variant of the Bernstein Operators | ||||||
|
|
||||||
| *References:* | ||||||
|
|
||||||
| * [A problem in Constructive theory of functions, Szopol 2010](https://www.math.bas.bg/mathmod/Proceedings_CTF/CTF-2010/files_CTF-2010/Open_problems.pdf?utm_source=perplexity) | ||||||
|
|
||||||
| The Bézier-type Bernstein operators $B_{n,\alpha}$ for $\alpha > 0$ are defined for | ||||||
| $f : [0,1] \to \mathbb{R}$ by | ||||||
| \[ | ||||||
| (B_{n,\alpha} f)(x) | ||||||
| = \sum_{k=0}^n f\!\left(\frac{k}{n}\right) | ||||||
| \left( J_{n,k}(x)^{\alpha} - J_{n,k+1}(x)^{\alpha} \right), | ||||||
| \] | ||||||
| where | ||||||
| \[ | ||||||
| J_{n,k}(x) = \sum_{j=k}^n p_{n,j}(x), | ||||||
| \qquad | ||||||
| p_{n,j}(x) = \binom{n}{j} x^j(1-x)^{n-j}, | ||||||
| \] | ||||||
| and $J_{n,n+1}(x) = 0$. | ||||||
|
|
||||||
| In the classical case $\alpha = 1$, these operators reduce to the usual Bernstein operators. | ||||||
| For sufficiently smooth $f$ one has the classical Voronovskaja asymptotic formula | ||||||
|
||||||
| For sufficiently smooth $f$ one has the classical Voronovskaja asymptotic formula | |
| For sufficiently smooth $f$, one has the classical Voronovskaja asymptotic formula |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the syntax for a module doc. For a docstring, you instead need to do
| /-! | |
| /-- |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| noncomputable def J (n k : ℕ) (x : ℝ ) : ℝ := | |
| noncomputable def J (n k : ℕ) (x : ℝ) : ℝ := |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this polynomial have a name in the literature? Do you think you should define it as a polynomial?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it may be called Bernstein tail polynomial would be suitable. I think it can be defined as a polynomial, should I do it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it to Polynomial in the latest commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| noncomputable def BezierBernstein (n : ℕ) (α : ℝ) (f : ℝ → ℝ) (x : ℝ) : ℝ := | |
| noncomputable def bezierBernstein (n : ℕ) (α : ℝ) (f : ℝ → ℝ) (x : ℝ) : ℝ := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you latex this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to write this, the tag already contains this info
| This is already in the literature; here we state it. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| (f'' : ℝ := iteratedDerivWithin 2 f I x): | |
| (f'' : ℝ := iteratedDerivWithin 2 f I x) : |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| with shape parameter α ≠ 1. -/ | |
| with shape parameter α ≠ 1. -/ |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put this at the end of the doc?