Theorem 8, p.6 — gradient accuracy of a product of two models exact at
ProvedSurrogateOps.theorem_8derivative-free-optimizationmodel-accuracyp2o-gran-per-chapterp2o-plan-paperp2o-v1surrogate-models
Let be , with and . Suppose that for and all the model satisfies (order- function accuracy at with constant ), and that provides order- gradient accuracy of at with constant . Let . Then for every
where
In particular provides order- gradient accuracy of at .
Making the models exact at removes the model bounds from the constant.
Differences from the source:
- encoding: the space ℝ^d, the closed ball B_Δ(x₀), a class of models {f̃_Δ}_{(0,Δ̄]} → EuclideanSpace ℝ (Fin d), Metric.closedBall x0 Δ, a map ℝ → E → ℝ used only on Set.Ioc 0 Δbar; reason: Lean convention; same instances
- encoding: the gradient ∇f and its Euclidean norm → fderiv ℝ f with the operator norm of E →L[ℝ] ℝ; reason: on EuclideanSpace the two norms agree by Riesz representation; same instances
- encoding: provides order-N accuracy: ∃ κ ≥ 0 → the constant κ is an explicit argument of the predicate, with 0 ≤ N and 0 ≤ κ as clauses; reason: the theorems name the constant κ_i(x₀); the order clause of the conclusion is ∃ κ
- encoding: order-∞ function accuracy at x₀ with constant κ^f_i(x₀) = 0 → fm i Δ x0 = f i x0 for every Δ ∈ (0, Δ̄]; reason: the page states the equivalence itself (p.6)
- reading: ∇f̃_{i,Δ}(x₀) is used without stating that the models are differentiable → DifferentiableAt ℝ (fm i Δ) x0 for every Δ ∈ (0, Δ̄]; reason: the page's ∇f̃_{i,Δ}(x₀) presupposes it; Lean's fderiv is 0 at a non-differentiable point, where the product rule fails
- encoding: N^g_F and K^g_F(x₀) → the number is a variable fixed by an equation or IsLeast hypothesis; reason: same as the page's "Let" and "where"
Preamble
import Mathlib import Definitions.Def_SurrogateOps_GradAccAt
Formal statement
namespace SurrogateOps
/-- **Theorem 8 (Gradient accuracy at `x0`).** Chen, Hare, Jarry-Bolduc, Error Analysis of Surrogate Models Constructed through Operations on
Sub-models, arXiv:2112.08411v1, Theorem 8, p.6.
For `F = f₁f₂`, `F̃_Δ = f̃_{1,Δ}f̃_{2,Δ}`, models exact at `x0` and `N_F = min{N₁, N₂}`:
`‖∇F(x0) - ∇F̃_Δ(x0)‖ ≤ K Δ^{N_F}` with `K` the constant of the page, and `{F̃_Δ}` provides order-`N_F`
gradient accuracy of `F` at `x0`.
**Formalization Note.** Order-∞ function accuracy at `x0` with constant `0` is the equality
`fm Δ x0 = f x0` (p.6). `∇f̃_Δ(x0)` must exist for the page's statement to make sense; `hm₁`, `hm₂`
state that. -/
theorem theorem_8 {d : ℕ} (f₁ f₂ : EuclideanSpace ℝ (Fin d) → ℝ)
(fm₁ fm₂ : ℝ → EuclideanSpace ℝ (Fin d) → ℝ) (x0 : EuclideanSpace ℝ (Fin d))
(Δbar N₁ N₂ κ₁ κ₂ NF K : ℝ)
(hΔbar : 0 < Δbar) (hf₁ : ContDiff ℝ 1 f₁) (hf₂ : ContDiff ℝ 1 f₂)
(hm₁ : ∀ Δ ∈ Set.Ioc 0 Δbar, DifferentiableAt ℝ (fm₁ Δ) x0)
(hm₂ : ∀ Δ ∈ Set.Ioc 0 Δbar, DifferentiableAt ℝ (fm₂ Δ) x0)
(he₁ : ∀ Δ ∈ Set.Ioc 0 Δbar, fm₁ Δ x0 = f₁ x0)
(he₂ : ∀ Δ ∈ Set.Ioc 0 Δbar, fm₂ Δ x0 = f₂ x0)
(hg₁ : GradAccAt f₁ fm₁ x0 Δbar N₁ κ₁)
(hg₂ : GradAccAt f₂ fm₂ x0 Δbar N₂ κ₂)
(hNF : NF = min N₁ N₂)
(hK : K = |f₂ x0| * κ₁ * Δbar ^ (N₁ - NF) + |f₁ x0| * κ₂ * Δbar ^ (N₂ - NF)) :
(∀ Δ ∈ Set.Ioc 0 Δbar,
‖fderiv ℝ (fun x => f₁ x * f₂ x) x0 - fderiv ℝ (fun x => fm₁ Δ x * fm₂ Δ x) x0‖
≤ K * Δ ^ NF) ∧
∃ κ, GradAccAt (fun x => f₁ x * f₂ x) (fun Δ x => fm₁ Δ x * fm₂ Δ x) x0 Δbar NF κ := by sorry
end SurrogateOps
Source
Chen, Hare, Jarry-Bolduc, Error Analysis of Surrogate Models Constructed through Operations on Sub-models, arXiv:2112.08411v1, Theorem 8, p.6
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.