Golden theorems for Bernstein polynomial certificates #
checkPolyLowerBound e I c depth recognises e as a univariate rational
polynomial (QPoly.ofExpr) and runs the recursive Bernstein certificate
QPoly.bernsteinCheck. Recognition doubles as the support proof, so the golden
theorems need no ExprSupportedCore premise. All theorems here are kernel-clean;
the checker itself may be closed by kernel or native evaluation.
Generic Bernstein checker over reified expressions.
Equations
- LeanCert.Validity.Bernstein.checkPolyBound cmp e I c depth = match LeanCert.Engine.QPoly.ofExpr e with | some p => LeanCert.Engine.QPoly.bernsteinCheck cmp p c I depth | none => false
Instances For
∀ x ∈ I, c ≤ e x by Bernstein coefficients.
Equations
Instances For
∀ x ∈ I, e x ≤ c by Bernstein coefficients.
Equations
Instances For
∀ x ∈ I, c < e x by Bernstein coefficients.
Equations
Instances For
∀ x ∈ I, e x < c by Bernstein coefficients.
Equations
Instances For
Does QPoly.ofExpr recognise e? Used by tactics to decide applicability
without spending budget.
Instances For
Golden theorem (lower bound).
Golden theorem (upper bound).
Golden theorem (strict lower bound).
Golden theorem (strict upper bound).