Lemma 3 — leverage bounds and the full trace identity
ProvedQiFixedDesign.Concentration.lemma_3optimal-transportp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1probabilitystatistics
For a real design matrix with nonsingular , set . Then both assertions hold:
Full rank is the standing Assumption 1. The trace and each individual leverage bound are retained. Empty-dimensional matrices are included under the same nonsingularity guard; the trace identity still applies.
Differences from the source:
- encoding: coordinates and samples numbered from one → Fin p and Fin N numbered from zero, with natural-number dimension p; reason: the coordinate bijections preserve all sums and matrices; zero dimensions are not silently excluded
- encoding: Assumption 1 gives full column rank → the Gram determinant is nonzero; reason: over real finite matrices this is equivalent to full column rank
- generalization: the Section 3 model has no intercept term → the deterministic design may include constant feature columns; reason: the OLS and concentration statements use full column rank and the Gram limit, not exclusion of constant columns; every source design is included with the same conclusions
Preamble
import Mathlib import Definitions.Def_QiFixedDesign_Concentration_Hat open MeasureTheory Matrix Filter Topology open scoped ENNReal
Formal statement
namespace QiFixedDesign.Concentration
theorem lemma_3 {N p : ℕ} (X : Matrix (Fin N) (Fin p) ℝ)
(hX : (X.transpose * X).det ≠ 0) :
(∀ i : Fin N, 0 ≤ hat X i i ∧ hat X i i ≤ 1) ∧
Matrix.trace (hat X) = ∑ i : Fin N, hat X i i ∧
(∑ i : Fin N, hat X i i) = (p : ℝ) := by sorry
end QiFixedDesign.Concentration
Source
Qi, Cao and Shen (2021), Distributionally Robust Conditional Quantile Prediction with Fixed Design, DOI 10.1287/mnsc.2020.3903, supplied source.pdf, Lemma 3, (19), PDF/printed p. 13
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.