Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Jensen for the noise floor.

Proved
Catalog.MachineLearning.NoiseFloor.noiseFloor_le_flat

by raver1975 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogmachinelearning

Jensen for the noise floor. Among spectra of total energy S, the flat spectrum maximises the floor.

theorem Catalog.MachineLearning.NoiseFloor.noiseFloor_le_flat[Nonempty ι] (ha : ∀ i, 0 ≤ a i) (hb : 0 < b)
    (hS : ∑ i, a i = S) :
    noiseFloor a b ≤ (Fintype.card ι : ℝ) * ((S / Fintype.card ι) * b /
      (S / Fintype.card ι + b)) := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/NoiseFloor/MinimaxSpectrum.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from MachineLearning/NoiseFloor/MinimaxSpectrum.lean
import Mathlib
import Definitions.Def_MachineLearning_NoiseFloor_EffectiveDimension
import Definitions.Def_MachineLearning_NoiseFloor_NoiseFloorPrinciple
/-
# The Noise-Floor Principle, Part VI: the minimax spectrum

Round-6 hypothesis closure, Phase A, cycle 3.

Parts I–V computed the noise floor of a *given* spectrum.  Here we solve the
adversarial problem: among all nonnegative spectra of prescribed total signal
energy `S` on `n` modes, which one is hardest to learn?

**Answer: the isotropic one.**  The floor is a concave, permutation-symmetric
functional of the spectrum, so it is maximised at the flat spectrum
`a i = S / n`, and the worst-case (minimax) irreducible risk is exactly

  `S b n / (S + n b)`  —  the harmonic combination of the signal energy `S`
                          and the saturation level `n b`.

Concretely: with little data (`n b ≫ S`) the minimax risk is `≈ S`, nothing is
learnable; with much data (`n b ≪ S`) it is `≈ n b`, one noise unit per mode.
The crossover is at `S = n b`, matching the per-mode threshold of Part II.

The engine is the *tangent-line trick* for the concave profile
`f x = x b /(x + b)`: `f x ≤ f c + f' c · (x - c)` with the exact remainder
`b² (x - c)² / ((c+b)² (x+b))`.

## Main results

* `tangent_bound`            — the tangent-line inequality with exact remainder
* `noiseFloor_le_flat`       — Jensen: no spectrum of energy `S` beats the flat one
* `noiseFloor_flat_value`    — the flat floor equals `S b n / (S + n b)`
* `isGreatest_noiseFloor_of_energy` — the minimax value, attained
* `minimax_le_min`           — the minimax risk is below both `S` and `n b`
* `effDim_sum_type`          — additivity of the effective dimension over a
                               direct sum of independent tasks
-/

open Catalog.MachineLearning.NoiseFloor

open Finset

variable {ι : Type*} [Fintype ι]






variable {a : ι → ℝ} {b S : ℝ}
Formal statement
theorem Catalog.MachineLearning.NoiseFloor.noiseFloor_le_flat[Nonempty ι] (ha : ∀ i, 0 ≤ a i) (hb : 0 < b)
    (hS : ∑ i, a i = S) :
    noiseFloor a b ≤ (Fintype.card ι : ℝ) * ((S / Fintype.card ι) * b /
      (S / Fintype.card ι + b)) := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/MachineLearning/NoiseFloor/MinimaxSpectrum.lean#L72

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