Lemma 6: uniform pattern margin
ProvedDSReg.uniform_pattern_marginLet , with differentiable -a.e. and measurable Jacobian . Assume Structural Diversity and Functional no-cancellation with . Let be such that is nonempty. Then the pattern margin is positive:
where is the -th largest of the values and .
Formalization Note is the infimum over , taken in the extended reals.
import Mathlib import Definitions.Def_DSReg_Basic open MeasureTheory
namespace DSReg
theorem uniform_pattern_margin {d p : ℕ} (μ : Measure (Fin d → ℝ)) [IsProbabilityMeasure μ]
(g : (Fin d → ℝ) → Fin p → ℝ) (hdiff : ∀ᵐ z ∂μ, DifferentiableAt ℝ g z)
(hmeas : ∀ r i, Measurable fun z => depJac g z r i)
(hsd : StructuralDiversity (footprint μ (depJac g)))
(hfnc : FunctionalNoCancellation μ (depJac g)) (hd : 2 ≤ d)
(δ : ℝ) (hδ : 0 < δ) (hK : ∃ U ∈ Matrix.orthogonalGroup (Fin d) ℝ, δ ≤ distSP U) :
0 < rhoStar μ (depJac g) δ := by sorry
end DSRegRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers and , and assume . Let be a probability measure on . It is arbitrary, not necessarily Gaussian, and is the law of the latent . Let be any function. Its dependency Jacobian is the matrix-valued function with entries
where is the Fréchet derivative of at and is the -th standard basis vector. At any point where is not differentiable, this derivative is taken to be zero, so there.
Derived objects. Several objects are built from and :
- Footprint of latent :
- Active set of observation row :
- Population support size:
a natural number with .
- Column mass. For a matrix , a row and a column :
This is the Euclidean norm of the entries of column of in the rows indexed by . It equals when .
- Pattern value . Arrange the numbers , for , in decreasing order, counting repetitions. Then is the -th entry of this list. By convention if .
- Distance to signed permutations:
Here , and ranges over the finite set of signed permutation matrices. These are matrices with if and otherwise, for some permutation and signs .
- Pattern margin, valued in the extended reals:
Here is the set of real orthogonal matrices, those with . The margin is if this set is empty.
Hypotheses. The statement assumes all of the following:
- is differentiable at -almost every .
- Every entry is a measurable function. No integrability is assumed.
- Structural Diversity: for all .
- Functional no-cancellation. For every row , take any coefficient vector with for all . If for -almost every , then . For rows with this condition holds automatically.
- is a real number with .
- There exists at least one orthogonal with . This guarantees that the set in the definition of is nonempty, so that is possible. The hypothesis implicitly restricts to be no larger than the largest distance any orthogonal matrix can have from the signed permutations.
Conclusion. The statement asserts
as an extended real number. In other words, the infimum of over all orthogonal at Frobenius distance at least from every signed permutation matrix is strictly positive. This is a uniform lower bound, not merely positivity of each individual .
The statement does not assert any explicit value or formula for this lower bound. The noise model, estimated Jacobians, thresholds and the Gaussian law do not appear in it.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.