The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.ZPow
40 declarations. Mathlib docs · Source
instance Matrix.instDivInvMonoid E0 #
{n' : Type u_1} → [DecidableEq n'] → [Fintype n'] → {R : Type u_2} → [CommRing R] → DivInvMonoid (Matrix n' n' R)
theorem Matrix.inv_pow' E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℕ), A⁻¹ ^ n = (A ^ n)⁻¹
theorem Matrix.pow_sub' E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) {m n : ℕ}, IsUnit A.det → n ≤ m → A ^ (m - n) = A ^ m * (A ^ n)⁻¹
theorem Matrix.pow_inv_comm' E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (m n : ℕ), A⁻¹ ^ m * A ^ n = A ^ n * A⁻¹ ^ m
theorem Matrix.one_zpow E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R] (n : ℤ), 1 ^ n = 1
theorem Matrix.zero_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R] (z : ℤ),
z ≠ 0 → 0 ^ z = 0
theorem Matrix.zero_zpow_eq E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R] (n : ℤ),
0 ^ n = if n = 0 then 1 else 0
theorem Matrix.inv_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℤ), A⁻¹ ^ n = (A ^ n)⁻¹
theorem Matrix.zpow_neg_one E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R), A ^ (-1) = A⁻¹
theorem Matrix.zpow_neg_natCast E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℕ), A ^ (-↑n) = (A ^ n)⁻¹
theorem IsUnit.det_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (n : ℤ), IsUnit (A ^ n).det
theorem Matrix.isUnit_det_zpow_iff E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} {z : ℤ}, IsUnit (A ^ z).det ↔ IsUnit A.det ∨ z = 0
theorem Matrix.zpow_neg E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (n : ℤ), A ^ (-n) = (A ^ n)⁻¹
theorem Matrix.inv_zpow' E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (n : ℤ), A⁻¹ ^ n = A ^ (-n)
theorem Matrix.zpow_add_one E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (n : ℤ), A ^ (n + 1) = A ^ n * A
theorem Matrix.zpow_sub_one E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (n : ℤ), A ^ (n - 1) = A ^ n * A⁻¹
theorem Matrix.zpow_add E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (m n : ℤ), A ^ (m + n) = A ^ m * A ^ n
theorem Matrix.zpow_add_of_nonpos E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} {m n : ℤ}, m ≤ 0 → n ≤ 0 → A ^ (m + n) = A ^ m * A ^ n
theorem Matrix.zpow_add_of_nonneg E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} {m n : ℤ}, 0 ≤ m → 0 ≤ n → A ^ (m + n) = A ^ m * A ^ n
theorem Matrix.zpow_one_add E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (i : ℤ), A ^ (1 + i) = A * A ^ i
theorem Matrix.SemiconjBy.zpow_right E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A X Y : Matrix n' n' R}, IsUnit X.det → IsUnit Y.det → SemiconjBy A X Y → ∀ (m : ℤ), SemiconjBy A (X ^ m) (Y ^ m)
theorem Matrix.Commute.zpow_right E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A B : Matrix n' n' R}, Commute A B → ∀ (m : ℤ), Commute A (B ^ m)
theorem Matrix.Commute.zpow_left E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A B : Matrix n' n' R}, Commute A B → ∀ (m : ℤ), Commute (A ^ m) B
theorem Matrix.Commute.zpow_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A B : Matrix n' n' R}, Commute A B → ∀ (m n : ℤ), Commute (A ^ m) (B ^ n)
theorem Matrix.Commute.zpow_self E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℤ), Commute (A ^ n) A
theorem Matrix.Commute.self_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℤ), Commute A (A ^ n)
theorem Matrix.Commute.zpow_zpow_self E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (m n : ℤ), Commute (A ^ m) (A ^ n)
theorem Matrix.zpow_add_one_of_ne_neg_one E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} (n : ℤ), n ≠ -1 → A ^ (n + 1) = A ^ n * A
theorem Matrix.zpow_mul E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R), IsUnit A.det → ∀ (m n : ℤ), A ^ (m * n) = (A ^ m) ^ n
theorem Matrix.zpow_mul' E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R), IsUnit A.det → ∀ (m n : ℤ), A ^ (m * n) = (A ^ n) ^ m
theorem Matrix.coe_units_zpow E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(u : (Matrix n' n' R)ˣ) (n : ℤ), ↑(u ^ n) = ↑u ^ n
theorem Matrix.zpow_ne_zero_of_isUnit_det E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R] [Nonempty n']
[Nontrivial R] {A : Matrix n' n' R}, IsUnit A.det → ∀ (z : ℤ), A ^ z ≠ 0
theorem Matrix.zpow_sub E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, IsUnit A.det → ∀ (z1 z2 : ℤ), A ^ (z1 - z2) = A ^ z1 / A ^ z2
theorem Matrix.Commute.mul_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A B : Matrix n' n' R}, Commute A B → ∀ (i : ℤ), (A * B) ^ i = A ^ i * B ^ i
theorem Matrix.zpow_neg_mul_zpow_self E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R] (n : ℤ)
{A : Matrix n' n' R}, IsUnit A.det → A ^ (-n) * A ^ n = 1
theorem Matrix.one_div_pow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} (n : ℕ), (1 / A) ^ n = 1 / A ^ n
theorem Matrix.one_div_zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R} (n : ℤ), (1 / A) ^ n = 1 / A ^ n
theorem Matrix.transpose_zpow E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
(A : Matrix n' n' R) (n : ℤ), (A ^ n).transpose = A.transpose ^ n
theorem Matrix.conjTranspose_zpow E0 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
[inst_3 : StarRing R] (A : Matrix n' n' R) (n : ℤ), (A ^ n).conjTranspose = A.conjTranspose ^ n
theorem Matrix.IsSymm.zpow E1 #
∀ {n' : Type u_1} [inst : DecidableEq n'] [inst_1 : Fintype n'] {R : Type u_2} [inst_2 : CommRing R]
{A : Matrix n' n' R}, A.IsSymm → ∀ (k : ℤ), (A ^ k).IsSymm