False Theorem: Let X be a complex Banach space, UC open and connected and f:UX holomorphic. If f has a global maximum, then f is constant.

False Proposition: In the same situation as above: If f is constant, then f is constant.

Counter example (to both): Let X:=(C2,) (maximum norm). Let U={zC:|z|<1} and define f:UX by f(z):=(1,z). Then f is holomorphic, since both component functions are. Furthermore for all zC:f(z)=max{|z|,1}=1. Therefore f is constant. However f is not constant.