Vector maximum principle