{A : Type u_6} →
  {B : Type u_7} →
    [inst : Monoid A] →
      [inst_1 : Star A] →
        [inst_2 : Monoid B] →
          [inst_3 : Star B] →
            {motive : (A →⋆* B) → Sort u} →
              (t : A →⋆* B) →
                ((toMonoidHom : A →* B) →
                    (map_star' : ∀ (a : A), (↑toMonoidHom).toFun (star a) = star ((↑toMonoidHom).toFun a)) →
                      motive { toMonoidHom := toMonoidHom, map_star' := map_star' }) →
                  motive t