openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Ext /ExternalFreeFactorization.lean
roseking's picture
Add lean source and binary files (part 5)
d7f9a33 verified
Raw History Blame Contribute Delete
1.74 kB
9
private theorem replace_product {C : Type*} [Category C]
    {P Q R S T : C} (d : P ⟶ Q) (p : Q ⟶ R) (q : R ⟶ S)
    (r : S ⟶ T) (s : Q ⟶ S) (h : s = p ≫ q) :
    d ≫ p ≫ q ≫ r = d ≫ s ≫ r := by
proof · 1 line
  rw [h, Category.assoc]
25
theorem freeEvaluation_factorization :
    (shuffle k A B M N X Y).toModuleIso.hom ≫ ExternalTensor.mapHom k A B a b ≫
      ExternalTensor.mapHom k A B f g ≫
        (ExternalTensor.canonicalTensorIso k A B A B).hom ≫
          (ExternalTensor.regularEquiv k A B).toModuleIso.hom =
    freeEvaluation k A B M N X Y (a ≫ f) (b ≫ g) :=
proof · 6 lines
  replace_product (shuffle k A B M N X Y).toModuleIso.hom
    (ExternalTensor.mapHom k A B a b) (ExternalTensor.mapHom k A B f g)
    ((ExternalTensor.canonicalTensorIso k A B A B).hom ≫
      (ExternalTensor.regularEquiv k A B).toModuleIso.hom)
    (ExternalTensor.mapHom k A B (a ≫ f) (b ≫ g))
    (ExternalTensor.mapHom_comp k A B a f b g)