Lemma 1: dependency bridge
ProvedDSReg.dependency_bridgeLet be the law of the world latent , and let , where is differentiable -almost everywhere with measurable dependency Jacobian . Suppose the representation is linearly identifiable with orthogonal ambiguity: -a.s. for some . Then for candidate latents with ,
The ambiguity therefore enters the dependency structure as right multiplication by the orthogonal matrix .
Formalization Note is the Jacobian of at , the map the paper obtains from the premise . The identity is stated -a.e. in , as in the paper. Because the premise is built into this definition, it in fact holds at every for every (both sides are where is not differentiable), and the hypotheses on , and are not needed.
import Mathlib import Definitions.Def_DSReg_Basic open MeasureTheory
namespace DSReg
theorem dependency_bridge {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)
(h : (Fin d → ℝ) → Fin d → ℝ) (Q : Matrix (Fin d) (Fin d) ℝ)
(hQ : Q ∈ Matrix.orthogonalGroup (Fin d) ℝ) (hh : ∀ᵐ z ∂μ, h z = Q.mulVec z)
(R : Matrix (Fin d) (Fin d) ℝ) (hR : R ∈ Matrix.orthogonalGroup (Fin d) ℝ) :
∀ᵐ z ∂μ, candJac g Q R z = depJac g z * Q.transpose * R.transpose := by sorry
end DSRegRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers. Write latent vectors as and observations as elements of . Fix the following data and hypotheses:
- is a probability measure on .
- is an arbitrary function, differentiable at for -almost every .
- For every row index and column index , the map is measurable, where is the dependency Jacobian. This is the matrix
that is, the -th component of the Fréchet derivative of at applied to the -th standard basis vector . By convention the derivative is taken to be the zero map at any point where is not differentiable, so at such points.
- is an arbitrary function.
- is a real orthogonal matrix, meaning .
- holds for -almost every .
- is a real orthogonal matrix.
For each , define the candidate Jacobian as follows. Consider the function
Then is the dependency Jacobian of this function, in the sense above (Fréchet derivative applied to the basis vectors, zero where not differentiable), evaluated at the point .
The theorem asserts that for -almost every ,
as an equality of real matrices.
Remarks on scope:
- The function and the hypothesis a.e. do not enter the conclusion. Neither side of the equation involves .
- The orthogonality of and means that , so the candidate Jacobian evaluates 's composite at the point corresponding to itself.
- When or , both sides are empty matrices and the statement holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.