Lemma 5: quantitative activity
ProvedDSReg.quantitative_activityLet , with differentiable -a.e. and measurable Jacobian . Assume Functional no-cancellation and the bounded-rows condition for all rows and -a.e. . Let be a row with , let with , and set . Then for every ,
Formalization Note is a vector on that vanishes off . The bounded-rows condition is written as an almost-everywhere bound.
import Mathlib import Definitions.Def_DSReg_Basic open MeasureTheory
namespace DSReg
theorem quantitative_activity {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)
(hfnc : FunctionalNoCancellation μ (depJac g))
(M : ℝ) (hM : ∀ᵐ z ∂μ, ∀ r, vecNorm (fun i => depJac g z r i) ≤ M)
(r : Fin p) (hr : (activeRow μ (depJac g) r).Nonempty)
(c : Fin d → ℝ) (hc : ∀ i, i ∉ activeRow μ (depJac g) r → c i = 0) (hc1 : vecNorm c ≤ 1)
(t : ℝ) (ht0 : 0 ≤ t) (ht : t < sigmaRow μ (depJac g) r * vecNorm c) :
(sigmaRow μ (depJac g) r ^ 2 * vecNorm c ^ 2 - t ^ 2) / M ^ 2 ≤
(μ {z | t < |∑ i, c i * depJac g z r i|}).toReal ∧
0 < (sigmaRow μ (depJac g) r ^ 2 * vecNorm c ^ 2 - t ^ 2) / M ^ 2 := by sorry
end DSRegRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be natural numbers and let be a probability measure on . Let be any function. Its dependency Jacobian is the matrix
the -th component of the Fréchet derivative of at applied to the -th standard basis vector. At any point where is not differentiable, this derivative is by convention the zero map, so there.
For a row , the active set is
All norms below are Euclidean, .
Hypotheses. The theorem assumes:
- is differentiable at -almost every .
- Every entry is a measurable function.
- Functional no-cancellation holds for under . For every row and every with for all : if for -a.e. , then .
- A real number is given such that, for -a.e. , every row of satisfies .
- No sign condition is imposed on .
- If , this hypothesis cannot hold, since is a probability measure.
- A fixed row is given with .
- A vector is given with for all and .
- A real number is given with .
- This forces and .
The constant . It is defined in three steps:
- The Gram matrix has entries
where a non-integrable integrand would by convention give the value .
- Take the infimum
taken in the reals. By convention, an empty or unbounded-below set would give infimum .
- Set , where the square root of a negative number is taken to be .
Conclusion. Write
where division by yields by convention. The theorem asserts both of the following:
The measure on the left is a finite number, because is a probability measure. The inequality inside the set is strict. Only enters the formula, so the sign of plays no role there. The positivity claim in particular requires under the division convention.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.