Module

MatrixProjectorExactness.lean

Nyll.GaloisCohomology.GroupTheory.MatrixProjectorExactness
10 declarations indexed from sourceView source ↗

Exact cardinalities of matrix projector images

Imports6
  • Mathlib.Algebra.Ring.Idempotent
  • Mathlib.GroupTheory.Index
  • Mathlib.LinearAlgebra.Matrix.Module
  • Mathlib.LinearAlgebra.Quotient.Basic
  • Mathlib.Algebra.Exact.Basic
  • Mathlib.NumberTheory.Padics.PadicVal.Basic
Imported by3

Declarations

Matrix.projectorFixed

The fixed vectors of a matrix projector on an actual module.

Source context 5 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
def projectorFixed (M : Type*) [AddCommGroup M] [Module R M] : AddSubgroup (I → M) where
  carrier := {x | e • x = x}
  zero_mem' := smul_zero _
  add_mem' := by
    intro x y hx hy
    change e • x = x at hx
    change e • y = y at hy
    change e • (x + y) = x + y
    rw [smul_add, hx, hy]
  neg_mem' := by
    intro x hx
    change e • x = x at hx
    change e • (-x) = -x
    rw [smul_neg, hx]
Matrix.smul_projectorFixed
Source context 5 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
theorem smul_projectorFixed (M : Type*) [AddCommGroup M] [Module R M] (x : projectorFixed e M) :
    e • x.val = x.val
Matrix.projectorFixedMap

Restriction of the original linear map to the fixed vectors.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
def projectorFixedMap (f : A →ₗ[R] B) : projectorFixed e A →+ projectorFixed e B where
  toFun x := ⟨f.mapMatrixModule I x.val, by
    change e • f.mapMatrixModule I x.val = f.mapMatrixModule I x.val
    rw [← map_smul, smul_projectorFixed]⟩
  map_zero' := Subtype.ext (map_zero (f.mapMatrixModule I))
  map_add' x y := Subtype.ext (map_add (f.mapMatrixModule I) x.val y.val)
Matrix.projectorFixedMap_apply
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem projectorFixedMap_apply (f : A →ₗ[R] B) (x : projectorFixed e A) (i : I) :
    ((projectorFixedMap e f x : projectorFixed e B) : I → B) i = f (x.val i)
Matrix.projectorFixedMap_injective
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem projectorFixedMap_injective (f : A →ₗ[R] B) (hf : Injective f) :
    Injective (projectorFixedMap e f)
Matrix.projectorFixedMap_surjective
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem projectorFixedMap_surjective (he : IsIdempotentElem e) (f : A →ₗ[R] B)
    (hf : Surjective f) : Surjective (projectorFixedMap e f)
Matrix.projectorFixedMap_exact
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem projectorFixedMap_exact (f : A →ₗ[R] B) (g : B →ₗ[R] C)
    (hf : Injective f) (hex : Exact f g) :
    Exact (projectorFixedMap e f) (projectorFixedMap e g)
Matrix.card_projectorFixed_mul_of_exact

An idempotent matrix preserves the cardinal product of a finite short exact sequence under passage to its actual images.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem card_projectorFixed_mul_of_exact [Finite A] [Finite B] [Finite C]
    (he : IsIdempotentElem e) (f : A →ₗ[R] B) (g : B →ₗ[R] C)
    (hf : Injective f) (hg : Surjective g) (hex : Exact f g) :
    Nat.card (projectorFixed e B) =
      Nat.card (projectorFixed e A) * Nat.card (projectorFixed e C)
Matrix.padicValNat_card_projectorFixed_add_of_exact

The prime valuation of the cardinality of an actual projector image is additive on finite short exact sequences.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem padicValNat_card_projectorFixed_add_of_exact (p : ℕ) [Fact p.Prime]
    [Finite A] [Finite B] [Finite C] (he : IsIdempotentElem e)
    (f : A →ₗ[R] B) (g : B →ₗ[R] C) (hf : Injective f) (hg : Surjective g)
    (hex : Exact f g) :
    padicValNat p (Nat.card (projectorFixed e B)) =
      padicValNat p (Nat.card (projectorFixed e A)) +
        padicValNat p (Nat.card (projectorFixed e C))
Matrix.card_projectorFixed_ker_nsmul_eq_quotient

On a finite module, an actual projector gives the same cardinality on the torsion and power quotient for a natural scalar.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open Function Matrix.Module
noncomputable section
namespace Matrix
variable {I R : Type*} [Ring R] [Fintype I] [DecidableEq I]
  (e : Matrix I I R)
variable {A B C : Type*} [AddCommGroup A] [Module R A]
  [AddCommGroup B] [Module R B] [AddCommGroup C] [Module R C]
theorem card_projectorFixed_ker_nsmul_eq_quotient [Finite A] (he : IsIdempotentElem e) (n : ℕ) :
    Nat.card (projectorFixed e (LinearMap.ker (n • (LinearMap.id : A →ₗ[R] A)))) =
      Nat.card (projectorFixed e (A ⧸ LinearMap.range (n • (LinearMap.id : A →ₗ[R] A))))