The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Matrix.Charpoly.Disc

6 declarations. Mathlib docs · Source

theorem Matrix.discr.congr_simp E1 #

∀ {R : Type u_1} {n : Type u_2} [inst : CommRing R] [inst_1 : Fintype n] {inst_2 : DecidableEq n}
  [inst_3 : DecidableEq n] (A A_1 : Matrix n n R), A = A_1 → A.discr = A_1.discr

def Matrix.discr E1 #

{R : Type u_1} → {n : Type u_2} → [CommRing R] → [Fintype n] → [DecidableEq n] → Matrix n n R → R

The discriminant of a matrix is defined to be the discriminant of its characteristic polynomial.

theorem Matrix.discr_conj E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : CommRing R] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (g : GL n R)
  (m : Matrix n n R), (↑g * m * (↑g)⁻¹).discr = m.discr

theorem Matrix.discr_conj' E0 #

∀ {R : Type u_1} {n : Type u_2} [inst : CommRing R] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (g : GL n R)
  (m : Matrix n n R), ((↑g)⁻¹ * m * ↑g).discr = m.discr

theorem Matrix.discr_of_card_eq_two E1 #

∀ {R : Type u_1} {n : Type u_2} [inst : CommRing R] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (A : Matrix n n R),
  Fintype.card n = 2 → A.discr = A.trace ^ 2 - 4 * A.det

theorem Matrix.discr_fin_two E1 #

∀ {R : Type u_1} [inst : CommRing R] (A : Matrix (Fin 2) (Fin 2) R), A.discr = A.trace ^ 2 - 4 * A.det