Skip to content

Commit f88e999

Browse files
committed
feat(Analysis/InnerProductSpace): generalized determinant of a rectangle matrix / linear map
1 parent c290b55 commit f88e999

4 files changed

Lines changed: 506 additions & 0 deletions

File tree

Mathlib.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,6 +1963,7 @@ public import Mathlib.Analysis.InnerProductSpace.LinearMap
19631963
public import Mathlib.Analysis.InnerProductSpace.LinearPMap
19641964
public import Mathlib.Analysis.InnerProductSpace.MeanErgodic
19651965
public import Mathlib.Analysis.InnerProductSpace.MulOpposite
1966+
public import Mathlib.Analysis.InnerProductSpace.NormDet
19661967
public import Mathlib.Analysis.InnerProductSpace.NormPow
19671968
public import Mathlib.Analysis.InnerProductSpace.OfNorm
19681969
public import Mathlib.Analysis.InnerProductSpace.Orientation

Mathlib/Analysis/InnerProductSpace/GramMatrix.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module
88
public import Mathlib.Analysis.InnerProductSpace.Basic
99
public import Mathlib.Analysis.InnerProductSpace.PiL2
1010
public import Mathlib.LinearAlgebra.Matrix.PosDef
11+
import Mathlib.Analysis.Matrix.Order
1112

1213
/-! # Gram Matrices
1314
@@ -95,6 +96,12 @@ theorem linearIndependent_of_posDef_gram {v : n → E} (h_gram : PosDef (gram
9596
have := h_gram.dotProduct_mulVec_pos (x := y)
9697
simp_all [star_dotProduct_gram_mulVec]
9798

99+
omit [Finite n] in
100+
theorem linearIndependent_of_det_gram_ne_zero [Fintype n] [DecidableEq n] {v : n → E}
101+
(h : (gram 𝕜 v).det ≠ 0) : LinearIndependent 𝕜 v := by
102+
apply linearIndependent_of_posDef_gram
103+
simpa [(Matrix.posSemidef_gram _ _).posDef_iff_isUnit, Matrix.isUnit_iff_isUnit_det] using h
104+
98105
end SemiInnerProductSpace
99106

100107
section NormedInnerProductSpace

0 commit comments

Comments
 (0)