Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, p. 33 — Δ″: (S′)^Γ(A, y) − (S′)^Γ(L, y) = ∫ (α − w(z − y))(𝟙_{A∖L} − 𝟙_{L∖A}) h dz

Proved
MultivarScores.LevelSet.delta_pp_eq

by mikedeng1 · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

consistent-scoring-functionlevel-setsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1scoring-rules

Let w,h:Rd→Rw,h:\mathbb R^d\to\mathbb Rw,h:Rd→R be measurable with w≥0w\ge0w≥0, h≥0h\ge0h≥0 and hhh integrable, let α>0\alpha>0α>0, and let A,L⊆RdA,L\subseteq\mathbb R^dA,L⊆Rd be Borel sets. Fix a realization y∈Rdy\in\mathbb R^dy∈Rd such that z↦w(z−y)h(z)z\mapsto w(z-y)h(z)z↦w(z−y)h(z) is integrable. Then the difference of level set scores is

(S′)Γ(A,y;w,h,α)−(S′)Γ(L,y;w,h,α)=∫Rd(α−w(z−y))[1A∖L(z)−1L∖A(z)]h(z) dz.(S')^\Gamma(A,y;w,h,\alpha)-(S')^\Gamma(L,y;w,h,\alpha)=\int_{\mathbb R^d}\bigl(\alpha-w(z-y)\bigr)\bigl[\mathbb 1_{A\setminus L}(z)-\mathbb 1_{L\setminus A}(z)\bigr]h(z)\,dz.(S′)Γ(A,y;w,h,α)−(S′)Γ(L,y;w,h,α)=∫Rd​(α−w(z−y))[1A∖L​(z)−1L∖A​(z)]h(z)dz.

This is the quantity Δ′′\Delta''Δ′′ of the proof of Theorem 2, with Σ+−=A∖L\Sigma_{+-}=A\setminus LΣ+−​=A∖L and Σ−+=L∖A\Sigma_{-+}=L\setminus AΣ−+​=L∖A. Taking the expectation over yyy turns it into display (19).

Formalization Note The paper's partition uses {Ξ[Y]>α}\{\Xi[Y]>\alpha\}{Ξ[Y]>α} while its target is L={fY∗w≥α}L=\{f_Y*w\ge\alpha\}L={fY​∗w≥α}; the statement is given for an arbitrary Borel LLL, which covers the target L=L(fY∗w;α)L=L(f_Y*w;\alpha)L=L(fY​∗w;α). The integrability of w(⋅−y)hw(\cdot-y)hw(⋅−y)h is Assumption 1(c) for this yyy; without it the Bochner integrals would be 000. w≥0w\ge0w≥0 and α>0\alpha>0α>0 are kept from Theorem 2's hypotheses.

Preamble
import Mathlib
import Definitions.Def_MultivarScores_LevelSet_Setting
Formal statement
namespace MultivarScores.LevelSet

open MeasureTheory

theorem delta_pp_eq {d : ℕ} (w h : MultivarScores.L2Rule.E d → ℝ)
    (hw_meas : Measurable w) (hw_nonneg : ∀ z, 0 ≤ w z)
    (hh_meas : Measurable h) (hh_nonneg : ∀ z, 0 ≤ h z) (hh_int : Integrable h)
    (α : ℝ) (hα : 0 < α) (A L : Set (MultivarScores.L2Rule.E d)) (hA : MeasurableSet A) (hL : MeasurableSet L)
    (y : MultivarScores.L2Rule.E d) (hwy_int : Integrable (fun z => w (z - y) * h z)) :
    scoreΓ w h α A y - scoreΓ w h α L y =
      ∫ z, (α - w (z - y)) * ((A \ L).indicator 1 z - (L \ A).indicator 1 z) * h z := by sorry

end MultivarScores.LevelSet
Source
Meng, Taylor, Ben Taieb, Li, Scores for Multivariate Distributions and Level Sets, arXiv:2002.09578v6, p. 33, proof of Theorem 2, display of Δ″ (B₁, B₂, Σ±±)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 2026

    Confirmed by the mission captain (proposal self-audit).

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