Theorem 24, p. 29 — |∇f(0)y − f_(2m)(y)| ≤ Σ_{k≥2m+1} (8Rcm√d)ᵏ for all but a 1/1000 fraction of y ∈ R·G_nᵈ
ProvedQGradGAW.Smooth.theorem_24Let , , and , and let be smooth and analytic in the sense of Definition 5, with
Assume . Then
for all but a fraction of the points ; that is, the number of grid labels for which the inequality fails is at most .
This is the approximation guarantee that lets Jordan's algorithm (Theorem 21) be run on the central difference instead of : on most of a hypercube of edge length around , is very close to the linear function .
Formalization Note starts at in the paper, so the derivative bound is assumed for and (for the claim is false). The hypothesis is the condition under which the printed series is a finite number; without it the right-hand side is and the paper's claim is empty, while the Lean tsum of a divergent series would be . "Analytic" is the Taylor representation (5) at together with smoothness (which Definition 5 presupposes). is the derivative of at applied to .
import Mathlib import Definitions.Def_QGradGAW_Smooth_Setting
namespace QGradGAW.Smooth
open QAlgorithms
/-- arXiv:1711.00465v3, p. 29 (restated with proof p. 54), Theorem 24: let `R > 0`, `m ∈ ℕ₊` and
let `f : ℝ^d → ℝ` be analytic (Definition 5) with `|∂_α f(0)| ≤ c^k k^{k/2}` for all `k ∈ ℕ₊`
and `α ∈ [d]^k`. Then `|∇f(0) y − f_(2m)(y)| ≤ Σ_{k=2m+1}^∞ (8Rcm√d)^k` for all but a `1/1000`
fraction of the points `y ∈ R · G_n^d`, i.e. the number of grid labels `x ∈ (Qubits n)^d` at
which the bound fails for `y = R · x̂` is at most `(2^n)^d / 1000`. The hypothesis
`8Rcm√d < 1` is the condition under which the printed series is a finite number. -/
theorem theorem_24 (d n m : ℕ) (hm : 1 ≤ m) (R c : ℝ) (hR : 0 < R)
(f : (Fin d → ℝ) → ℝ) (hf : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) f) (han : IsTaylorRep f 0)
(hder : ∀ k : ℕ, 1 ≤ k → ∀ α : Fin k → Fin d,
|partialAlpha f k α 0| ≤ c ^ k * Real.sqrt k ^ k)
(hq : 8 * R * c * m * Real.sqrt d < 1) :
((Finset.univ.filter fun x : Fin d → Qubits n =>
¬ |fderiv ℝ f 0 (R • gridVec x) - centralDiff m f (R • gridVec x)| ≤
∑' k : ℕ, (8 * R * c * m * Real.sqrt d) ^ (2 * m + 1 + k)).card : ℝ) ≤
(2 ^ n : ℝ) ^ d / 1000 := by sorry
end QGradGAW.Smooth
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.