cfahlgren1/math / lean /OAI /Algebra /AuslanderReiten /Bar /ModuleBarNativeTransport.lean
cfahlgren1's picture
download
raw
4.34 kB
16
def nativeEndpointBase :
    letI := moduleCatBaseModule (k := k) (R := R) (ModuleCat.of R M)
body · 12 lines
    ModuleCat.of R M ≃ₗ[k] ModuleCat.of R M := by
  letI := moduleCatBaseModule (k := k) (R := R) (ModuleCat.of R M)
  exact {
    toFun := fun x => e x
    invFun := fun x => e.symm x
    left_inv := fun x => e.symm_apply_apply x
    right_inv := fun x => e.apply_symm_apply x
    map_add' := fun x y => e.map_add x y
    map_smul' := by
      intro a x
      change e ((algebraMap k R a) • x) = (algebraMap k R a) • e x
      rw [he, h.commutes] }
32
theorem nativeEndpointBase_smul (a : R) (x : ModuleCat.of R M) :
    nativeEndpointBase k R M h e he (a • x) = h a • nativeEndpointBase k R M h e he x :=
proof · 1 line
  he a x
36
def nativeTransportBase (n : ℕ) :
    (nativeResolution k R M).complex.X n →ₗ[k] (nativeResolution k R M).complex.X n where
body · 6 lines
  toFun := transport k R M h e (n+1)
  map_add' := (transport k R M h e (n+1)).map_add
  map_smul' a x := by
    change transport k R M h e (n+1) (left k R M (n+1) (algebraMap k R a) x) =
      left k R M (n+1) (algebraMap k R a) (transport k R M h e (n+1) x)
    erw [transport_left k R M h e he, h.commutes]
45
theorem nativeTransportBase_smul (n : ℕ) (a : R)
    (x : (nativeResolution k R M).complex.X n) :
    nativeTransportBase k R M h e he n (a • x) =
      h a • nativeTransportBase k R M h e he n x :=
proof · 1 line
  transport_left k R M h e he (n+1) a x
51
theorem nativeTransportBase_d (n : ℕ)
    (x : (nativeResolution k R M).complex.X (n+1)) :
    nativeTransportBase k R M h e he n (((nativeResolution k R M).complex.d (n+1) n).hom x) =
      ((nativeResolution k R M).complex.d (n+1) n).hom
        (nativeTransportBase k R M h e he (n+1) x) := by
proof · 4 lines
  change transport k R M h e (n+1) (((complex k R M).d (n+1) n).hom x) =
    ((complex k R M).d (n+1) n).hom (transport k R M h e (n+2) x)
  rw [complex_d]
  exact transport_boundary k R M h e he (n+1) x
61
def nativeEndpointEquiv : ModuleCat.of R M ≃ₗ[R]
    (ModuleCat.restrictScalars h.toRingHom).obj (ModuleCat.of R M) where
body · 6 lines
  toFun := e
  invFun := e.symm
  left_inv := e.left_inv
  right_inv := e.right_inv
  map_add' := e.map_add
  map_smul' := he
70
def nativeEndpointIso : ModuleCat.of R M ≅
    (ModuleCat.restrictScalars h.toRingHom).obj (ModuleCat.of R M) :=
body · 1 line
  (nativeEndpointEquiv k R M h e he).toModuleIso
74
def nativeTransportIso : (nativeResolution k R M).complex ≅
    ((ModuleCat.restrictScalars h.toRingHom).mapHomologicalComplex (.down ℕ)).obj
      (nativeResolution k R M).complex :=
body · 1 line
  transportComplexIso k R M h e he
79
theorem nativeTransport_augmentation :
    (nativeTransportIso k R M h e he).hom.f 0 ≫
        (ModuleCat.restrictScalars h.toRingHom).map ((nativeResolution k R M).π.f 0) =
      (nativeResolution k R M).π.f 0 ≫ (nativeEndpointIso k R M h e he).hom := by
proof · 4 lines
  apply ModuleCat.hom_ext
  apply LinearMap.ext
  intro x
  exact (transport_boundary k R M h e he 0 x).symm
88
theorem nativeTransportBase_π (x : (nativeResolution k R M).complex.X 0) :
    ((nativeResolution k R M).π.f 0).hom (nativeTransportBase k R M h e he 0 x) =
      nativeEndpointBase k R M h e he (((nativeResolution k R M).π.f 0).hom x) :=
proof · 1 line
  (transport_boundary k R M h e he 0 x).symm
93
theorem nativeTransport_Hom (n : ℕ)
    (f : (nativeResolution k R M).complex.X n ⟶ ModuleCat.of R M) :
    ModuleCat.ofHom (X := (nativeResolution k R M).complex.X n) (Y := ModuleCat.of R M)
      (show (nativeResolution k R M).complex.X n →ₗ[R] ModuleCat.of R M from
        ((nativeHomTransport k R M h e he).f n).hom f.hom) =
    (nativeTransportIso k R M h e he).hom.f n ≫
      (ModuleCat.restrictScalars h.toRingHom).map f ≫ (nativeEndpointIso k R M h e he).inv := by
proof · 4 lines
  apply ModuleCat.hom_ext
  apply LinearMap.ext
  intro x
  rfl

Xet Storage Details

Size:
4.34 kB
·
Xet hash:
6022cd272d249cb7b0c230d65e99120e4a85decfa3220c0d69f0b0f8061ea41a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.