roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
4.03 kB
13
theorem simple_not_projective : ¬ Module.Projective (A k q) (Simple q) := by
proof · 4 lines
  intro hp
  let := hp
  let : Module.Finite (A k q) (Simple q) := Module.Finite.of_restrictScalars_finite k (A k q) _
  exact beta_stable_ne_zero q hq1 (StableHom.eq_zero_of_projective_source _)
20
theorem simple_scalar_generator (x : Simple q) :
    x = simpleCoordinate q x • simpleGenerator q := by
proof · 3 lines
  apply simpleCoordinate_injective q hq1
  erw [(simpleCoordinate q).map_smul, simpleGenerator_coordinate]
  exact (mul_one _).symm
26
def endScalar : (Simple q →ₗ[A k q] Simple q) →ₗ[k] k where
body · 5 lines
  toFun f := simpleCoordinate q (f (simpleGenerator q))
  map_add' left right :=
    (simpleCoordinate q).map_add (left (simpleGenerator q)) (right (simpleGenerator q))
  map_smul' scalar endomorphism :=
    (simpleCoordinate q).map_smul scalar (endomorphism (simpleGenerator q))
34
theorem end_eq_scalar_id (f : Simple q →ₗ[A k q] Simple q) :
    f = endScalar q f • LinearMap.id := by
proof · 11 lines
  apply LinearMap.ext
  intro x
  change f x = endScalar q f • x
  calc
    f x = f (simpleCoordinate q x • simpleGenerator q) := congrArg f (simple_scalar_generator q hq1 x)
    _ = simpleCoordinate q x • f (simpleGenerator q) := (f.restrictScalars k).map_smul _ _
    _ = simpleCoordinate q x • (endScalar q f • simpleGenerator q) := by
      exact congrArg (fun z => simpleCoordinate q x • z)
        (simple_scalar_generator q hq1 (f (simpleGenerator q)))
    _ = endScalar q f • (simpleCoordinate q x • simpleGenerator q) := smul_comm _ _ _
    _ = endScalar q f • x := congrArg (fun z => endScalar q f • z) (simple_scalar_generator q hq1 x).symm
48
def simpleEndEquiv : (Simple q →ₗ[A k q] Simple q) ≃ₗ[k] k where
body · 7 lines
  __ := endScalar q
  invFun c := c • LinearMap.id
  left_inv f := (end_eq_scalar_id q hq1 f).symm
  right_inv c := by
    change simpleCoordinate q (c • simpleGenerator q) = c
    erw [(simpleCoordinate q).map_smul, simpleGenerator_coordinate]
    exact mul_one _
58
theorem stable_identity_ne_zero :
    StableHom.classOf (A k q) (Simple q) (Simple q) LinearMap.id ≠ 0 := by
proof · 3 lines
  let : Module.Finite (A k q) (Simple q) := Module.Finite.of_restrictScalars_finite k (A k q) _
  intro h
  exact simple_not_projective q hq1 (StableHom.identity_eq_zero_iff.mp h)
66
theorem simpleEnd_classOf_injective : Function.Injective
    (StableHom.classOfLinear k : (Simple q →ₗ[A k q] Simple q) →ₗ[k]
      StableHom (A k q) (Simple q) (Simple q)) := by
proof · 8 lines
  rw [← LinearMap.ker_eq_bot]
  apply le_antisymm _ bot_le
  intro f hf
  have hz : StableHom.classOf (A k q) (Simple q) (Simple q) f = 0 := hf
  rw [end_eq_scalar_id q hq1 f, StableHom.classOf_smul] at hz
  have hc : endScalar q f = 0 := (smul_eq_zero.mp hz).resolve_right (stable_identity_ne_zero q hq1)
  rw [end_eq_scalar_id q hq1 f, hc, zero_smul]
  exact Submodule.zero_mem _
78
def stableEndEquiv : StableHom (A k q) (Simple q) (Simple q) ≃ₗ[k] k :=
body · 3 lines
  (LinearEquiv.ofBijective (StableHom.classOfLinear k)
    ⟨simpleEnd_classOf_injective q hq1, StableHom.classOf_surjective⟩).symm.trans
      (simpleEndEquiv q hq1)
84
theorem stableEndEquiv_classOf (f : Simple q →ₗ[A k q] Simple q) :
    stableEndEquiv q hq1 (StableHom.classOf (A k q) _ _ f) = endScalar q f := by
proof · 4 lines
  change simpleEndEquiv q hq1 ((LinearEquiv.ofBijective (StableHom.classOfLinear k) _).symm
    ((StableHom.classOfLinear k) f)) = _
  erw [LinearEquiv.symm_apply_apply]
  rfl
92
theorem stableEndEquiv_identity : stableEndEquiv q hq1 StableHom.identity = 1 := by
proof · 3 lines
  change stableEndEquiv q hq1 (StableHom.classOf _ _ _ LinearMap.id) = 1
  rw [stableEndEquiv_classOf]
  exact simpleGenerator_coordinate q