Corollary 1: range of
ProvedAlignmentUniformity.uniformity_loss_rangeLet , , let be a probability distribution on , and let be a measurable encoder. Then
- The lower bound is attained exactly when is perfectly uniform.
- The upper bound is attained exactly when is degenerate, that is, for -almost every , for some fixed .
- As a function of , the lower bound strictly decreases, and (eq. 7).
Formalization Note The paper says the bounds are "achieved only by" perfectly uniform and degenerate encoders. Both directions are stated, since each converse follows directly from Proposition 3 and the definitions.
import Mathlib import Definitions.Def_AlignmentUniformity_Basic open MeasureTheory Filter Topology
namespace AlignmentUniformity
theorem uniformity_loss_range {n m : ℕ} (hm : 1 ≤ m) {t : ℝ} (ht : 0 < t)
(pdata : Measure (Vec n)) [IsProbabilityMeasure pdata]
(f : Vec n → Vec m) (hf : IsEncoder f) :
-2 * t + Real.log (hyp0F1 ((m : ℝ) / 2) (t ^ 2)) ≤ uniformLoss pdata f t ∧
uniformLoss pdata f t ≤ 0 ∧
(uniformLoss pdata f t = -2 * t + Real.log (hyp0F1 ((m : ℝ) / 2) (t ^ 2)) ↔
PerfectlyUniform pdata f) ∧
(uniformLoss pdata f t = 0 ↔ ∃ u : Vec m, ∀ᵐ x ∂pdata, f x = u) ∧
StrictAntiOn (fun m' : ℕ => -2 * t + Real.log (hyp0F1 ((m' : ℝ) / 2) (t ^ 2)))
(Set.Ici 1) ∧
Tendsto (fun m' : ℕ => -2 * t + Real.log (hyp0F1 ((m' : ℝ) / 2) (t ^ 2))) atTop
(𝓝 (-2 * t)) := by sorry
end AlignmentUniformityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers and with ( is allowed, in which case is a single point). Fix a real number . Let be any Borel probability measure on . Let be an encoder, meaning:
- is Borel measurable, and
- for every , not merely almost every .
So takes values in the unit sphere .
Uniformity loss. Write for the Gaussian kernel and define
Here is the real logarithm, with the conventions and for . The integrals use the convention that a non-integrable integrand integrates to .
Hypergeometric quantity. For real and , define
where is the rising Pochhammer symbol and . The sum is an unconditional sum, taken to be if it is not summable. Write
Uniform measure on the sphere. Let be the normalized surface-area measure on , viewed as a measure on . It is defined as follows:
- Start from the measure on the sphere , where is Lebesgue measure on .
- Divide by its total mass.
- Push forward along the inclusion .
For , the sphere is and gives mass to each point.
The theorem asserts that all six of the following hold simultaneously:
- Lower bound. .
- Upper bound. .
- Equality case of the lower bound. if and only if the pushforward measure (the law of for ) is exactly equal to .
- Equality case of the upper bound. if and only if there exists a vector such that for -almost every . The vector is not explicitly required to be a unit vector.
- Monotonicity in dimension. The map is strictly decreasing on the natural numbers : if then .
- Limit in dimension. As through the natural numbers,
Items 5 and 6 involve only . The dimension variable in them is a fresh variable, unrelated to , , , and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.