refactor: Moved module doc string

This commit is contained in:
jstoobysmith 2025-01-12 17:11:04 +00:00
parent 6d47ea18a0
commit 7110a07299

View file

@ -5,8 +5,6 @@ Authors: Gordon Hsu
-/
import Mathlib.LinearAlgebra.Eigenspace.Triangularizable
import Mathlib.LinearAlgebra.Matrix.Spectrum
open scoped InnerProductSpace
/-! # Schur triangulation
Schur triangulation is more commonly known as Schur decomposition or Schur triangularization, but
@ -24,6 +22,8 @@ be decomposed as `A = U * T * star U` where `U` is unitary and `T` is upper tria
-/
open scoped InnerProductSpace
/-- `subNat' i h` subtracts `m` from `i`. This is an alternative form of `Fin.subNat`. -/
@[inline] def Fin.subNat' (i : Fin (m + n)) (h : ¬ i < m) : Fin n :=
subNat m (Fin.cast (m.add_comm n) i) (Nat.ge_of_not_lt h)