{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} →
                    {P : Sort u} →
                      {toNonUnitalAlgHom : A →ₙₐ[R] B} →
                        {map_star' : ∀ (a : A), toNonUnitalAlgHom.toFun (star a) = star (toNonUnitalAlgHom.toFun a)} →
                          {toNonUnitalAlgHom' : A →ₙₐ[R] B} →
                            {map_star'' :
                                ∀ (a : A), toNonUnitalAlgHom'.toFun (star a) = star (toNonUnitalAlgHom'.toFun a)} →
                              { toNonUnitalAlgHom := toNonUnitalAlgHom, map_star' := map_star' } =
                                  { toNonUnitalAlgHom := toNonUnitalAlgHom', map_star' := map_star'' } →
                                (toNonUnitalAlgHom ≍ toNonUnitalAlgHom' → P) → P