Structured proof · Unit 133
lemma exists_principalMinor_eq_exp
hg), and g \in U ( \varepsilon ); put X = g - 1 and assume \lVert X \rVert < 1 / 1000 (Frobenius norm). Then there is a complex n \times n matrix y with \psi_{l} ( g ) = FJ_{l} ( 1 , y ) ( FJ = flenstedJensen) such that for every decidable predicate p on n with l_{i} < l_{j} whenever p ( i ) and \neg p ( j ) (p picks a set of lowest entries of l), and every k \in K_{\varepsilon} = maxCompactU( \varepsilon ) (read as a matrix), there is r \in \mathbb{C} with \Delta_{p} ( k^{H} yk ) = \exp ( \operatorname{tr} ( P_{p} \cdot \operatorname{lg} ( X ) ) + \lVert [ P_{p} , X ] \rVert^{2} / 4 + r ) and | r | \le 2 \cdot 10^{5} \cdot \lVert X \rVert \cdot ( \lVert [ P_{p} , X ] \rVert^{2} + \lVert [ P_{p} , k ] \rVert^{2} ), where \Delta_{p} = principalMinor( \cdot , p ) , P_{p} = coordProj( p ) and \operatorname{lg} = logOneAdd.intro_lines 49–53 are not proof: they are the statement, lines 49–53 by the statement-boundary overlay of a second-reader message; the line census takes the := of let X := for the start of the value.)Introduce X = g - 1 and the hypothesis \lVert X \rVert < 1 / 1000.
\lVert X \rVert \le 1 / 2 ( i ), 4 \lVert X \rVert \le 1 / 2 ( j ), 0 \le \lVert X \rVert ( \delta 0 ) and \lVert X \rVert \le \lVert X \rVert (
hX).Let y ( c ) = ( 1 - u ) \cdot g \cdot ( 1 - r ( c ) ) and m = X - u - uX.
Claim T: for every c , \lVert y ( c ) - 1 \rVert \le 4 \lVert X \rVert. Its goal is rewritten with y ( c ) - 1 = m - r ( c ) - m \cdot r ( c ) (since ( 1 - u ) ( 1 + X ) = 1 + m) and postponed behind the main goal; it is closed with the norm goals in step 24.
Lean states
‖y c - 1‖ ≤ 4 * ‖X‖Usesstep 4
Take y = y ( l ) = ( 1 - u ) g ( 1 - r ( l ) ). Two goals: \psi_{l} ( g ) = FJ_{l} ( 1 , y ( l ) ) (step 7) and the principal-minor expansion (steps 8–25).
\psi_{l} ( g ) = FJ_{l} ( 1 , y ( l ) ). First, A: every y ( c ) is accretive, since \lVert y ( c ) - 1 \rVert \le 4 \lVert X \rVert < 1 ( T ).
g is accretive ( a ), and ( 1 - u ) g = y ( 0 ) is accretive ( b ): r ( 0 ) = 0 because no entry satisfies 0 < 0.
FJ_{l} ( 1 , y ( l ) ) = FJ_{l} ( 1 , g ):
flenstedJensen_shift_eq_conjwith u := r ( l )^{H} (entries with l_{i} < l_{j}, same sign) applied to ( ( 1 - u ) g )^{H} gives FJ_{l} ( 1 , y ( l ) ) = conj FJ_{l} ( 1 , ( ( 1 - u ) g )^{H} ) (accretivity from b and from A at l); the same lemma with u applied to g ( a , b ) gives FJ_{l} ( 1 , ( ( 1 - u ) g )^{H} ) = conj FJ_{l} ( 1 , g ); conjugating twice returns FJ_{l} ( 1 , g ).\psi_{l} ( g ) = FJ_{l} ( 1 , 1^{- 1} g ) = FJ_{l} ( 1 , g ) (
dsCoeff_eq_flenstedJensenwith a = 1, g accretive), which equals FJ_{l} ( 1 , y ( l ) ) by 7.2.
I: for every decidable predicate p with l_{j} < l_{i} whenever p ( i ) and \neg p ( j ) (an upper set for l), \Delta_{p} ( y ( l ) ) = \Delta_{p} ( g ): the principal minor on p is multiplicative on ( 1 - u ) \cdot g \cdot ( 1 - r ( l ) ) (
principalMinor_mul; the zero patterns of u and r ( l ) fit p), and \Delta_{p} ( 1 - u ) = \Delta_{p} ( 1 - r ( l ) ) = 1 since these matrices are block triangular for the order of l with unit diagonal (\det = product of the diagonal; l is injective by the gap).Lean states
principalMinor (y l) p = principalMinor g pUses
principalMinor_mulunit 112,principalMinor_eq_detunit 112,det_eq_prod_diag_of_blockTriangularunit 112,HCParam.unit 116HasGap Fix p (with l_{i} < l_{j} whenever p ( i ) , \neg p ( j )), \kappa \in K_{\varepsilon} and k = \kappa as a matrix; let s = \operatorname{diag} ( \varepsilon ).
Uses
signMatrixunit 29k^{H} k = 1 ( w ), k is block diagonal (o: k \in
blockDiagAlg( \varepsilon )), P_{p} is an orthogonal projection (hP), and \operatorname{diag} ( \varepsilon ) commutes with P_{p} ( d ).Uses
U_one_mem_unitaryGroupunit 29,mem_maxCompactUunit 112,isStarProjection_coordProjunit 112Notation: Q = kPk^{H}, V = ( 1 + X )^{- 1} - 1, H = G + mC - ( G + B - A ) \cdot r ( l ).
( N ) for every c , [ P , r ( c ) ] =
lowerMask( \varepsilon , c ) ( A ) (masking entries commutes with the commutator with a diagonal projection), and ( E ) B = a_{\varepsilon} ( A ) - C, since [ P , \cdot ] kills the entries with p ( i ) = p ( j ), in particular the diagonal.Lean states
(∀ c, ⁅P, r c⁆ = lowerMask ε c A) ∧ B = blockDiagPart ε A - CM: for every matrix x , \det ( 1 + ( 1 - P ) ( x - 1 ) ) = \Delta_{\neg p} ( x ).
Lean states
(1 + (1 - P) * (x - 1)).det = principalMinor x (¬p ·)Collect: 1 - P is an orthogonal projection ( R ); \lVert A \rVert \ge 0 ( a ), \lVert [ P , k ] \rVert \ge 0 ( b ); kk^{H} = 1 ( W ); P^{H} = P; \lVert V \rVert = \lVert ( 1 + X )^{- 1} - 1 \rVert \le 2 \lVert X \rVert; \lVert [ P , r ( c ) ] \rVert \le \lVert A \rVert for every c (by N and
norm_entryMask_le); and g^{H} = s \cdot g^{- 1} \cdot s.Usesstep 13,
inv_one_add_boundsunit 112,norm_entryMask_leunit 112,U.unit 112,inv_mat signMatrix_mul_selfunit 29\lVert P - Q \rVert \le \lVert [ P , k ] \rVert: k [ P , k ]^{H} = P - Q , k is unitary, and \lVert Z^{H} \rVert = \lVert Z \rVert.
Usesstep 10, step 15,
frobenius_norm_mul_of_unitaryunit 112Compression lemma with P := Q := 1 - P , X , \delta := \lVert X \rVert, Y := - A, c := \lVert A \rVert (its hypotheses: [ 1 - P , X ] = - A , \lVert - A \rVert \le \lVert A \rVert; the trace condition is left as a goal): there is x with \det ( 1 + ( 1 - P ) X ) = \exp ( \operatorname{tr} ( ( 1 - P ) \operatorname{lg} X ) - \tfrac{1}{4} \operatorname{tr} ( A^{2} ) + x ) ( e ) and | x | \le 100 \lVert X \rVert \lVert A \rVert^{2}.
Compression lemma with P := Q := 1 - P, X := y ( l ) - 1, \delta := 4 \lVert X \rVert ( j , T ) , Y := B + C - A, c := 4 \lVert A \rVert (three hypotheses left as goals): there is z with \det ( 1 + ( 1 - P ) ( y ( l ) - 1 ) ) = \exp ( \operatorname{tr} ( ( 1 - P ) \operatorname{lg} ( y ( l ) - 1 ) ) - \tfrac{1}{4} \operatorname{tr} ( ( B + C - A )^{2} ) + z ) ( f ) and | z | \le 100 \cdot 4 \lVert X \rVert \cdot ( 4 \lVert A \rVert )^{2}.
Usesstep 3, step 5, step 15,
exists_det_compress_eq_exp_logOneAddunit 133Compression lemma with P := Q = kPk^{H} (an orthogonal projection, the image of P under conjugation by the unitary k), Q := P, X := y ( l ) - 1, \delta := 4 \lVert X \rVert, Y := A - B - C, c := 4 ( \lVert A \rVert + \lVert [ P , k ] \rVert ) (\lVert P - Q \rVert \le c by step 16; three hypotheses left as goals): there is t with \det ( 1 + Q ( y ( l ) - 1 ) ) = \exp ( \operatorname{tr} ( P \cdot \operatorname{lg} ( y ( l ) - 1 ) ) - \tfrac{1}{4} \operatorname{tr} ( ( A - B - C )^{2} ) + t ) ( q ) and | t | \le 100 \cdot 4 \lVert X \rVert \cdot ( 4 ( \lVert A \rVert + \lVert [ P , k ] \rVert ) )^{2}.
Usesstep 3, step 5, step 10, step 16,
exists_det_compress_eq_exp_logOneAddunit 133,isStarProjection_coordProjunit 112Rewrite f: \det ( 1 + ( 1 - P ) ( y ( l ) - 1 ) ) = \Delta_{\neg p} ( y ( l ) ) ( M ) = \Delta_{\neg p} ( g ) (I , \neg p being an upper set for l) = \det ( 1 + ( 1 - P ) X ) ( M ) = \exp ( \operatorname{tr} ( ( 1 - P ) \operatorname{lg} X ) - \tfrac{1}{4} \operatorname{tr} ( A^{2} ) + x ) ( e ).
Take r = t + z - x + \tfrac{1}{4} \cdot \operatorname{tr} ( ( V ( AV + A ) + AV ) ( A - 2 B - 2 C ) ). The equation \Delta_{p} ( k^{H} y ( l ) k ) = \exp ( \operatorname{tr} ( P \operatorname{lg} X ) + \lVert A \rVert^{2} / 4 + r ) is obtained by a chain: \Delta_{p} ( k^{H} y ( l ) k ) = \det ( 1 + Q ( y ( l ) - 1 ) ) (moving k across the determinant, k^{H} k = 1) = \exp ( \operatorname{tr} ( P \operatorname{lg} ( y ( l ) - 1 ) ) - \tfrac{1}{4} \operatorname{tr} ( ( A - B - C )^{2} ) + t ) ( q ); multiply by f (step 20) and by \exp ( \operatorname{tr} \operatorname{lg} ( y ( l ) - 1 ) ) = \det y ( l ) = \det g = \exp ( \operatorname{tr} \operatorname{lg} X ) (Jacobi's formula, \lVert y ( l ) - 1 \rVert \le 1 / 2, \lVert X \rVert \le 1 / 2, and I for the predicate true everywhere), and cancel the nonzero common factor. An identity of exponents remains as a goal, and the bound on | r | as the last goal.
Usesstep 8, step 10, step 19, step 20,
det_one_add_eq_exp_trace_logOneAddunit 112,principalMinor_of_forallunit 112,Matrix.,det_one_add_mul_comm mul_right_cancel₀In the postponed hypothesis of step 19 on \lVert [ Q , y ( l ) - 1 ] - ( A - B - C ) \rVert, rewrite the matrix inside the norm as ( y ( l ) - 1 ) ( P - Q ) - ( P - Q ) ( y ( l ) - 1 ) - H.
Usesstep 12
Every remaining norm inequality (the bound on | r |, claim T, and the postponed norm hypotheses of steps 18 and 19) is reduced by the triangle inequality, submultiplicativity, | \operatorname{tr} ( AB ) | \le \lVert A \rVert \lVert B \rVert, \lVert \rho A \rVert \le \lVert A \rVert for a real scalar \rho with 0 \le \rho \le 1 (
norm_smul_le_of_le_one, whose side condition 0 \le \rho \wedge \rho \le 1 is discharged by grind; here \rho = 1 / 4, the factor of the trace term in r; \rho \le 1 alone would allow large negative scalars) and the mask bounds to a polynomial inequality in \lVert X \rVert , \lVert A \rVert and \lVert [ P , k ] \rVert, which nlinarith proves with 0 \le \lVert X \rVert, 4 \lVert X \rVert \le 1 / 2 and the hints given; in particular | r | \le 2 \cdot 10^{5} \lVert X \rVert ( \lVert A \rVert^{2} + \lVert [ P , k ] \rVert^{2} ).Usesstep 3, step 15,
norm_entryMask_leunit 112,norm_smul_le_of_le_oneunit 112,norm_trace_mul_leunit 112The remaining goals (the trace conditions \operatorname{tr} ( [ \cdot , \cdot ] Y ) = 0 of the three applications, the identity of exponents of step 21 and the identifications of norms) are closed by simp with the definitions of Q , V , s , a_{\varepsilon} = \tfrac{1}{2}(x + sxs), the commutation of s with P and with k , k^{- 1} = k^{H}, cyclicity of the trace and s^{2} = 1, followed by ring normalisation.
Usesstep 10,
blockDiagPart_equnit 112,mem_blockDiagAlg_iff_commuteunit 112,blockDiagAlg.unit 112,inv_mem signMatrix_mul_selfunit 29,trace_star_mul_self_eq_norm_squnit 112