Local infimum and a family of maximum principles in optimal control