Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The signed power x↦sgn⁡(x) ∣x∣qx \mapsto \operatorname{sgn}(x)\,|x|^{q}x↦sgn(x)∣x∣q is continuous for every exponent q>0q>0q>0

Proved
HlawkaSchatten.continuous_signedPower

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

continuityhlawka-schattenmazur-mapscalar-comparison

Let q∈Rq \in \mathbb Rq∈R with q>0q > 0q>0. For x∈Rx \in \mathbb Rx∈R write

signedPower(q,x)=sgn⁡(x) ∣x∣q,\mathrm{signedPower}(q,x) = \operatorname{sgn}(x)\,|x|^{q},signedPower(q,x)=sgn(x)∣x∣q,

using the convention sgn⁡(0)=0\operatorname{sgn}(0) = 0sgn(0)=0 and the real power ∣x∣q|x|^q∣x∣q (with 0q=00^q = 00q=0 since q≠0q \neq 0q=0). Then

x↦signedPower(q,x) is continuous on R.x \mapsto \mathrm{signedPower}(q,x) \text{ is continuous on } \mathbb R.x↦signedPower(q,x) is continuous on R.

The sign function alone is discontinuous at 000, jumping between −1-1−1 and 111; multiplying it by ∣x∣q|x|^q∣x∣q removes the jump once q>0q>0q>0. This makes signedPower(q,⋅)\mathrm{signedPower}(q,\cdot)signedPower(q,⋅) a continuous odd extension of x↦xqx \mapsto x^qx↦xq to negative xxx; together with its strict monotonicity (strictMono_signedPower) and unboundedness, continuity is what lets it serve as a global change of variables -- for instance the scalar Mazur map ψp(x)=signedPower(p/2,x)\psi_p(x) = \mathrm{signedPower}(p/2,x)ψp​(x)=signedPower(p/2,x) for p>0p>0p>0, used to compare a power geometry with a Hilbert (squared-distance) geometry.

Formalization Note. Both sgn⁡\operatorname{sgn}sgn and the real power ∣x∣q|x|^q∣x∣q are totalized on all of R\mathbb RR: sgn⁡(0)=0\operatorname{sgn}(0)=0sgn(0)=0, and 0q=00^q=00q=0 for q≠0q\neq0q=0. These conventions make the continuity claim well-defined at x=0x=0x=0 without any case split on the definition itself.

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.continuous_signedPower {q : ℝ} (hq : 0 < q) : Continuous (signedPower q) := by sorry
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/ScalarBregman.lean#L165-L192
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