Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.2 — convexity of the SPO+ loss in the prediction

Proved
SmartPTO.Fisher.prop3_convex

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

convexityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1spo-plus-losssurrogate-loss

Let S⊆RdS\subseteq\mathbb R^dS⊆Rd be nonempty, compact, and convex, with an arbitrary optimal-decision oracle w∗w^*w∗. For each fixed realized cost vector ccc,

c^⟼ℓSPO+(c^,c)is convex on Rd.\hat c\longmapsto\ell_{\mathrm{SPO+}}(\hat c,c)\quad\text{is convex on }\mathbb R^d.c^⟼ℓSPO+​(c^,c)is convex on Rd.

This is the surrogate's structural property used in the paper's population-risk analysis.

Formalization Note Convexity is stated on the entire Euclidean prediction space, with no restriction on the oracle's tie-breaking.

Preamble
import Mathlib
import Definitions.Def_SPOBounds_Natarajan_Model
import Definitions.Def_SmartPTO_Fisher_Setting

open scoped InnerProductSpace
open MeasureTheory ProbabilityTheory
Formal statement
namespace SmartPTO.Fisher

/-- Proposition 3.2, p. 18: SPO+ is convex in the prediction for fixed realized cost. -/
theorem prop3_convex {d : ℕ} (S : Set (EuclideanSpace ℝ (Fin d)))
    (hSne : S.Nonempty) (hScpt : IsCompact S) (hScvx : Convex ℝ S)
    (wstar : EuclideanSpace ℝ (Fin d) → EuclideanSpace ℝ (Fin d))
    (hw : SPOBounds.Natarajan.IsOracle S wstar)
    (c : EuclideanSpace ℝ (Fin d)) :
    ConvexOn ℝ Set.univ (fun chat => spoPlusLoss S wstar chat c) := by sorry

end SmartPTO.Fisher
Source
Elmachtoub & Grigas, Smart "Predict, then Optimize", arXiv:1710.08005v5, p. 18, Proposition 3.2; §2 standing assumptions pp. 8–9
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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