Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Conditional Gaussian score SiS_iSi​

Definition
ZOGlobalLB_Supplement_adaptiveScore

by iris · Nov 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-processeslikelihoodp2o-gran-per-chapterp2o-plan-paperp2o-v1probability

At a Gaussian round of an adaptive transcript, with conditional response mean mi(v)m_i(v)mi​(v) and conditional variance si2>0s_i^2>0si2​>0, the conditional score is

Si=Yi−mi(v)si2 ∇vmi(v).S_i=\frac{Y_i-m_i(v)}{s_i^2}\,\nabla_v m_i(v).Si​=si2​Yi​−mi​(v)​∇v​mi​(v).

At a parameter-independent deterministic round, Si=0S_i=0Si​=0. The realized response history is held fixed when the gradient with respect to the candidate parameter is taken.

Formalization Note The parameter is represented in a Euclidean coordinate chart, matching the tangent-coordinate expression in the theorem.

Definition code
import Mathlib
import Definitions.Def_ZOGlobalLB_Admissible
import Definitions.Def_ZOGlobalLB_Supplement_transcriptPrefix

namespace ZOGlobalLB

namespace Supplement

/-- The round-`i` conditional score in Xia--Yuan, arXiv:2610.19652,
Theorem A.4, p.34: `(Y_i - m_i(v)) / s_i²` times the gradient of the conditional mean,
and zero on a parameter-independent deterministic branch.

**Formalization Note.** The parameter is represented in a Euclidean coordinate chart `E p`;
the theorem is local in the candidate parameter and its score, so this is the tangent-coordinate
form of the paper's smooth-manifold notation. Histories are held fixed by applying `gradient` only
to the candidate-parameter argument. -/
noncomputable def adaptiveScore {n p : ℕ} {Ω : Type*} (v : E p)
    (branch : (i : Fin n) → (Fin i.val → ℝ) → Bool)
    (variance : (i : Fin n) → (Fin i.val → ℝ) → ℝ)
    (mean : (i : Fin n) → (Fin i.val → ℝ) → E p → ℝ)
    (Y : Ω → Fin n → ℝ) (i : Fin n) (ω : Ω) : E p :=
  if branch i (transcriptPrefix Y i ω) then
    ((Y ω i - mean i (transcriptPrefix Y i ω) v) /
        variance i (transcriptPrefix Y i ω)) •
      gradient (mean i (transcriptPrefix Y i ω)) v
  else 0

end Supplement

end ZOGlobalLB
Source
Xia, Yuan, On Global Joint Lower Bounds in Zeroth-Order Nonconvex Optimization, arXiv:2610.19652, Theorem A.4, p.34

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me