RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Matrices near the identity: Jacobi's formula and norm estimates

Lib.General.LinearAlgebra.MatricesNearIdentity.lean

Open interactive viewer Raw Lean source · Pinned source

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 of 1 + X and the exponential of X.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

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.logOneAdd and exp_logOneAdd: the logarithm of 1 + X for ‖X‖ ≤ 1 / 2.

Notions from other files:

  • signMatrix ε is the diagonal matrix with entries ε i = ±1, and USign ε is its unitary group.
  • unitaryLie J is the space of matrices X with Xᴴ * J + J * X = 0.
  • entryMask r X keeps the entries (i, j) of X with r i j and replaces the others by 0.
  • A matrix A is accretive (A.IsAccretive) if A + Aᴴ is positive definite.

Pinned source lines

Declarations

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)

X Reddit Email LinkedIn