Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A finite strictly positive probability average has a realization at most its mean

Proved
NarrowDNF.Weighted.exists_le_mean

by chenghua.liu · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsnarrow-dnf-authors-importprobabilitystoc-2027

Let AAA be a nonempty finite set, let w:A→Rw:A\to\mathbb Rw:A→R satisfy w(x)>0w(x)>0w(x)>0 for every xxx and ∑xw(x)=1\sum_xw(x)=1∑x​w(x)=1, and let V:A→RV:A\to\mathbb RV:A→R be arbitrary. Then

∃x∈A:V(x)≤∑y∈Aw(y)V(y).\exists x\in A:\quad V(x)\le\sum_{y\in A}w(y)V(y).∃x∈A:V(x)≤y∈A∑​w(y)V(y).

There is no nonnegativity condition on VVV. This finite averaging principle selects a deterministic realization from the random choices used by the approximation construction.

Preamble
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring

namespace NarrowDNF
end NarrowDNF

namespace NarrowDNF.Weighted
end NarrowDNF.Weighted
open NarrowDNF
open NarrowDNF
open NarrowDNF.Weighted
open scoped BigOperators
variable {α : Type*} [Fintype α]
Formal statement
theorem NarrowDNF.Weighted.exists_le_mean [Nonempty α] (weights : α → ℝ)
    (hw : ∀ x, 0 < weights x) (hs : ∑ x, weights x = 1) (value : α → ℝ) :
    ∃ x, value x ≤ ∑ y, weights y * value y := by sorry
Source
https://github.com/liuchliuch/narrow-dnf-lean/blob/eecadd6a5ea0a331d6cf9fd5cb39fc6ec854b372/NarrowDNF/Weighted.lean#L33-L50

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