Theorem 9: uniform single-batch exclusion
OpenGoodViewsNotEnough.uniform_single_batch_exclusionIn the 512-dimensional model, draw one batch of i.i.d. scenes with eight independent cube nuisances per scene, and fix it. Let
where and is the mean of the global views. The constraints are the population whitening constraints , . Let be a complete centred orthonormal scene basis. Then, with probability at least over :
- every global minimiser of over whitened encoders has strictly positive population nuisance fraction ;
- every minimiser of over the linear Stiefel class , , satisfies
Formalization Note The theorem is stated for a fixed basis , as in the setting of Appendix D.1. The global views are the first two of the eight views of each example.
import Mathlib import Definitions.Def_GoodViewsNotEnough_Basic open MeasureTheory Complex
namespace GoodViewsNotEnough
theorem uniform_single_batch_exclusion (r : Fin 513 → Fin 512 → ℝ)
(hr : IsCenteredOrthonormalBasis r) :
ENNReal.ofReal (828 / 1000) ≤ batchLaw {B |
(∀ h, IsWhitenedHD h → IsMinOn (batchObjective B) {h | IsWhitenedHD h} h →
0 < nuisanceFrac h) ∧
(∀ W, IsStiefel W →
IsMinOn (fun W => batchObjective B (linEncoder r W)) {W | IsStiefel W} W →
nuisanceFrac (linEncoder r W) = (∑ a, ∑ b, W a (Sum.inr b) ^ 2) / 512 ∧
1 / 10 ^ 12 < nuisanceFrac (linEncoder r W))} := by sorry
end GoodViewsNotEnoughRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. There are scenes with prior probabilities
There are nuisances , each with weight . The nuisance is identified with the sign vector , where if is true and otherwise.
An encoder is an arbitrary function assigning to each scene–nuisance pair a vector . No linearity, continuity or other structure is assumed.
The population mean of a quantity is
Hypothesis. The theorem is stated for every function from scenes to satisfying, for all coordinates ,
No other hypothesis appears.
Batches and their law. A batch consists of examples . Each example has a scene and nuisances , called views.
The measure on batches puts mass
on each batch . This means the scenes are i.i.d. with law , and all nuisances are i.i.d. uniform, independent of the scenes. The total mass is . The measure of a set of batches is the sum of over the batches in it.
Whitened encoders. An encoder is whitened if, for all ,
Nuisance fraction. Write for the conditional mean of given the scene. The nuisance fraction of is
where is the Euclidean norm.
Single-batch objective. For a batch and an encoder , write . The single-batch objective is
Note that the sum over includes the two averaged views themselves. In the second term:
- is the normalized (uniform probability) surface measure on the unit sphere .
- The pooled statistic is
- The nodes are , and .
- The weights are , with and otherwise.
Linear encoders. A matrix is , split into two blocks and . It defines the encoder
is called Stiefel if .
Conclusion. The set of batches satisfying both conditions (1) and (2) below has probability at least under the batch law.
-
Whitened encoders. For every whitened encoder that is a global minimizer of over the set of all whitened encoders (that is, for every whitened ), one has .
-
Linear Stiefel encoders. For every Stiefel that globally minimizes over all Stiefel , both of the following hold:
Edge cases.
- Both conditions only constrain minimizers. The theorem does not assert that any minimizer exists.
- For a batch where has no minimizer over whitened encoders, condition (1) holds vacuously for that batch. The same applies to condition (2) for Stiefel matrices.
- The minimizers in (1) and (2) are global minimizers for the single fixed batch . They are not minimizers of an averaged objective.
- The encoders in (1) are arbitrary functions, not related to . Only the encoders in (2) involve .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.