Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 8 (finite weighted power Jensen inequality)

Open
QAlgorithms.Papers.Independent.Intakethird100.P76.weighted_power_jensen

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let JJJ be a finite index set and let λj,aj≥0\lambda_j,a_j\ge0λj​,aj​≥0 satisfy ∑j∈Jλj=1\sum_{j\in J}\lambda_j=1∑j∈J​λj​=1. For every real r≥1r\ge1r≥1,

(∑j∈Jλjaj)r≤∑j∈Jλjajr.\left(\sum_{j\in J}\lambda_j a_j\right)^r\le\sum_{j\in J}\lambda_j a_j^r.​j∈J∑​λj​aj​​r≤j∈J∑​λj​ajr​.

This finite weighted Jensen inequality is used for the conditional power moment in the leakage analysis.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P76
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P76

noncomputable section

open scoped BigOperators

open Filter Set

attribute [local instance] Classical.propDecidable

-- Exact pinned primitives, inspected at their definitions before reuse.

open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)

open QAlgorithms.Papers.Independent.Frontier30.P12 (IsStochastic)

variable {S X Y Z : Type} [Fintype S] [Fintype X] [Fintype Y] [Fintype Z]
  [Nonempty S] [Nonempty X] [Nonempty Y] [Nonempty Z]

variable {n u w : ℕ}

/-- PDF p.15, Lemma 8: finite weighted power Jensen. The sum=1 hypothesis
excludes an empty index type automatically. -/
theorem weighted_power_jensen {J : Type*} [Fintype J] (weights values : J → ℝ)
    (hweights : ∀ j, 0 ≤ weights j) (hvalues : ∀ j, 0 ≤ values j)
    (hsum : ∑ j, weights j = 1) (r : ℝ) (hr : 1 ≤ r) :
    (∑ j, weights j * values j) ^ r ≤ ∑ j, weights j * (values j) ^ r := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P76
Source
The Sender-Excited Secret Key Agreement Model: Capacity, Reliability and Secrecy Exponents, arXiv:1107.4148v4, PDF p. 15, Lemma 8 (finite weighted power Jensen inequality)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every finite type JJJ, every pair of real functions w,v:J→Rw,v:J\to\mathbb Rw,v:J→R satisfying w(j)≥0w(j)\ge0w(j)≥0, v(j)≥0v(j)\ge0v(j)≥0 for every jjj, and ∑jw(j)=1\sum_jw(j)=1∑j​w(j)=1, and every real exponent r≥1r\ge1r≥1, the theorem asserts

(∑j∈Jw(j)v(j))r≤∑j∈Jw(j)v(j)r.\left(\sum_{j\in J}w(j)v(j)\right)^r \le \sum_{j\in J}w(j)v(j)^r.​j∈J∑​w(j)v(j)​r≤j∈J∑​w(j)v(j)r.

The powers are real powers; zero weights and zero values, as well as r=1r=1r=1, are allowed. No nonemptiness assumption on JJJ is stated, but the weight-sum hypothesis cannot hold when JJJ is empty.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me