Theorem 3.3, Step I (as proved): the Jacobian of has full rank everywhere
ProvedIActThereforeIAm.jacobian_full_rankLet the following hold.
- is a probability law that charges every nonempty open subset of (full support), where is a topological space with its Borel -algebra. The latent model is valid.
- The conditional densities of given exist and are positive, in and jointly continuous, and Assumption 3.2 holds for them.
- Assumption 3.1 holds: is smooth and injective, with a real normed space.
- Every model in the family factorizes as . For and the factors are positive, in and jointly continuous.
- , is smooth, and is a global minimizer of that attains the lower bound .
Then the Jacobian of has full rank at every latent state:
so is locally invertible everywhere.
Formalization Note This is the statement the proof in Appendix D establishes, not the printed one. The printed Theorem 3.3 assumes only that is a global minimizer. The proof also uses three facts. First, the minimizer attains the bound , through Theorem 2.1. Second, factorizes over components (Eq. 47). Third, the density identities (35)-(39) hold pointwise at the actions supplied by Assumption 3.2. The last requires those actions to be charged by the data, which here comes from full support and continuity. Without full support the printed statement is false; a counterexample is in the mission report. Eq. (47) states only the factorization; the regularity of the factors is required only on the encoder range , where the proof differentiates . It cannot be required on all of : an optimal equals a.e. and so vanishes a.e. outside . The hypotheses can all hold together: for , a finite action set, , , the CDF of and satisfy them. Assumption 3.2 is read with universally quantified, as in its proof. The latent domain is all of .
import Mathlib import Definitions.Def_IActThereforeIAm_Basic open MeasureTheory Filter Topology open scoped ENNReal NNReal ContDiff
namespace IActThereforeIAm
theorem jacobian_full_rank {d : ℕ} {A X Θ : Type*}
[TopologicalSpace A] [MeasurableSpace A] [BorelSpace A]
[NormedAddCommGroup X] [NormedSpace ℝ X] [MeasurableSpace X] [BorelSpace X]
(M : LatentSCM d A) (hM : M.IsValid) (hsupp : M.prev.IsOpenPosMeasure)
(dens : Fin d → (Fin d → ℝ) → A → ℝ → ℝ) (hdens : HasTransitionDensities M dens)
(hreg : IsRegularDensity dens) (hvar : ActionVariability dens)
(g : (Fin d → ℝ) → X) (hg : ObsRegular g)
(lam : ℝ) (hlam : 1 < lam) (model : Θ → (Fin d → ℝ) × A → (Fin d → ℝ) → ℝ)
(hmodel : ∀ φ, IsRegularFactorizedModel (model φ))
(h : X → Fin d → ℝ) (hsmooth : ContDiff ℝ ∞ h) (φ : Θ)
(hmin : IsGlobalMin M g lam model h φ)
(hattain : ((objective M g lam h (model φ) : ℝ) : EReal) = -((latentInfo M : ℝ≥0∞) : EReal)) :
∀ s : Fin d → ℝ, Module.finrank ℝ (LinearMap.range
(fderiv ℝ (fun y => h (g y)) s : (Fin d → ℝ) →ₗ[ℝ] (Fin d → ℝ))) = d := by sorry
end IActThereforeIAmRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a natural number (possibly ), a type of actions , an observation space and a parameter set .
- carries a topology and its Borel -algebra.
- is a real normed vector space with its Borel -algebra.
- is an arbitrary set with no structure.
The latent causal model . It consists of:
- for each , a parent set ;
- for each , a mechanism ;
- for each , a noise law on ;
- a law on for the pair .
It is assumed valid:
- and every are probability measures;
- each is jointly measurable;
- whenever and agree on the coordinates in .
It is also assumed that gives strictly positive mass to every nonempty open subset of , in the product topology.
The joint law of is defined as follows. Draw and, independently, . Then set
Conditional densities. A function , for , , , , is given with the following properties.
- Exact densities. For every , every and every , the law of with equals Lebesgue measure with density . This holds for all inputs, not just almost all.
- Regularity.
- Every is strictly positive.
- For each fixed , is on .
- is jointly continuous.
- Action variability. Let . For and , define by
The assumption is: for every pair , chosen independently, there exist actions such that the vectors , , are linearly independent in . For this only requires to be nonempty.
Observation map. is (Fréchet) and injective.
Weight. is a real number with , strictly.
Model family. assigns to each a function , where and . For every there are factors with the following properties.
- Factorization: for all and .
- Positivity on the cube: whenever the -component of lies in and .
- Smoothness on the cube: for such , is on .
- Continuity on the cube: is jointly continuous on the set where the -component of lies in and .
- Outside the cube: the factors are unrestricted.
Encoder and parameter. is (Fréchet), and .
Write and .
Admissible pairs. A pair is admissible if all of the following hold:
- is measurable.
- for every , not only on the range of .
- is jointly measurable and nonnegative.
- for every .
- for -almost every outcome.
- is -integrable.
- The law of has finite differential entropy. This means is absolutely continuous with respect to Lebesgue measure, with density such that is integrable, and then .
Objective. For an admissible pair the objective is
Hypotheses on the specific pair.
- Global minimality: is admissible, and for every and such that is admissible.
- Attainment: the real number equals . Here is the mutual information under : the Kullback–Leibler divergence, in nats, of the joint law of from the product of its marginals. This hypothesis in particular forces that mutual information to be finite.
The statement itself does not guarantee that these hypotheses can be met simultaneously. The conclusion applies only to models, observation maps and minimizers for which they all hold.
Conclusion. For every , the Fréchet derivative at of the composite map from to is a linear map whose range has dimension exactly . Equivalently, the Jacobian matrix of at is invertible.
- This holds at all points, not almost everywhere.
- It is a genuine derivative, since is smooth.
- When the conclusion is trivially true.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.