Title: An inequality for vector-valued martingales and its applications