grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 133

lemma exists_det_compress_eq_exp_logOneAdd

What it saysLet n be a finite index type, P , Q , X , Y complex n \times n matrices and \delta , c \in \mathbb{R}. Assume that P and Q are orthogonal projections ( P^{2} = P = P^{H} , Q^{2} = Q = Q^{H} ) (hP, hQ), \delta \le 1 / 2 (hδ), \lVert X \rVert \le \delta (hX), \operatorname{tr} ( [ P , Q ] \cdot Y ) = 0 (h0), \lVert [ P , X ] - Y \rVert \le \delta \cdot c (h1), \lVert Y \rVert \le c (hY) and \lVert Q - P \rVert \le c (hD), where \lVert \cdot \rVert is the Frobenius norm and [ A , B ] = AB - BA. Then there is r \in \mathbb{C} with \det ( 1 + PX ) = \exp ( \operatorname{tr} ( Q \cdot \operatorname{lg} ( X ) ) - \tfrac{1}{4} \cdot \operatorname{tr} ( Y^{2} ) + r ) and | r | \le 100 \cdot \delta \cdot c^{2}, where \operatorname{lg} = logOneAdd.
The argument in briefWrite \log \det ( 1 + PX ) = \int_{0}^{1} \operatorname{tr} ( ( 1 + sPX )^{- 1} PX ) \,\mathrm{d}s and \operatorname{tr} ( Q \operatorname{lg} X ) = \int_{0}^{1} \operatorname{tr} ( Q ( 1 + sX )^{- 1} X ) \,\mathrm{d}s; the difference plus \int_{0}^{1} s \cdot \tfrac{1}{2} \operatorname{tr} ( Y^{2} ) \,\mathrm{d}s = \tfrac{1}{4} \operatorname{tr} ( Y^{2} ) is r. Its integrand is rewritten, using h0 and the inverse identities, as a combination of four traces of products of small factors, each bounded by products of norms; the total is at most 100 \delta c^{2}.

