∀ {R : Type u} {A : Type v} {B : Type w} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (toRingHom : A →+* B)
  (commutes' : ∀ (r : R), (↑↑toRingHom).toFun ((algebraMap R A) r) = (algebraMap R B) r) (toRingHom_1 : A →+* B)
  (commutes'_1 : ∀ (r : R), (↑↑toRingHom_1).toFun ((algebraMap R A) r) = (algebraMap R B) r),
  ({ toRingHom := toRingHom, commutes' := commutes' } = { toRingHom := toRingHom_1, commutes' := commutes'_1 }) =
    (toRingHom = toRingHom_1)