Matrices near the identity: Jacobi's formula and norm estimates
Lib.General.LinearAlgebra.MatricesNearIdentity.lean
Reading
Upstream documentation written by Claude
This file collects known facts on complex matrices near the identity. It proves Jacobi's formula for the derivative of the determinant at the identity and
det (exp M) = exp (tr M). Estimates in the Hilbert–Schmidt norm, which is the norm of all matrices in this file, control the inverse and the logarithm of1 + Xand the exponential ofX.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
The logarithm of an element of USign ε near 1 lies in the Lie algebra.
A matrix at distance less than 1 from the identity is accretive.
Main definitions and results
New.hasDerivAt_det_of_eq_one: along a differentiable curve of complex matrices through the identity, the derivative of the determinant there is the trace of the velocity.New.DiscreteSeries.logOneAddandexp_logOneAdd: the logarithm of1 + Xfor‖X‖ ≤ 1 / 2.
Notions from other files:
signMatrix εis the diagonal matrix with entriesε i = ±1, andUSign εis its unitary group.unitaryLie Jis the space of matricesXwithXᴴ * J + J * X = 0.entryMask r Xkeeps the entries(i, j)ofXwithr i jand replaces the others by0.- A matrix
Ais accretive (A.IsAccretive) ifA + Aᴴis positive definite.
Declarations
lemma exp_logOneAdd (hX : ‖X‖ ≤ 2⁻¹) : NormedSpace.exp (logOneAdd X) = 1 + X
Import route to Main
Lib.General.LinearAlgebra.MatricesNearIdentity → New.Appendix.DiscreteSeries.SteepParameters (pinned import) → New.Determinant.AuxiliaryForms.DeepLevelPoincarePeriod (pinned import) → New.Determinant.AuxiliaryForms.DeepLevelVanishing (pinned import) → New.Determinant.AuxiliaryForms.FirstPath (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)