Davis--Kahan 1970: the four Section 2 theorems #
The namespace is RotationOfEigenvectors, after the paper's title. Everything
below is ordinary Mathlib vocabulary; the only non-Mathlib names are the source
objects defined here.
Two conventions, stated once. There is no functional calculus anywhere: a
unitarily invariant norm sees only the singular-value sequence, so every angle
quantity is either an explicit block of orthogonal projections or a sequence of
trigonometric functions of singular values. And โtan ฮโ is evaluated on the
tangent sequence, with each tangent theorem concluding that the tangent has
no pole rather than assuming it away.
1. Singular values #
The n-th singular value of a bounded operator, zero-based: the
operator-norm distance from T to the operators of rank at most n. aโ T = โTโ, and for a compact operator this is the usual decreasing sequence.
Equations
Instances For
2. The symmetric-norming presentation of the source norm quantifier #
The paper quantifies over arbitrary normalized unitarily invariant norms. This
Challenge uses the canonical dimension-coherent symmetric-norming presentation:
a two-sided unitarily invariant seminorm on n ร n complex matrices in every
dimension, normalized on rank one and unchanged by appending a zero singular
value, extended to operators through approximation singular values.
This Lean type is not literally the entire source norm class in infinite
dimension. The included formalization proves, via the strong Fan-dominance
criterion used by Davis and Kahan, that the inequalities quantified over all
such symmetric norming functions are equivalent to the corresponding universal
unitarily invariant norm estimates. In particular the formal development also
covers Fan-dominant norms not generated by a symmetric gauge. The distinction is
recorded explicitly in formalization.yaml; it is a presentation choice, not a
claim that the two norm types are definitionally identical.
The operator with real diagonal x in an orthonormal basis.
Equations
- RotationOfEigenvectors.diagOp b x = โ i : Fin n, โ(x i) โข โ(((InnerProductSpace.rankOne โ) (b i)) (b i))
Instances For
A two-sided unitarily invariant seminorm on the operators of a finite-dimensional complex inner product space.
The underlying function on operators.
Subadditivity.
Absolute homogeneity.
- invariant (U V : E โโแตข[โ] E) (A : E โโ[โ] E) : self.toFun (โU.toLinearEquiv โโ A โโ โV.toLinearEquiv) = self.toFun A
Two-sided unitary invariance -- the defining property.
Instances For
The symmetric gauge: the seminorm's value on the diagonal operator.
Equations
- N.gauge b x = N.toFun (RotationOfEigenvectors.diagOp b x)
Instances For
Append one trailing zero to a finite vector of singular values.
Equations
- RotationOfEigenvectors.zeroPad x i = Fin.lastCases 0 x i
Instances For
A dimension-coherent normalized symmetric norming function.
This is the Challenge's canonical presentation of the source norm quantifier. The source's broader unitary-invariant-norm class is related to it by the formalized Fan-dominance equivalence described above.
- finiteNorm (n : โ) : UISeminorm (EuclideanSpace โ (Fin n))
A unitarily invariant seminorm in each finite dimension.
- normalized : ((self.finiteNorm 1).gauge (EuclideanSpace.basisFun (Fin 1) โ) fun (x : Fin 1) => 1) = 1
Normalisation on a single unit singular value.
- zero_pad {n : โ} (x : Fin n โ โ) : (self.finiteNorm (n + 1)).gauge (EuclideanSpace.basisFun (Fin (n + 1)) โ) (zeroPad x) = (self.finiteNorm n).gauge (EuclideanSpace.basisFun (Fin n) โ) x
Appending a zero singular value does not change the value.
Instances For
The extended symmetric-norming value of a scalar sequence: the supremum
over its finite prefixes. A norm of tan ฮ is evaluated on the sequence
tan ฮธโ, tan ฮธโ, โฆ.
Equations
- N.evalSeq s = โจ (n : โ), ENNReal.ofReal ((N.finiteNorm n).gauge (EuclideanSpace.basisFun (Fin n) โ) fun (i : Fin n) => s โi)
Instances For
The real-valued norm of a sequence, meaningful on the ideal.
Instances For
The symmetric-norming extended value on an operator: its value on the
singular-value sequence, and โค exactly off the associated ideal.
Equations
- N.eval T = N.evalSeq fun (n : โ) => RotationOfEigenvectors.singularValue T n
Instances For
The operator lies in the norm's ideal.
Instances For
The real-valued norm, meaningful on the ideal.
Instances For
A subspace with an orthogonal projection is closed, hence complete.
3. The paper's block data #
Section 1 fixes a self-adjoint A, a bounded self-adjoint perturbation H, and
two reducing decompositions: Eโ spans the trial subspace with block Aโ, and
Fโ, Fโ span the exact subspaces of A + H with complementary block ฮโ. The
residual is R = (A + H) Eโ โ Eโ Aโ. Neither decomposition is assumed
spectral.
A coordinate map is an isometry onto its range.
Instances For
The trial-coordinate half of the setup: Eโ is an isometric coordinate map
for the trial subspace and R the residual A Eโ โ Eโ Aโ; Aโ is a partial
map, so it may be unbounded.
- isometry : IsIsometric Eโ
The trial coordinate map is isometric.
It carries the trial domain into the ambient domain.
Ris the residual there.
Instances For
The exact-coordinate half: Fโ and Fโ are complementary exhaustive
isometries and Fโ intertwines A with the complementary block ฮโ.
- desiredIsometry : IsIsometric Fโ
The desired coordinate map is isometric.
- complementIsometry : IsIsometric Fโ
The complementary coordinate map is isometric.
The two ranges are orthogonal.
- complete : Fโ โSL ContinuousLinearMap.adjoint Fโ + Fโ โSL ContinuousLinearMap.adjoint Fโ = ContinuousLinearMap.id ๐ E
Together they exhaust the space.
Fโcarries the block domain into the ambient domain.and intertwines the two operators there.
Instances For
The trial data of a subspace, in the source's own shape (1.8):
a trial operator Aโ on the subspace, possibly unbounded, and a bounded
residual R with A z = Aโ z + R z on the trial domain. The compression is a
partial map because the Appendix to Section 6 allows the tangent theorem's Aโ
to be unbounded.
The trial block
Aโ, a partial map on the trial subspace.- compression_selfAdjoint : IsSelfAdjoint self.compression
Aโis self-adjoint. The bounded residual
R.Trial vectors in the compression's domain lie in the ambient domain.
- action_eq (z : โฅself.compression.domain) : โA โจโโz, โฏโฉ = โ(โself.compression z) + self.residual โz
Instances For
The trial data of a subspace with a bounded compression, in the source's
shape (1.8): a bounded self-adjoint Aโ on a trial subspace inside dom A,
and a bounded residual R with A z = Aโ z + R z there.
The Appendix to Section 6 relaxes the sine family -- the sin ฮ theorem,
Proposition 6.1 and Theorem 6.1 -- to allow one of Aโ, ฮโ to be
unbounded, and reserves "both may be unbounded" for the tangent theorem. Here
the unwanted exact block is the unbounded one.
The trial block
Aโ, bounded on the trial subspace.- compression_selfAdjoint : IsSelfAdjoint self.compression
Aโis self-adjoint. The bounded residual
R.The trial subspace lies inside the ambient domain.
Instances For
Rayleigh--Ritz trial data: trial data whose residual is orthogonal to the
trial subspace. This is the source's Hโ = 0 in the form (1.8) takes when
Aโ = Eโ^*(A+H)Eโ, the extra hypothesis the tan ฮ theorem imposes and the
sin ฮ and sin 2ฮ theorems do not.
- action_eq (z : โฅself.compression.domain) : โA โจโโz, โฏโฉ = โ(โself.compression z) + self.residual โz
The residual is orthogonal to the trial subspace.
Instances For
4. The source separation #
The real resolvent set: the shifted operator has a bounded two-sided inverse.
Equations
Instances For
The real spectrum.
Instances For
The quadratic form of A is at least c on its domain.
Equations
Instances For
The quadratic form of A is at most c on its domain.
Equations
Instances For
The source separation of two blocks by a gap of width ฮด.
intervalExterior is the printed interval/exterior condition, symmetric in the
two blocks; the two ordered constructors are the half-infinite configurations the
source explicitly permits, in which both blocks may have unbounded spectrum.
- intervalExterior {๐ : Type u} [RCLike ๐] {E : Type v} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {F : Type v} [NormedAddCommGroup F] [InnerProductSpace ๐ F] {A : E โโ.[๐] E} {B : F โโ.[๐] F} {ฮด ฮฒ ฮฑ : โ} (hฮฒฮฑ : ฮฒ โค ฮฑ) (hgap : realSpectrum A โ Set.Icc ฮฒ ฮฑ โง realSpectrum B โ {x : โ | x โค ฮฒ - ฮด โจ ฮฑ + ฮด โค x} โจ realSpectrum B โ Set.Icc ฮฒ ฮฑ โง realSpectrum A โ {x : โ | x โค ฮฒ - ฮด โจ ฮฑ + ฮด โค x}) : SylvesterGap A B ฮด
- leftAboveRightBelow {๐ : Type u} [RCLike ๐] {E : Type v} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {F : Type v} [NormedAddCommGroup F] [InnerProductSpace ๐ F] {A : E โโ.[๐] E} {B : F โโ.[๐] F} {ฮด : โ} (c : โ) (hA : SemiboundedBelow A (c + ฮด)) (hB : SemiboundedAbove B c) : SylvesterGap A B ฮด
- leftBelowRightAbove {๐ : Type u} [RCLike ๐] {E : Type v} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {F : Type v} [NormedAddCommGroup F] [InnerProductSpace ๐ F] {A : E โโ.[๐] E} {B : F โโ.[๐] F} {ฮด : โ} (c : โ) (hA : SemiboundedAbove A c) (hB : SemiboundedBelow B (c + ฮด)) : SylvesterGap A B ฮด
Instances For
The oriented separation printed in the sin 2ฮ theorem.
The first block is the source's ฮโ and the second is ฮโ: for a finite
interval, ฮโ lies inside [ฮฒ, ฮฑ] while ฮโ lies outside the enlarged open
interval (ฮฒ - ฮด, ฮฑ + ฮด). The second constructor is exactly the lower
half-line extension stated immediately after the four Section 2 theorems. This
is intentionally narrower than SylvesterGap, whose interval constructor is
symmetric and is appropriate for the printed sin ฮ theorem.
- intervalExterior {๐ : Type u} [RCLike ๐] {E : Type v} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {F : Type v} [NormedAddCommGroup F] [InnerProductSpace ๐ F] {A : E โโ.[๐] E} {B : F โโ.[๐] F} {ฮด ฮฒ ฮฑ : โ} (hฮฒฮฑ : ฮฒ โค ฮฑ) (hA : realSpectrum A โ Set.Icc ฮฒ ฮฑ) (hB : realSpectrum B โ {x : โ | x โค ฮฒ - ฮด โจ ฮฑ + ฮด โค x}) : SinTwoThetaGap A B ฮด
- leftBelowRightAbove {๐ : Type u} [RCLike ๐] {E : Type v} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {F : Type v} [NormedAddCommGroup F] [InnerProductSpace ๐ F] {A : E โโ.[๐] E} {B : F โโ.[๐] F} {ฮด : โ} (c : โ) (hA : SemiboundedAbove A c) (hB : SemiboundedBelow B (c + ฮด)) : SinTwoThetaGap A B ฮด
Instances For
5. Reducing subspaces and their blocks #
Section 1 says in as many words that neither P nor Q is assumed to be a
spectral projector: what the theorems assume is that the decomposition reduces
the operator and that its two blocks are separated.
A subspace reduces a partial map when both projections preserve its domain and both summands are invariant.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The block of A on a reducing subspace.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adding a bounded operator to a partial map, on the same domain.
Equations
- RotationOfEigenvectors.addBounded A V = { domain := A.domain, toFun := A.toFun + (โV).domRestrict A.domain }
Instances For
The orthogonal complement of a reducing subspace also reduces the operator, so the ambient separation hypothesis can name both blocks.
6. The angle quantities #
The sines are explicit operators; the tangents are sequences, โtan ฮโ being
the norm's value on tan ฮธโ, tan ฮธโ, โฆ.
sin ฮโ in coordinates: the part of the trial coordinate map that misses the
exact subspace, the source's Q^โฅEโ.
Equations
- RotationOfEigenvectors.directedSine Eโ Fโ = (ContinuousLinearMap.id ๐ E - Fโ โSL ContinuousLinearMap.adjoint Fโ) โSL Eโ
Instances For
sin ฮโ for a trial subspace: Q^โฅEโ = P_{Vแฎ}|_U.
Equations
Instances For
sin ฮ, the ambient sine: the projector difference, whose singular values
are the sines of the principal angles, each occurring twice.
Equations
Instances For
sin 2ฮ, the ambient double-angle sine: the projector difference between U
and its mirror image in V. Reflecting U in V doubles every principal
angle.
Equations
Instances For
sin 2ฮโ, the directed double-angle sine.
Equations
Instances For
Tangents of an angle presented by its sine #
The argument of tanSeq is always a sine: tan ฮโ is a trigonometric function
of the angle, presented here by an operator whose singular values are its
sines. The residual is the right-hand side and has nothing to do with the
left.
A doubled angle is presented by its own sine, never by doubling the ordered
sines of the single angle. ฮธ โฆ sin 2ฮธ is not monotone on [0, ฯ/2], so
n โฆ sin (2 arcsin (aโ(sin ฮ))) need not be the ordered singular-value sequence
of sin 2ฮ -- at principal angles 75ยฐ and 30ยฐ the two sequences are in
opposite order. The tan 2ฮ clauses below therefore read the doubled tangent
off ambientDoubleSine and directedDoubleSine, through the same monotone
u โฆ tan (arcsin u) that tan ฮ uses, and |tan 2ฮธ| = tan (arcsin |sin 2ฮธ|)
supplies the source's absolute value with no branch choice.
The sequence tan ฮธโ, tan ฮธโ, โฆ, where sin ฮธโ is the n-th singular value
of the sine operator S.
Equations
Instances For
No principal angle of S is a right angle, so every tan ฮธโ is a
genuine tangent rather than the value Lean's field division assigns at a pole.
Equivalently โSโ < 1, since aโ S = โSโ. Davis and Kahan derive this rather
than assuming it, so it appears below as a conclusion -- for the double-angle
clauses too, where S is the double-angle sine and the condition is the
quarter-turn exclusion โsin 2ฮโ < 1.
Equations
- RotationOfEigenvectors.TangentDefined S = โ (n : โ), Real.cos (Real.arcsin (RotationOfEigenvectors.singularValue S n)) โ 0