Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The scalar envelope bounding the normalized deficit ratio

Definition
HlawkaSchatten_DiagonalConstruction_ScalarBounds

by savarin · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexitydiagonal-constructionhlawka-schattenreal-analysisscalar-envelope

Two scalar definitions give the sharper of two dimension-independent estimates used to confine a hypothetical strict counterexample's normalized total norm, for a real exponent ppp and q∈Rq\in\mathbb{R}q∈R.

scalarEnvelopeRoot is the following totalized expression; for p>0p>0p>0 and q≥0q\ge0q≥0 it is the power mean of 111 and qqq at exponent ppp:

scalarEnvelopeRoot⁡(p,q)=(1+qp2)1/p.\operatorname{scalarEnvelopeRoot}(p,q) = \left(\frac{1+q^p}{2}\right)^{1/p}.scalarEnvelopeRoot(p,q)=(21+qp​)1/p.

scalarEnvelope compares the linear gap between 111 and qqq to twice the gap between 111 and this power mean,

scalarEnvelope⁡(p,q)=1−q2(1−scalarEnvelopeRoot⁡(p,q)).\operatorname{scalarEnvelope}(p,q) = \frac{1-q}{2\big(1-\operatorname{scalarEnvelopeRoot}(p,q)\big)}.scalarEnvelope(p,q)=2(1−scalarEnvelopeRoot(p,q))1−q​.

For p>1p>1p>1 and nonzero vectors x,y,zx,y,zx,y,z (indexed by an arbitrary finite type) with ∥x∥p+∥y∥p+∥z∥p=1\|x\|_p+\|y\|_p+\|z\|_p=1∥x∥p​+∥y∥p​+∥z∥p​=1, a theorem in the same source module bounds the pair-norm sum ∥x+y∥p+∥x+z∥p+∥y+z∥p\|x+y\|_p+\|x+z\|_p+\|y+z\|_p∥x+y∥p​+∥x+z∥p​+∥y+z∥p​ by 2⋅scalarEnvelopeRoot⁡(p,∥x+y+z∥p)2\cdot\operatorname{scalarEnvelopeRoot}\big(p,\|x+y+z\|_p\big)2⋅scalarEnvelopeRoot(p,∥x+y+z∥p​). When q=∥x+y+z∥p<1q=\|x+y+z\|_p<1q=∥x+y+z∥p​<1, this bound gives a strictly positive lower bound 2(1−scalarEnvelopeRoot⁡(p,q))2(1-\operatorname{scalarEnvelopeRoot}(p,q))2(1−scalarEnvelopeRoot(p,q)) for the pair-deficit sum. Consequently, the ratio of the triple deficit to the pair-deficit sum is at most scalarEnvelope⁡(p,q)\operatorname{scalarEnvelope}(p,q)scalarEnvelope(p,q). This quotient interpretation uses q<1q<1q<1; at q=1q=1q=1 the displayed definition is totalized by Lean's division convention. The same source module also proves a coarser, unconditional bound — that the triple deficit is at most ppp times the pair-deficit sum for every exponent p>1p>1p>1, with no normalization needed — and scalarEnvelope is used where the sharper, normalization-dependent estimate is needed instead.

Definition code
import Mathlib.Analysis.Convex.Deriv
import Mathlib.Analysis.Convex.Function
import Mathlib.Analysis.Convex.Jensen
import Mathlib.Analysis.Convex.SpecificFunctions.Basic
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.InnerProductSpace.NormPow
import Mathlib.Analysis.Normed.Lp.PiLp
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Data.Real.Basic
import Mathlib.Data.Sign.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Topology.Instances.Sign

/-
Copyright (c) 2026 Ezzeri Esa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ezzeri Esa
-/

/-!
# The weighted scalar estimate for arbitrary coordinate triples

The weights are the three input norms. Applying the scalar convexity
inequality coordinate by coordinate yields the dimension-independent power
estimate used to confine a hypothetical counterexample.
-/

namespace HlawkaSchatten.DiagonalConstruction







variable {ι : Type*} [Fintype ι]













noncomputable def scalarEnvelopeRoot (p q : ℝ) : ℝ := ((1 + q ^ p) / 2) ^ (1 / p)

noncomputable def scalarEnvelope (p q : ℝ) : ℝ :=
  (1 - q) / (2 * (1 - scalarEnvelopeRoot p q))



end HlawkaSchatten.DiagonalConstruction
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/DiagonalConstruction/ScalarBounds.lean#L179-L182
Human review
  • Endorsed by Shuze Chen · Sep 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by savarin · Sep 29, 2026

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

  • Endorsed by marwahaha · Sep 30, 2026

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