{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] →
                  [inst_6 : Star B] →
                    {motive : (A →⋆ₙₐ[R] B) → Sort u} →
                      (t : A →⋆ₙₐ[R] B) →
                        ((toNonUnitalAlgHom : A →ₙₐ[R] B) →
                            (map_star' :
                                ∀ (a : A), toNonUnitalAlgHom.toFun (star a) = star (toNonUnitalAlgHom.toFun a)) →
                              motive { toNonUnitalAlgHom := toNonUnitalAlgHom, map_star' := map_star' }) →
                          motive t