-- Module: Mathlib.AlgebraicGeometry.StructureSheaf
Goal:
R M : Type u
inst : CommRing R
inst_1 : AddCommGroup M
inst_2 : Module R M
s : R
f : M
n : ℕ
dsimp :
  HSMul.hSMul (β :=
      Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
        (ObjectProperty.FullSubcategory.obj (P :=
          CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
          (structureSheafInType R M))
        (op (basicOpen s)))
      (s ^ n)
      ((IsLocalizedModule.lift (Submonoid.powers s) (LocalizedModule.mkLinearMap (Submonoid.powers s) M)
              (toOpenₗ R M (basicOpen s)) ⋯ :
            (a : LocalizedModule.Away s M) → (structureSheafInType R M).obj.obj (op (basicOpen s)))
          (LocalizedModule.mk f
            (Subtype.mk (p := fun (x : R) ↦ Membership.mem (γ := Submonoid R) (Submonoid.powers s) x) (s ^ n) ⋯)) :
        Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
          (ObjectProperty.FullSubcategory.obj (P :=
            CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
            (structureSheafInType R M))
          (op (basicOpen s))) =
    HSMul.hSMul (β :=
      Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
        (ObjectProperty.FullSubcategory.obj (P :=
          CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
          (structureSheafInType R M))
        (op (basicOpen s)))
      (s ^ n) (const f (s ^ n) (basicOpen s) ⋯)
⊢ Eq (α :=
    Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
      (ObjectProperty.FullSubcategory.obj (P :=
        CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
        (structureSheafInType R M))
      (op (basicOpen s)))
    ((((algebraMap R
                  (Module.End R
                    (Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
                      (ObjectProperty.FullSubcategory.obj (P :=
                        CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
                        (structureSheafInType R M))
                      (op (basicOpen s)))) :
                (a : R) → Module.End R ((structureSheafInType R M).obj.obj (op (basicOpen s))))
              (s ^ n) :
            Module.End R
              (Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
                (ObjectProperty.FullSubcategory.obj (P :=
                  CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
                  (structureSheafInType R M))
                (op (basicOpen s)))) :
          (a : (structureSheafInType R M).obj.obj (op (basicOpen s))) →
            (structureSheafInType R M).obj.obj (op (basicOpen s)))
        ((toBasicOpenₗ R M s : (a : LocalizedModule.Away s M) → (structureSheafInType R M).obj.obj (op (basicOpen s)))
          (LocalizedModule.mk f
            (Subtype.mk (p := fun (x : R) ↦ Membership.mem (γ := Submonoid R) (Submonoid.powers s) x)
              ((fun (x : ℕ) ↦ s ^ x) n) ⋯))) :
      Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
        (ObjectProperty.FullSubcategory.obj (P :=
          CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
          (structureSheafInType R M))
        (op (basicOpen s)))
    ((((algebraMap R
                  (Module.End R
                    (Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
                      (ObjectProperty.FullSubcategory.obj (P :=
                        CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
                        (structureSheafInType R M))
                      (op (basicOpen s)))) :
                (a : R) → Module.End R ((structureSheafInType R M).obj.obj (op (basicOpen s))))
              (s ^ n) :
            Module.End R
              (Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
                (ObjectProperty.FullSubcategory.obj (P :=
                  CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
                  (structureSheafInType R M))
                (op (basicOpen s)))) :
          (a : (structureSheafInType R M).obj.obj (op (basicOpen s))) →
            (structureSheafInType R M).obj.obj (op (basicOpen s)))
        (const f
          (↑(Subtype.mk (p := fun (x : R) ↦ Membership.mem (γ := Submonoid R) (Submonoid.powers s) x)
                ((fun (x : ℕ) ↦ s ^ x) n) ⋯) :
            R)
          (basicOpen s) ⋯) :
      Functor.obj (C := (Opens (↑(PrimeSpectrum.Top R) : Type u))ᵒᵖ)
        (ObjectProperty.FullSubcategory.obj (P :=
          CategoryTheory.Presheaf.IsSheaf (Opens.grothendieckTopology (↑(PrimeSpectrum.Top R) : Type u)))
          (structureSheafInType R M))
        (op (basicOpen s)))

Tactic:
dsimp [toBasicOpenₗ]

Premises used: _private.0.AlgebraicGeometry.StructureSheaf.toBasicOpenₗ