Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The power gradient ∣x∣p−2x|x|^{p-2}x∣x∣p−2x equals the signed (p−1)(p-1)(p−1)-power of xxx

Proved
HlawkaSchatten.powerGradient_eq_signedPower

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

bregman-divergenceconvexityhlawka-schattenpower-potentialscalar-comparison

Let p,x∈Rp,x \in \mathbb Rp,x∈R. Write Gp(x)=∣x∣p−2xG_p(x) = |x|^{p-2}xGp​(x)=∣x∣p−2x (powerGradient), and write signedPower(q,x)=sgn⁡(x) ∣x∣q\mathrm{signedPower}(q,x)=\operatorname{sgn}(x)\,|x|^{q}signedPower(q,x)=sgn(x)∣x∣q for the signed qqq-th power of xxx (with sgn⁡(0)=0\operatorname{sgn}(0)=0sgn(0)=0). Then

Gp(x)=signedPower(p−1, x).G_p(x) = \mathrm{signedPower}(p-1,\,x).Gp​(x)=signedPower(p−1,x).

For p>1p>1p>1, Gp(⋅)G_p(\cdot)Gp​(⋅) is the derivative of the power potential Fp(t)=∣t∣p/pF_p(t)=|t|^p/pFp​(t)=∣t∣p/p (powerPotential); this identity rewrites that derivative as the signed (p−1)(p-1)(p−1)-power sgn⁡(x)∣x∣p−1\operatorname{sgn}(x)|x|^{p-1}sgn(x)∣x∣p−1, with no extra factor of ppp. It is the starting point for the scalar Bregman divergence βp(a,b)=Fp(a)−Fp(b)−Gp(b)(a−b)=∣a∣p/p−∣b∣p/p−Gp(b)(a−b)\beta_p(a,b)=F_p(a)-F_p(b)-G_p(b)(a-b) = |a|^p/p - |b|^p/p - G_p(b)(a-b)βp​(a,b)=Fp​(a)−Fp​(b)−Gp​(b)(a−b)=∣a∣p/p−∣b∣p/p−Gp​(b)(a−b) built from the power potential, and it sits alongside the Euler-type identity x Gp(x)=∣x∣p=p Fp(x)x\,G_p(x) = |x|^p = p\,F_p(x)xGp​(x)=∣x∣p=pFp​(x), valid for p>0p>0p>0; facts about GpG_pGp​ such as its strict monotonicity for p>1p>1p>1 and its oddness (Gp(−x)=−Gp(x)G_p(-x)=-G_p(x)Gp​(−x)=−Gp​(x)) are derived by rewriting through this equation to the better-understood signed power function.

Formalization Note. The identity holds for every real ppp and xxx: the real power is a total function (with 0r=00^r = 00r=0 for r≠0r \neq 0r=0 and 00=10^0 = 100=1), and at x=0x=0x=0 both sides vanish because of the factor xxx on the left and sgn⁡(0)=0\operatorname{sgn}(0)=0sgn(0)=0 on the right. It is GpG_pGp​'s role as the derivative of FpF_pFp​ -- not this algebraic identity -- that needs p>1p>1p>1: for p≤1p \le 1p≤1 the two sides remain equal, but GpG_pGp​ is then no longer the derivative of FpF_pFp​ on all of R\mathbb RR.

Preamble
import Definitions.Def_HlawkaSchatten_ScalarBregman
import Mathlib.Analysis.Convex.Deriv
import Mathlib.Analysis.Convex.SpecificFunctions.Basic
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.InnerProductSpace.NormPow
import Mathlib.Data.Sign.Basic
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
-/

/-!
# Scalar power Bregman data

These are the scalar objects used in the first layer of the audited
Bregman--Mazur proof. The normalization of `powerPotential` is important:
its derivative is the signed `(p - 1)`-power with no extra factor of `p`.
-/


open Filter
open scoped Topology

open HlawkaSchatten
Formal statement
theorem HlawkaSchatten.powerGradient_eq_signedPower (p x : ℝ) :
    powerGradient p x = signedPower (p - 1) x := by sorry
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/ScalarBregman.lean#L58-L75
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by savarin · Oct 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me