11 steps, 10 of them leaves · New/DiscreteSeries/MinorExpansion.lean, lines 18–44 · in the notes: Proposition 4.1, p. 16 of Discrete series coefficients near the identity, Laplace's method for two coefficients, and Bessel functions with a peak

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1factline 22

    \lVert PX \rVert \le \delta (norm_proj_mul_le), and 0 \le \delta, 0 \le c (from \lVert X \rVert \le \delta and \lVert Y \rVert \le c).

    Usesnorm_proj_mul_le unit 112

  2. Collect: \lVert [ P , X ] \rVert \le \lVert Y \rVert + \lVert [ P , X ] - Y \rVert \le c + c / 2 (a; by hY, h1, h \delta); the function s \mapsto \operatorname{tr} ( ( 1 + sPX )^{- 1} PX ) is interval integrable on [0, 1] with integral \operatorname{tr} \operatorname{lg} ( PX ) ( i , d ); and s \mapsto \operatorname{tr} ( Q ( 1 + sX )^{- 1} X ) is interval integrable with integral \operatorname{tr} ( Q \cdot \operatorname{lg} ( X ) ) ( j , k ).

    Usesstep 1, trace_mul_logOneAdd unit 112

  3. Take r = \int_{0}^{1} [ \operatorname{tr} ( ( 1 + sPX )^{- 1} PX ) - \operatorname{tr} ( Q ( 1 + sX )^{- 1} X ) + s \cdot \tfrac{1}{2} \operatorname{tr} ( Y^{2} ) ] \,\mathrm{d}s. Two goals remain: the identity \det ( 1 + PX ) = \exp ( \operatorname{tr} ( Q \operatorname{lg} X ) - \tfrac{1}{4} \operatorname{tr} ( Y^{2} ) + r ) (step 4), and, since | r | is at most the supremum of the integrand's modulus over s \in ( 0 , 1 ] times 1, the pointwise bound: for each such s the integrand has modulus at most 100 \delta c^{2} (steps 5–10).

    Usesstep 2, intervalIntegral.integral_add, MeasureTheory.norm_integral_le_of_norm_le_const

  4. 4identityline 28

    The identity: \det ( 1 + PX ) = \exp ( \operatorname{tr} \operatorname{lg} ( PX ) ) (det_one_add_eq_exp_trace_logOneAdd, \lVert PX \rVert \le 1 / 2 ), and \operatorname{tr} \operatorname{lg} ( PX ) = r + \operatorname{tr} ( Q \operatorname{lg} X ) - \int_{0}^{1} s \,\mathrm{d}s \cdot \tfrac{1}{2} \operatorname{tr} ( Y^{2} ) = r + \operatorname{tr} ( Q \operatorname{lg} X ) - \tfrac{1}{4} \operatorname{tr} ( Y^{2} ) ( d , k ).

    Usesstep 2, det_one_add_eq_exp_trace_logOneAdd unit 112

  5. For the fixed s \in [ 0 , 1 ]: 1 + sX and 1 + sPX are invertible, with the two-sided inverse identities (f , F for 1 + sX; e , E for 1 + sPX) and \lVert ( 1 + sX )^{- 1} - 1 \rVert \le 2 \delta ( w ), \lVert ( 1 + sPX )^{- 1} - 1 \rVert \le 2 \delta ( v ).

    Usesstep 1, inv_one_add_bounds unit 112, norm_smul_le_of_le_one unit 112

  6. 6setupline 31

    Notation: W = ( 1 + sX )^{- 1}, V = ( 1 + sPX )^{- 1}, A = [ P , X ] , D = Q - P.

  7. 7setupline 32

    Notation: Z = W - 1 and N = Z ( AZ + A ) + AZ.

  8. 8identity1 step insidelines 33–40

    Rewrite the integrand as \operatorname{tr} ( ( PD + QD - D ) ( A - Y + ZA - s ( N + A ) X ) ) - \operatorname{tr} ( s \cdot PA \cdot ( ( N + A ) ( V - 1 ) + N ) ) - \operatorname{tr} ( ( D - 2 PD ) \cdot D \cdot ( X + ZX ) ) - \operatorname{tr} ( ( s / 2 ) ( A - Y ) ( A + Y ) ).

    1. 8.1identitylines 33–40

      The identity of step 8, proved by linear_combination from h0 ( \operatorname{tr} ( [ P , Q ] Y ) = 0 ) and the inverse identities f , F , e , E of step 5, with P^{2} = P, Q^{2} = Q, cyclicity of the trace and ring normalisation.

      Lean states_ + _ = trace ((P * D + Q * D - D) * (A - Y + Z * A - s • (N + A) * X)) - trace (s • (P * A) * ((N + A) * (V - 1) + N)) - trace ((D - P * D - P * D) * D * (X + Z * X)) - trace ((s / 2) • (A - Y) * (A + Y))

      Usesstep 5, step 6, step 7

  9. 9computationlines 41–43

    Bound each of the four traces by products of norms: | \operatorname{tr} ( AB ) | \le \lVert A \rVert \lVert B \rVert, \lVert PA \rVert \le \lVert A \rVert and \lVert QA \rVert \le \lVert A \rVert for the projections, \lVert sA \rVert \le \lVert A \rVert for s \in [ 0 , 1 ], triangle inequality and submultiplicativity; the factors are bounded by \lVert X \rVert \le \delta, \lVert Z \rVert \le 2 \delta, \lVert V - 1 \rVert \le 2 \delta, \lVert A - Y \rVert \le \delta c, \lVert Y \rVert \le c, \lVert A \rVert \le 3 c / 2, \lVert D \rVert \le c (grind closes the resulting comparisons).

    Usesstep 2, step 5, norm_smul_le_of_le_one unit 112, norm_proj_mul_le unit 112, norm_trace_mul_le unit 112

  10. 10computationline 44

    The resulting polynomial in \delta and c is at most 100 \delta c^{2} (using \delta \le 1 / 2, \delta c^{2} \ge 0 and ( \delta c )^{2} \ge 0).

    Usesstep 1