Lemma 3: functional support minimality
ProvedDSReg.functional_support_minimalityLet , with differentiable -a.e. and measurable Jacobian , and assume Structural Diversity (Assumption 1) and Functional no-cancellation (Assumption 2). If solves
then is a signed permutation matrix.
Formalization Note "Under the assumptions of Theorem 2" is taken to mean the assumptions on , and . The premise does not enter this matrix problem and is omitted.
import Mathlib import Definitions.Def_DSReg_Basic open MeasureTheory
namespace DSReg
theorem functional_support_minimality {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))
(U : Matrix (Fin d) (Fin d) ℝ) (hU : U ∈ Matrix.orthogonalGroup (Fin d) ℝ)
(hmin : ∀ U' ∈ Matrix.orthogonalGroup (Fin d) ℝ,
supportCount μ (fun z => depJac g z * U) ≤ supportCount μ (fun z => depJac g z * U')) :
IsSignedPerm U := by sorry
end DSRegRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers. Latent points are vectors and observations are vectors in . Let be any probability measure on . No further structure is assumed: it need not be Gaussian, have a density, or have independent coordinates. Let be an arbitrary function.
The dependency Jacobian. For , define the matrix entrywise by
where is the Fréchet derivative of at and is the -th standard basis vector. Thus wherever is differentiable. At points where is not differentiable, the derivative is taken to be the zero map, so there.
Supports and footprints. A real function of is called active if .
- The footprint of latent is the set of rows on which column is active:
- The active set of row is .
- For a matrix-valued function of size , its support count is the number of index pairs such that is active:
Hypotheses.
- is differentiable at -almost every .
- For every and , the map is measurable.
- Structural Diversity: the footprints are pairwise distinct, for all .
- In particular, at most one footprint is empty.
- If , all footprints are empty, so this hypothesis can only hold when .
- Functional no-cancellation: for every row and every coefficient vector with for all ,
Equivalently, for each row , the functions with are linearly independent modulo -null sets. 5. is a real orthogonal matrix, . Either determinant is allowed. 6. Minimality: for every orthogonal matrix ,
That is, attains the minimum of the support count of over the whole orthogonal group. The identity matrix is among the competitors .
Conclusion. is a signed permutation matrix. There exist a permutation of and signs such that, for all ,
Edge cases. When , is the empty matrix and the conclusion holds trivially.
Scope. The statement concerns only the matrices , built from the Jacobian of itself. It makes no reference to any encoder, learned representation, or candidate latents, and assumes nothing about beyond the a.e. differentiability and the measurability of the Jacobian entries listed above.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.