Lemma 2 (as proved): landmark embedding error
ProvedMultiViewRedundancy.landmark_representation_errorLet be i.i.d. with , valued in a standard Borel space and . Let . Let , let , and assume , so that . Assume , where and are independent. Then with probability at least over there is with
Formalization Note The paper uses the block size . Its proof splits the landmarks into disjoint blocks and needs at least of them. That number can be smaller, for example and give one block, so the statement is the one the proof establishes, with block size . The two coincide when is an integer. "With probability at least " is written as: the set of landmark tuples for which the conclusion fails has (outer) probability at most . The conditional expectation given the landmarks is the integral over at fixed landmarks. Finiteness of and of (otherwise the bound is infinite) and (which holds whenever the densities of Section 2.1 exist) are hypotheses.
import Mathlib import Definitions.Def_MultiViewRedundancy_Basic open MeasureTheory ProbabilityTheory open scoped ENNReal NNReal
namespace MultiViewRedundancy
theorem landmark_representation_error {X Z : Type*} [MeasurableSpace X] [MeasurableSpace Z]
[StandardBorelSpace Z] [Nonempty Z]
(ρ : Measure (X × Z × ℝ)) [IsProbabilityMeasure ρ] (hY : MemLp (fun t => t.2.2) 2 ρ)
(hac : lawXZ ρ ≪ (lawXZ ρ).fst.prod (lawXZ ρ).snd) (hV : landmarkVar ρ ≠ ⊤)
(δ : ℝ) (hδ0 : 0 < δ) (hδ1 : δ < 1) (m : ℕ) (hm : ⌈Real.logb 2 (1 / δ)⌉₊ ≤ m) :
Measure.pi (fun _ : Fin m => (lawXZ ρ).snd)
{zs | ¬ ∃ w : Fin m → ℝ,
∫⁻ x, ENNReal.ofReal
((∑ i, w i * landmarkEmbedding (densityRatio (lawXZ ρ)) zs x i - muFn ρ x) ^ 2)
∂(lawXZ ρ).fst ≤
ENNReal.ofReal (epsLm ρ ⌊(m : ℝ) / ⌈Real.logb 2 (1 / δ)⌉₊⌋₊)} ≤ ENNReal.ofReal δ := by sorry
end MultiViewRedundancyRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be arbitrary measurable spaces, with additionally a nonempty standard Borel space. No further assumptions are placed on .
The law. Let be a probability measure on , viewed as the joint law of a triple with the real third coordinate. Write:
- for the image of under ;
- and for its two marginals;
- for the product of those marginals.
Hypotheses.
- has a finite second moment under , i.e. .
- is absolutely continuous with respect to .
- The quantity defined below is finite.
- is a real number with .
- is a natural number with , where
Since , , so . For , .
Objects in the statement.
- Density ratio. The density ratio is
the specific Radon–Nikodym derivative chosen by the library, as a value in and then converted to a real number (with sent to ).
-
Regression of on . is the mean of the specific disintegration (conditional kernel) of the law of evaluated at . It is defined as whenever that integral does not exist.
-
The target function . , where is the specific disintegration of at (the conditional law of given ). It is again when not integrable.
-
The variance . is the extended variance of the function under . That is,
where is the mean of this function, taken to be if the function is not integrable.
- Block size and error bound. Set
Conclusion. Draw landmarks from the -fold product measure . Consider the set of landmark tuples for which there is no weight vector satisfying
Here the left side is a nonnegative extended-real integral and may equal .
The theorem asserts
where the measure is applied as an outer measure, since is not asserted to be measurable.
Equivalently, with -probability at least , some linear combination of the landmark features attains an squared error to of at most .
The statement places no bound on the size of , and gives no explicit construction of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.