grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 135

lemma finrank_sub_le_re_inner_dyadSum

What it saysHilbert–Schmidt inequality. Let H be a finite-dimensional complex inner product space with an orthonormal basis b indexed by a finite type m, n a finite type, \mathbb{C}^{n} = EuclideanSpace \mathbb{C} n with standard basis (e_x), P : \mathbb{C}^{n} \to H and R : H \to H linear, U \subseteq \mathbb{C}^{n} and A \subseteq H subspaces, and \varepsilon a real number. If \sum_{x\in n} \lVert(P^{*}P - 1)e_x\rVert \le \varepsilon (k) and P v - R(P v) \in A for every v \in U (h), then \dim U - \varepsilon - \sum_{x\in n} \lVert R(P e_x)\rVert^{2} \le \operatorname{Re} \langledyadSum b (x \mapsto P e_x), dyadSum b (a_j)_{j}\rangle, where (a_j) is Mathlib's standard orthonormal basis of A (stdOrthonormalBasis \mathbb{C} A). By inner_dyadSum the right side is \sum_{x} \sum_{j} |\langle a_j, P e_x\rangle |^{2} = \sum_{x} \lVert p_A(P e_x)\rVert^{2}, the squared Hilbert–Schmidt norm of p_A\circ P, p_A the orthogonal projection onto A. (The text reading of the signature also lists G, [Group G], [Fintype G] and the section variable v : G \to H; the statement's v is bound by \forall v \in U, so Lean is expected not to take them.)
The argument in briefTake an orthonormal basis u of U. Computing the trace of p_U(1 - P^{*}P) in u and in the standard basis gives \dim U - \sum_{j} \lVert Pu_j\rVert^{2} \le \varepsilon. For u_j \in U, Pu_j - RPu_j \in A, so \lVert Pu_j\rVert^{2} = \lVert p_A Pu_j\rVert^{2} + \lVert p_{A^{\perp}}RPu_j\rVert^{2} \le \lVert p_A Pu_j\rVert^{2} + \lVert RPu_j\rVert^{2}; summing, and bounding sums over u by the Hilbert–Schmidt sums over the standard basis (Bessel), gives the inequality.

8 steps, 7 of them leaves · New/Heights/OneDeterminant.lean, lines 67–82 · in the notes: Proposition 6.5, p. 15 of Heights and the product formula; few translates nearly span; the height of one Gram determinant

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. Let u be the standard orthonormal basis of U; record that \operatorname{Re} \operatorname{tr}(\iota_{U}\circ p_U(1 - P^{*}P)) = \operatorname{Re} \operatorname{tr}(p_U(1 - P^{*}P)\circ \iota_{U}) (\iota_{U} the inclusion, p_U the orthogonal projection) and, for every z \in H, \sum_{j} |\langle a_j, p_A z\rangle |^{2} = \lVert p_A z\rVert^{2} (Parseval in the basis (a_j) of A).

    UsesLinearMap.trace_comp_comm', OrthonormalBasis.sum_sq_norm_inner_right

  2. 2fact2 steps insidelines 74–76

    Claim B: for every linear T : H \to H, \sum_{i\in n} \lVert T P e_i\rVert^{2} \ge \sum_{j} \lVert T P u_j\rVert^{2}.

    Lean states∑ i, ‖T (P (basisFun n ℂ i))‖ ^ 2 ≥ ∑ j, ‖T (P (u j))‖ ^ 2

    1. 2.1deductionline 75

      Expand both sides in the orthonormal basis b of H and move T P to the other side of the inner product: each side becomes \sum_{j'} of \sum_{i} |\langle(TP)\ast b_{j'}, e_i\rangle |^{2} resp. \sum_{j} |\langle(TP)\ast b_{j'}, u_j\rangle |^{2}, and the left one is \sum_{j'} \lVert(TP)\ast b_{j'}\rVert^{2} (Parseval in the standard basis).

      UsesOrthonormalBasis.sum_sq_norm_inner_left, LinearMap.adjoint_inner_right, Finset.sum_comm

    2. 2.2deductionline 76

      Bessel's inequality for the orthonormal family u: \sum_{j} |\langle w, u_j\rangle |^{2} \le \lVert w\rVert^{2} for each w = (TP)\ast b_{j'}.

      Usesstep 1, Orthonormal.sum_inner_products_le

  3. 3computationlines 77–78

    Evaluate the two traces of step 1: in the basis u, \operatorname{tr} = \sum_{j} \langle u_j, (1 - P^{*}P)u_j\rangle = \dim U - \sum_{j} \lVert Pu_j\rVert^{2}; in the standard basis, its real part is \sum_{x} \operatorname{Re}\langle p_U e_x, (1 - P^{*}P)e_x\rangle, which is at most \sum_{x} \lVert(1 - P^{*}P)e_x\rVert \le \varepsilon (k). Hence \dim U - \varepsilon \le \sum_{j} \lVert P u_j\rVert^{2}, and the goal becomes a comparison of sums of squared norms.

    Usesstep 1, LinearMap.trace_eq_sum_inner, inner_single_left

  4. 4reductionlines 79–80

    Bound the sums: \operatorname{Re} of the inner product of the dyad sums is \sum_{x} \lVert p_A P e_x\rVert^{2} \ge \sum_{j} \lVert p_A P u_j\rVert^{2} (B with T = p_A), and \sum_{x} \lVert RPe_x\rVert^{2} \ge \sum_{j} \lVert RPu_j\rVert^{2} \ge \sum_{j} \lVert p_{A^{\perp}}RPu_j\rVert^{2} (B with T = R; projections do not increase norms). It remains to show \sum_{j} \lVert Pu_j\rVert^{2} \le \sum_{j}(\lVert p_A Pu_j\rVert^{2} + \lVert p_{A^{\perp}}RPu_j\rVert^{2}).

    Usesstep 2, step 3, re_le_norm, PiLp.norm_apply_le, Submodule.norm_starProjection_apply_le, Finset.sum_add_distrib

  5. 5reductionline 81

    Compare the sums termwise: for each j, \lVert Pu_j\rVert^{2} \le \lVert p_A Pu_j\rVert^{2} + \lVert p_{A^{\perp}}RPu_j\rVert^{2}.

  6. 6deductionline 82

    As u_j \in U, Pu_j - R(Pu_j) \in A (h) lies in the kernel of p_{A^{\perp}}, so p_{A^{\perp}}(RPu_j) = p_{A^{\perp}}(Pu_j); and \lVert Pu_j\rVert^{2} = \lVert p_A Pu_j\rVert^{2} + \lVert p_{A^{\perp}}Pu_j\rVert^{2} (Pythagoras).

    UsesSubmodule.norm_sq_eq_add_norm_sq_projection, LinearMap.sub_mem_ker_iff