Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 2, p. 17 — for d = 1, (13) with A = [q, ∞) plus (1 − α)∫𝟙{z ≥ y}h equals the quantile score (α − 𝟙{y < q})(H(y) − H(q))

Proved
MultivarScores.LevelSet.remark_2

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

level-setsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantile-scorescoring-rules

Let h:R→Rh:\mathbb R\to\mathbb Rh:R→R be measurable, nonnegative and integrable, and let α,q,y∈R\alpha,q,y\in\mathbb Rα,q,y∈R. Identify a quantile estimate q=q(α)q=q(\alpha)q=q(α) with the Borel set A=[q,∞)A=[q,\infty)A=[q,∞). Then

∫−∞∞(α−1{z≥y})1{z≥q}h(z) dz+(1−α)∫−∞∞1{z≥y}h(z) dz=(α−1{y<q})∫qyh(z) dz,\int_{-\infty}^{\infty}\bigl(\alpha-\mathbb 1\{z\ge y\}\bigr)\mathbb 1\{z\ge q\}h(z)\,dz+(1-\alpha)\int_{-\infty}^{\infty}\mathbb 1\{z\ge y\}h(z)\,dz=\bigl(\alpha-\mathbb 1\{y<q\}\bigr)\int_q^y h(z)\,dz ,∫−∞∞​(α−1{z≥y})1{z≥q}h(z)dz+(1−α)∫−∞∞​1{z≥y}h(z)dz=(α−1{y<q})∫qy​h(z)dz,

where ∫qy=−∫yq\int_q^y=-\int_y^q∫qy​=−∫yq​ when y<qy<qy<q. With HHH an antiderivative of hhh, the right-hand side is (α−1{y<q})(H(y)−H(q))(\alpha-\mathbb 1\{y<q\})(H(y)-H(q))(α−1{y<q})(H(y)−H(q)), the general quantile score. Since the added term depends only on yyy, the CDF level set score (13) in dimension one is equivalent to the full class of quantile scores.

Formalization Note The statement is on R\mathbb RR directly. H(y)−H(q)H(y)-H(q)H(y)−H(q) is written as the oriented integral ∫qyh\int_q^y h∫qy​h (intervalIntegral), which is the same for every antiderivative.

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

open MeasureTheory

theorem remark_2 (h : ℝ → ℝ) (hh_meas : Measurable h) (hh_nonneg : ∀ z, 0 ≤ h z)
    (hh_int : Integrable h) (α q y : ℝ) :
    (∫ z in Set.Ici q, (α - if y ≤ z then 1 else 0) * h z) + (1 - α) * ∫ z in Set.Ici y, h z =
      (α - if y < q then 1 else 0) * ∫ z in q..y, h z := by sorry

end MultivarScores.LevelSet
Source
Meng, Taylor, Ben Taieb, Li, Scores for Multivariate Distributions and Level Sets, arXiv:2002.09578v6, p. 17, Remark 2
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