roseking's picture
Add lean source and binary files (part 5)
d7f9a33 verified
Raw History Blame Contribute Delete
1.33 kB
16
theorem aExtZero_scalar (x : ASelfExt q 0) :
    ∃ c : k, x = c • Ext.mk₀ (𝟙 (ArExplicit.A.Simple q)) := by
proof · 9 lines
  apply ResolutionProducts.extZero_scalar_of_hom (k := k) _ x
  intro f
  refine ⟨ArExplicit.A.endScalar q f.hom, ?_⟩
  apply ResolutionProducts.scalar_end_hom (k := k) (R := ArExplicit.A k q)
    (ArExplicit.A.Simple q) f
  intro x
  have hf := DFunLike.congr_fun (ArExplicit.A.end_eq_scalar_id q hq1 f.hom) x
  change f.hom x = ArExplicit.A.endScalar q f.hom • x at hf
  exact hf.trans (IsScalarTower.algebraMap_smul (ArExplicit.A k q) _ _).symm
29
theorem aExtZero_central (n : ℕ) (a : ASelfExt q n) (x : ASelfExt q 0) :
    a.comp x (by omega : n+0=n) = x.comp a (by omega : 0+n=n) := by
proof · 2 lines
  obtain ⟨c,rfl⟩ := aExtZero_scalar q hq1 x
  rw [Ext.comp_smul, Ext.smul_comp, Ext.comp_mk₀_id, Ext.mk₀_id_comp]