Structured proof · Unit 133
lemma exists_det_compress_eq_exp_logOneAdd
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.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}.\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).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 ).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 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 ).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_boundsunit 112,norm_smul_le_of_le_oneunit 112Notation: W = ( 1 + sX )^{- 1}, V = ( 1 + sPX )^{- 1}, A = [ P , X ] , D = Q - P.
Notation: Z = W - 1 and N = Z ( AZ + A ) + AZ.
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 ) ).
The identity of step 8, proved by
linear_combinationfromh0( \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))
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_oneunit 112,norm_proj_mul_leunit 112,norm_trace_mul_leunit 112