Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Schur.lean   Sprache: Lean

 

/-
Copyright (c) 2020 Kim Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel, Kim Morrison
-/

module

public import Mathlib.CategoryTheory.Linear.Basic
public import Mathlib.CategoryTheory.Simple
public import Mathlib.FieldTheory.IsAlgClosed.Spectrum

/-!
# Schur's lemma

We first prove the part of Schur's Lemma that holds in any preadditive category with kernels,
that any nonzero morphism between simple objects
is an isomorphism.

Second, we prove Schur's lemma for `��`-linear categories with finite-dimensional hom spaces,
over an algebraically closed field `��`:
the hom space `X ⟶ Y` between simple objects `X` and `Y` is at most one dimensional,
and is 1-dimensional iff `X` and `Y` are isomorphic.
-/


@[expose] public section


namespace CategoryTheory

open CategoryTheory.Limits

variable {C : Type*} [Category* C]
variable [Preadditive C]

-- See also `epi_of_ne_zero_to_simple`, which does not require `Preadditive C`.
theorem mono_of_ne_zero_from_simple [HasKernels C] {X Y : C} [Simple X] {f : X ⟶ Y} (w : f ≠ 0) :
    Mono f :=
  Preadditive.mono_of_kernel_zero (kernel_zero_of_ne_zero_from_simple w)

@[deprecated (since := "2026-10-13")]
alias mono_of_nonzero_from_simple := mono_of_ne_zero_from_simple

/-- The part of **Schur's lemma** that holds in any preadditive category with kernels:
that a nonzero morphism between simple objects is an isomorphism.
-/

theorem isIso_of_hom_simple
    [HasKernels C] {X Y : C} [Simple X] [Simple Y] {f : X ⟶ Y} (w : f ≠ 0) : IsIso f :=
  haveI := mono_of_ne_zero_from_simple w
  isIso_of_mono_of_ne_zero w

/-- As a corollary of Schur's lemma for preadditive categories,
any morphism between simple objects is (exclusively) either an isomorphism or zero.
-/

theorem isIso_iff_ne_zero [HasKernels C] {X Y : C} [Simple X] [Simple Y] (f : X ⟶ Y) :
    IsIso f ↔ f ≠ 0 :=
  ⟨fun I => by
    intro h
    apply id_ne_zero X
    simp only [← IsIso.hom_inv_id f, h, zero_comp],
   fun w => isIso_of_hom_simple w⟩

@[deprecated (since := "2026-10-13")] alias isIso_iff_nonzero := isIso_iff_ne_zero

open scoped Classical in
/-- In any preadditive category with kernels,
the endomorphisms of a simple object form a division ring. -/

noncomputable instance [HasKernels C] {X : C} [Simple X] : DivisionRing (End X) where
  inv f := if h : f.asHom = 0 then 0 else haveI := isIso_of_hom_simple h; .of (inv f.asHom)
  exists_pair_ne := ⟨1, 0, by simp⟩
  inv_zero := by simp
  mul_inv_cancel f hf := by
    ext
    rw [dite_eq_right (fun h ↦ hf (by ext; simpa))]
    simp
  nnqsmul := _
  qsmul := _

open Module

section

variable (�� : Type*) [DivisionRing ��]

/-- Part of **Schur's lemma** for `��`-linear categories:
the hom space between two non-isomorphic simple objects is 0-dimensional.
-/

theorem finrank_hom_simple_simple_eq_zero_of_not_iso [HasKernels C] [Linear �� C] {X Y : C}
    [Simple X] [Simple Y] (h : (X ≅ Y) → False) : finrank �� (X ⟶ Y) = 0 :=
  haveI :=
    subsingleton_of_forall_eq (0 : X ⟶ Y) fun f => by
      have p := not_congr (isIso_iff_ne_zero f)
      simp only [Classical.not_not, Ne] at p
      exact p.mp fun _ => h (asIso f)
  finrank_zero_of_subsingleton

end

variable (�� : Type*) [Field ��]
variable [IsAlgClosed ��] [Linear �� C]

-- We prove this with the explicit `isIso_iff_nonzero` assumption,
-- rather than just `[Simple X]`, as this form is useful for
-- Müger's formulation of semisimplicity.
/-- An auxiliary lemma for Schur's lemma.

If `X ⟶ X` is finite dimensional, and every nonzero endomorphism is invertible,
then `X ⟶ X` is 1-dimensional.
-/

theorem finrank_endomorphism_eq_one {X : C} (isIso_iff_nonzero : ∀ f : X ⟶ X, IsIso f ↔ f ≠ 0)
    [FiniteDimensional �� (X ⟶ X)] : finrank �� (X ⟶ X) = 1 := by
  have id_nonzero := (isIso_iff_nonzero (�� X)).mp (by infer_instance)
  refine finrank_eq_one (�� X) id_nonzero ?_
  intro f
  have : Nontrivial (X ⟶ X) := nontrivial_of_ne _ _ id_nonzero
  have : Nontrivial (End X) := (End.homEquiv (X := X)).nontrivial
  have : FiniteDimensional �� (End X) :=
    End.linearEquiv.symm.finiteDimensional
  obtain ⟨c, nu⟩ := spectrum.nonempty_of_isAlgClosed_of_finiteDimensional �� (End.of f)
  use c
  rw [spectrum.mem_iff, IsUnit.sub_iff, isUnit_iff_isIso, isIso_iff_nonzero, Ne,
    Classical.not_not, Algebra.algebraMap_eq_smul_one,
    End.sub_asHom, End.smul_asHom, End.one_asHom, sub_eq_zero] at nu
  rw [← nu]

