Lemma 7: complete scene Gram matrix
ProvedGoodViewsNotEnough.complete_scene_gram_matrixIn the 512-dimensional model, let be a complete centred orthonormal basis of scene functions in , that is, and . Then:
- every scene-only encoder with and has the form for some ;
- the Gram matrix of is
- on the two common scenes and on the other scenes;
- for distinct scenes, is (common/common), (common/other) and (other/other).
So the whole scene-only whitened class is one rotation orbit, and the direction-averaged Epps–Pulley value is the same throughout it.
import Mathlib import Definitions.Def_GoodViewsNotEnough_Basic open MeasureTheory Complex
namespace GoodViewsNotEnough
theorem complete_scene_gram_matrix (r : Fin 513 → Fin 512 → ℝ) (hr : IsCenteredOrthonormalBasis r) :
(∀ h : Fin 513 → (Fin 512 → Bool) → Fin 512 → ℝ, (∀ s U U', h s U = h s U') → IsWhitenedHD h →
∃ Q ∈ Matrix.orthogonalGroup (Fin 512) ℝ, ∀ s U, h s U = Q.mulVec (r s)) ∧
(∀ s s', ∑ a, r s a * r s' a = (if s = s' then 1 / hdSceneProb s else 0) - 1) ∧
(∀ s : Fin 513, (s : ℕ) < 2 → ∑ a, r s a ^ 2 = 3) ∧
(∀ s : Fin 513, 2 ≤ (s : ℕ) → ∑ a, r s a ^ 2 = 1021) ∧
(∀ s s' : Fin 513, s ≠ s' → (s : ℕ) < 2 → (s' : ℕ) < 2 → ∑ a, (r s a - r s' a) ^ 2 = 8) ∧
(∀ s s' : Fin 513, (s : ℕ) < 2 → 2 ≤ (s' : ℕ) → ∑ a, (r s a - r s' a) ^ 2 = 1026) ∧
(∀ s s' : Fin 513, s ≠ s' → 2 ≤ (s : ℕ) → 2 ≤ (s' : ℕ) → ∑ a, (r s a - r s' a) ^ 2 = 2044) := by sorry
end GoodViewsNotEnoughRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let the scene set be (513 scenes), carrying the probability weights
which sum to . Let the nuisance set be the cube , encoded as Boolean vectors of length 512. Each has weight .
The theorem takes an arbitrary map , written . Its only hypothesis is that is a centred orthonormal system in :
This hypothesis involves 512 functions in the 512-dimensional space of -centred functions on 513 points.
Under this hypothesis, the theorem asserts that all seven of the following statements hold simultaneously. Here and denote the ordinary unweighted Euclidean inner product and norm on .
- Nuisance-free whitened encoders are rotations of . Let be any map satisfying:
- does not depend on the nuisance, i.e. for all , , ;
- is exactly whitened, i.e. for all coordinates ,
Then there exists a real orthogonal matrix (that is, ) such that for every and every .
- Gram matrix. For all scenes :
-
For : .
-
For : .
-
For distinct : .
-
For and : . Distinctness is automatic here and is not stated separately.
-
For distinct with : .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.