Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_HlawkaSchatten_SchattenNorm.lean
qedmarketβs copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source β
/-From Prove2Me, definition `HlawkaSchatten_SchattenNorm` (https://prove2.me/definitions/75e3f6ae-883f-4f34-b603-31ab653e0ffd). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Analysis.InnerProductSpace.SingularValuesimport Mathlib.Analysis.InnerProductSpace.Trace /-Copyright (c) 2026 Ezzeri Esa. All rights reserved.Released under Apache 2.0 license as described in the file LICENSE.Authors: Ezzeri Esa-/ /-!# Finite-dimensional Schatten quantities This file gives the definition needed by the Hlawka boundary. Mathlib'ssingular-value sequence is finitely supported, so the power sum is finitewithout choosing bases or matrix dimensions.-/ namespace HlawkaSchatten variable {π E F : Type*} [RCLike π] [NormedAddCommGroup E] [InnerProductSpace π E] [FiniteDimensional π E] [NormedAddCommGroup F] [InnerProductSpace π F] [FiniteDimensional π F] /-- The sum of the `p`-th powers of the singular values of `T`. -/noncomputable def singularValuePowerSum (p : β) (T : E ββ[π] F) : β := β i β T.singularValues.support, (T.singularValues i) ^ p /--The finite-dimensional Schatten `p` quantity: the `1 / p` power of thesum of the `p`-th powers of the singular values. For the norm laws, the intended range is `1 β€ p`. Keeping the definitiontotal makes boundary statements straightforward while putting analytichypotheses on the theorems that need them.-/noncomputable def schattenPNorm (p : β) (T : E ββ[π] F) : β := (singularValuePowerSum p T) ^ (1 / p) /-- The unit sphere described by a singular-value power sum. This is thenormalization naturally used by the Mazur map before taking the outer`p`-th root in the Schatten norm. -/def schattenPowerSphere (p : β) := {T : E ββ[π] F // singularValuePowerSum p T = 1} theorem singularValuePowerSum_nonneg (p : β) (T : E ββ[π] F) : 0 β€ singularValuePowerSum p T := by unfold singularValuePowerSum exact Finset.sum_nonneg fun i _ β¦ Real.rpow_nonneg (T.singularValues_nonneg i) _ theorem singularValuePowerSum_pos (p : β) {T : E ββ[π] F} (hT : T β 0) : 0 < singularValuePowerSum p T := by unfold singularValuePowerSum have hsupport : T.singularValues.support.Nonempty := by rw [Finsupp.support_nonempty_iff] exact T.singularValues_eq_zero_iff.not.mpr hT apply Finset.sum_pos' Β· exact fun i _ β¦ Real.rpow_nonneg (T.singularValues_nonneg i) _ Β· obtain β¨i, hiβ© := hsupport refine β¨i, hi, Real.rpow_pos_of_pos ?_ pβ© exact (T.singularValues_pos_iff_ne_zero i).mpr (Finsupp.mem_support_iff.mp hi) theorem schattenPNorm_pos (p : β) {T : E ββ[π] F} (hT : T β 0) : 0 < schattenPNorm p T := Real.rpow_pos_of_pos (singularValuePowerSum_pos p hT) _ /-- For a positive exponent, unit Schatten norm is equivalent to unitsingular-value power sum. -/theorem schattenPNorm_eq_one_iff {p : β} (hp : 0 < p) (T : E ββ[π] F) : schattenPNorm p T = 1 β singularValuePowerSum p T = 1 := by let s := singularValuePowerSum p T have hs : 0 β€ s := singularValuePowerSum_nonneg p T constructor Β· intro h have hspos : 0 < s := by by_contra hn have hs0 : s = 0 := le_antisymm (le_of_not_gt hn) hs unfold schattenPNorm at h rw [show singularValuePowerSum p T = s by rfl, hs0, Real.zero_rpow (one_div_ne_zero hp.ne')] at h norm_num at h have hpow := congrArg (fun x : β => x ^ p) h simp only [Real.one_rpow] at hpow change (s ^ (1 / p)) ^ p = 1 at hpow rw [β Real.rpow_mul hs] at hpow rw [show 1 / p * p = 1 by field_simp [hp.ne'], Real.rpow_one] at hpow exact hpow Β· intro h unfold schattenPNorm rw [h, Real.one_rpow] /-- At exponent two, the singular-value power sum is the real trace of thedomain Gram operator. -/theorem singularValuePowerSum_two_eq_re_trace (T : E ββ[π] F) : singularValuePowerSum 2 T = RCLike.re ((T.adjoint.comp T).trace π E) := by have hrank : Module.finrank π T.range β€ Module.finrank π E := T.finrank_range_le have hsum : (β i β Finset.range (Module.finrank π T.range), T.singularValues i ^ 2) = β i β Finset.range (Module.finrank π E), T.singularValues i ^ 2 := by apply Finset.sum_subset (Finset.range_mono hrank) intro i hi hi' have hirank : Module.finrank π T.range β€ i := by exact Nat.le_of_not_gt (fun hlt β¦ hi' (Finset.mem_range.mpr hlt)) rw [T.singularValues_eq_zero_iff_le_finrank_range.mpr hirank] norm_num unfold singularValuePowerSum rw [T.support_singularValues] simp_rw [Real.rpow_two] rw [T.isSymmetric_adjoint_comp_self.re_trace_eq_sum_eigenvalues rfl] simp_rw [β T.sq_singularValues_fin rfl] exact hsum.trans (Fin.sum_univ_eq_sum_range (fun i : β β¦ T.singularValues i ^ 2) (Module.finrank π E)).symm end HlawkaSchatten