variable [HasKernels C]

/-- **Schur's lemma** for endomorphisms in `��`-linear categories.
-/

theorem finrank_endomorphism_simple_eq_one (X : C) [Simple X] [FiniteDimensional �� (X ⟶ X)] :
    finrank �� (X ⟶ X) = 1 :=
  finrank_endomorphism_eq_one �� isIso_iff_ne_zero

theorem endomorphism_simple_eq_smul_id {X : C} [Simple X] [FiniteDimensional �� (X ⟶ X)]
    (f : X ⟶ X) : ∃ c : ��, c • �� X = f :=
  (finrank_eq_one_iff_of_ne_zero' (�� X) (id_ne_zero X)).mp (finrank_endomorphism_simple_eq_one �� X)
    f

/-- Endomorphisms of a simple object form a field if they are finite dimensional.
This can't be an instance as `��` would be undetermined.
-/

@[instance_reducible]
noncomputable def fieldEndOfFiniteDimensional (X : C) [Simple X] [I : FiniteDimensional �� (X ⟶ X)] :
    Field (End X) := by
  exact
    { (inferInstance : DivisionRing (End X)) with
      mul_comm := fun ⟨f⟩ ⟨g⟩ ↦ by
        obtain ⟨c, rfl⟩ := endomorphism_simple_eq_smul_id �� f
        obtain ⟨d, rfl⟩ := endomorphism_simple_eq_smul_id �� g
        ext
        simp [← mul_smul, mul_comm c d] }

-- There is a symmetric argument that uses `[FiniteDimensional �� (Y ⟶ Y)]` instead,
-- but we don't bother proving that here.
/-- **Schur's lemma** for `��`-linear categories:
if hom spaces are finite dimensional, then the hom space between simples is at most 1-dimensional.

See `finrank_hom_simple_simple_eq_one_iff` and `finrank_hom_simple_simple_eq_zero_iff` below
for the refinements when we know whether or not the simples are isomorphic.
-/

theorem finrank_hom_simple_simple_le_one (X Y : C) [FiniteDimensional �� (X ⟶ X)] [Simple X]
    [Simple Y] : finrank �� (X ⟶ Y) ≤ 1 := by
  obtain (h | h) := subsingleton_or_nontrivial (X ⟶ Y)
  · rw [finrank_zero_of_subsingleton]
    exact zero_le_one
  · obtain ⟨f, nz⟩ := (nontrivial_iff_exists_ne 0).mp h
    have fi := (isIso_iff_ne_zero f).mpr nz
    refine finrank_le_one f ?_
    intro g
    obtain ⟨c, w⟩ := endomorphism_simple_eq_smul_id �� (g ≫ inv f)
    exact ⟨c, by simpa using w =≫ f⟩

theorem finrank_hom_simple_simple_eq_one_iff (X Y : C) [FiniteDimensional �� (X ⟶ X)]
    [FiniteDimensional �� (X ⟶ Y)] [Simple X] [Simple Y] :
    finrank �� (X ⟶ Y) = 1 ↔ Nonempty (X ≅ Y) := by
  fconstructor
  · intro h
    rw [finrank_eq_one_iff'] at h
    obtain ⟨f, nz, -⟩ := h
    rw [← isIso_iff_ne_zero] at nz
    exact ⟨asIso f⟩
  · rintro ⟨f⟩
    have le_one := finrank_hom_simple_simple_le_one �� X Y
    have zero_lt : 0 < finrank �� (X ⟶ Y) :=
      finrank_pos_iff_exists_ne_zero.mpr ⟨f.hom, (isIso_iff_ne_zero f.hom).mp inferInstance⟩
    lia

theorem finrank_hom_simple_simple_eq_zero_iff (X Y : C) [FiniteDimensional �� (X ⟶ X)]
    [FiniteDimensional �� (X ⟶ Y)] [Simple X] [Simple Y] :
    finrank �� (X ⟶ Y) = 0 ↔ IsEmpty (X ≅ Y) := by
  rw [← not_nonempty_iff, ← not_congr (finrank_hom_simple_simple_eq_one_iff �� X Y)]
  have := finrank_hom_simple_simple_le_one �� X Y
  lia

open scoped Classical in
theorem finrank_hom_simple_simple (X Y : C) [∀ X Y : C, FiniteDimensional �� (X ⟶ Y)] [Simple X]
    [Simple Y] : finrank �� (X ⟶ Y) = if Nonempty (X ≅ Y) then 1 else 0 := by
  split_ifs with h
  · exact (finrank_hom_simple_simple_eq_one_iff �� X Y).2 h
  · exact (finrank_hom_simple_simple_eq_zero_iff �� X Y).2 (not_nonempty_iff.mp h)

end CategoryTheory

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,113
#Domains=863,219