The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.FinTwo
43 declarations. Mathlib docs · Source
Classification of elements of GL (Fin 2) R
Here we classify 2 × 2 matrices over the reals (or more generally over R where R is a
suitable ring, but ℝ is the motivating case), into the following classes:
- scalars
- parabolic elements (
Matrix.IsParabolic) - one eigenvalue with non-semisimple generalized eigenspace - hyperbolic elements (
Matrix.IsHyperbolic) - two distinct real eigenvalues - elliptic elements (
Matrix.IsElliptic) - two distinct non-real complex eigenvalues
This classification is used (among other places) in classifying the fixed points of elements of
GL(2, ℝ)⁺ acting on the upper half-plane. See [Wikipedia:SL2(R)#Classification_of_elements]
(https://en.wikipedia.org/wiki/SL2(R)#Classification_of_elements).
def Matrix.IsParabolic E1 #
{R : Type u_1} → [CommRing R] → Matrix (Fin 2) (Fin 2) R → Prop
A 2 × 2 matrix is parabolic if it is non-scalar and its discriminant is 0.
theorem Matrix.isParabolic_conj_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
(↑g * m * (↑g)⁻¹).IsParabolic ↔ m.IsParabolic
theorem Matrix.isParabolic_conj'_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
((↑g)⁻¹ * m * ↑g).IsParabolic ↔ m.IsParabolic
theorem Matrix.IsParabolic.neg E1 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R}, m.IsParabolic → (-m).IsParabolic
theorem Matrix.IsParabolic.of_neg E1 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R}, (-m).IsParabolic → m.IsParabolic
theorem Matrix.isParabolic_neg_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R}, (-m).IsParabolic ↔ m.IsParabolic
theorem Matrix.isParabolic_iff_of_upperTriangular E1 #
∀ {R : Type u_1} [inst : CommRing R] {m : Matrix (Fin 2) (Fin 2) R} [IsReduced R],
m 1 0 = 0 → (m.IsParabolic ↔ m 0 0 = m 1 1 ∧ m 0 1 ≠ 0)
theorem Matrix.sub_scalar_sq_eq_discr E1 #
∀ {K : Type u_1} [inst : Field K] {m : Matrix (Fin 2) (Fin 2) K} [NeZero 2],
(m - (Matrix.scalar (Fin 2)) (m.trace / 2)) ^ 2 = (Matrix.scalar (Fin 2)) (m.discr / 4)
def Matrix.parabolicEigenvalue E1 #
{K : Type u_1} → [Field K] → Matrix (Fin 2) (Fin 2) K → K
The unique eigenvalue of a parabolic matrix (junk if m is not parabolic).
theorem Matrix.IsParabolic.sub_eigenvalue_sq_eq_zero E1 #
∀ {K : Type u_1} [inst : Field K] {m : Matrix (Fin 2) (Fin 2) K} [NeZero 2],
m.IsParabolic → (m - (Matrix.scalar (Fin 2)) m.parabolicEigenvalue) ^ 2 = 0
theorem Matrix.isParabolic_iff_exists E1 #
∀ {K : Type u_1} [inst : Field K] {m : Matrix (Fin 2) (Fin 2) K} [NeZero 2],
m.IsParabolic ↔ ∃ a n, m = (Matrix.scalar (Fin 2)) a + n ∧ n ≠ 0 ∧ n ^ 2 = 0
Characterization of parabolic elements: they have the form a + m where a is scalar and
m is nonzero and nilpotent.
def Matrix.IsHyperbolic E1 #
{R : Type u_1} → [CommRing R] → [Preorder R] → Matrix (Fin 2) (Fin 2) R → Prop
A 2 × 2 matrix is hyperbolic if its discriminant is strictly positive.
def Matrix.IsElliptic E1 #
{R : Type u_1} → [CommRing R] → [Preorder R] → Matrix (Fin 2) (Fin 2) R → Prop
A 2 × 2 matrix is elliptic if its discriminant is strictly negative.
theorem Matrix.isHyperbolic_conj_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
(↑g * m * (↑g)⁻¹).IsHyperbolic ↔ m.IsHyperbolic
theorem Matrix.isHyperbolic_conj'_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
((↑g)⁻¹ * m * ↑g).IsHyperbolic ↔ m.IsHyperbolic
theorem Matrix.isElliptic_conj_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
(↑g * m * (↑g)⁻¹).IsElliptic ↔ m.IsElliptic
theorem Matrix.isElliptic_conj'_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R} (g : GL (Fin 2) R),
((↑g)⁻¹ * m * ↑g).IsElliptic ↔ m.IsElliptic
theorem Matrix.isHyperbolic_neg_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
(-m).IsHyperbolic ↔ m.IsHyperbolic
theorem Matrix.IsHyperbolic.of_neg E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
(-m).IsHyperbolic → m.IsHyperbolic
Alias of the forward direction of Matrix.isHyperbolic_neg_iff.
theorem Matrix.IsHyperbolic.neg E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
m.IsHyperbolic → (-m).IsHyperbolic
Alias of the reverse direction of Matrix.isHyperbolic_neg_iff.
theorem Matrix.isElliptic_neg_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
(-m).IsElliptic ↔ m.IsElliptic
theorem Matrix.IsElliptic.of_neg E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
(-m).IsElliptic → m.IsElliptic
Alias of the forward direction of Matrix.isElliptic_neg_iff.
theorem Matrix.IsElliptic.neg E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Preorder R] {m : Matrix (Fin 2) (Fin 2) R},
m.IsElliptic → (-m).IsElliptic
Alias of the reverse direction of Matrix.isElliptic_neg_iff.
theorem Matrix.IsElliptic.bc_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsOrderedRing R] {m : Matrix (Fin 2) (Fin 2) R},
m.IsElliptic → m 0 1 * m 1 0 ≠ 0
theorem Matrix.IsElliptic.b_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsOrderedRing R] {m : Matrix (Fin 2) (Fin 2) R},
m.IsElliptic → m 0 1 ≠ 0
theorem Matrix.IsElliptic.c_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsOrderedRing R] {m : Matrix (Fin 2) (Fin 2) R},
m.IsElliptic → m 1 0 ≠ 0
def Matrix.GeneralLinearGroup.upperRightHom E1 #
{R : Type u_1} → [inst : Ring R] → AddChar R (GL (Fin 2) R)
The map sending x to [1, x; 0, 1] (bundled as an AddChar).
theorem Matrix.GeneralLinearGroup.upperRightHom_apply E0 #
∀ {R : Type u_1} [inst : Ring R] (x : R),
Matrix.GeneralLinearGroup.upperRightHom x =
{ val := !![1, x; 0, 1], inv := !![1, -x; 0, 1], val_inv := ⋯, inv_val := ⋯ }
theorem Matrix.GeneralLinearGroup.injective_upperRightHom E1 #
∀ {R : Type u_1} [inst : Ring R], Function.Injective ⇑Matrix.GeneralLinearGroup.upperRightHom
theorem Matrix.GeneralLinearGroup.a_ne_zero_of_c_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [Nontrivial R] {g : GL (Fin 2) R}, ↑g 1 0 = 0 → ↑g 0 0 ≠ 0
theorem Matrix.GeneralLinearGroup.d_ne_zero_of_c_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [Nontrivial R] {g : GL (Fin 2) R}, ↑g 1 0 = 0 → ↑g 1 1 ≠ 0
theorem Matrix.GeneralLinearGroup.upperRightHom_conj_of_upperTriangular E1 #
∀ {K : Type u_2} [inst : Field K] {g : GL (Fin 2) K},
↑g 1 0 = 0 →
∀ (x : K),
g * Matrix.GeneralLinearGroup.upperRightHom x * g⁻¹ =
Matrix.GeneralLinearGroup.upperRightHom (↑g 0 0 / ↑g 1 1 * x)
Conjugating a translation by an upper triangular matrix rescales its parameter.
abbrev Matrix.GeneralLinearGroup.IsParabolic E1 #
{R : Type u_1} → [inst : CommRing R] → GL (Fin 2) R → Prop
Synonym of Matrix.IsParabolic, for dot-notation.
theorem Matrix.GeneralLinearGroup.isParabolic_conj_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] (g h : GL (Fin 2) R), (g * h * g⁻¹).IsParabolic ↔ h.IsParabolic
theorem Matrix.GeneralLinearGroup.isParabolic_conj_iff' E0 #
∀ {R : Type u_1} [inst : CommRing R] (g h : GL (Fin 2) R), (g⁻¹ * h * g).IsParabolic ↔ h.IsParabolic
abbrev Matrix.GeneralLinearGroup.IsElliptic E1 #
{R : Type u_1} → [inst : CommRing R] → [Preorder R] → GL (Fin 2) R → Prop
Synonym of Matrix.IsElliptic, for dot-notation.
abbrev Matrix.GeneralLinearGroup.IsHyperbolic E1 #
{R : Type u_1} → [inst : CommRing R] → [Preorder R] → GL (Fin 2) R → Prop
Synonym of Matrix.IsHyperbolic, for dot-notation.
def Matrix.GeneralLinearGroup.fixpointPolynomial E1 #
{R : Type u_1} → [inst : CommRing R] → GL (Fin 2) R → Polynomial R
Polynomial whose roots are the fixed points of g considered as a Möbius transformation.
See Matrix.GeneralLinearGroup.fixpointPolynomial_aeval_eq_zero_iff.
theorem Matrix.GeneralLinearGroup.fixpointPolynomial_eq_zero_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {g : GL (Fin 2) R},
g.fixpointPolynomial = 0 ↔ ↑g ∈ Set.range ⇑(Matrix.scalar (Fin 2))
The fixed-point polynomial is identically zero iff g is scalar.
theorem Matrix.GeneralLinearGroup.parabolicEigenvalue_ne_zero E1 #
∀ {K : Type u_2} [inst : Field K] {g : GL (Fin 2) K} [NeZero 2], g.IsParabolic → (↑g).parabolicEigenvalue ≠ 0
theorem Matrix.GeneralLinearGroup.IsParabolic.pow E1 #
∀ {K : Type u_2} [inst : Field K] {g : GL (Fin 2) K},
g.IsParabolic → ∀ [CharZero K] {n : ℕ}, n ≠ 0 → (g ^ n).IsParabolic
A non-zero power of a parabolic element is parabolic.
theorem Matrix.GeneralLinearGroup.isParabolic_iff_of_upperTriangular E1 #
∀ {K : Type u_2} [inst : Field K] {g : GL (Fin 2) K}, ↑g 1 0 = 0 → (g.IsParabolic ↔ ↑g 0 0 = ↑g 1 1 ∧ ↑g 0 1 ≠ 0)
theorem Matrix.GeneralLinearGroup.isParabolic_iff_of_upperTriangular_of_det E1 #
∀ {K : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [IsStrictOrderedRing K] {g : GL (Fin 2) K},
Matrix.GeneralLinearGroup.det g = 1 ∨ Matrix.GeneralLinearGroup.det g = -1 →
↑g 1 0 = 0 →
(g.IsParabolic ↔
(∃ x, x ≠ 0 ∧ g = Matrix.GeneralLinearGroup.upperRightHom x) ∨
∃ x, x ≠ 0 ∧ g = -Matrix.GeneralLinearGroup.upperRightHom x)
Specialized version of isParabolic_iff_of_upperTriangular intended for use with
discrete subgroups of GL(2, ℝ).