If were not continuous at , there would be and with . A compact metric space is sequentially compact, so some subsequence converges to . The closed graph then contains its product limit , forcing , contrary to the lower bound. Thus is continuous, the compact-codomain form of the closed graph theorem for compact spaces.