Give the Riemannian product of the unit round metric and the Euclidean metric. It is complete and has infinite diameter. The round sphere has scalar curvature , while the line has scalar curvature ; scalar curvature is additive under Riemannian products, so
Thus this manifold has a strictly positive uniform lower bound on scalar curvature but violates the conclusion of the Bonnet-Myers theorem. Its Ricci curvature vanishes in the direction, showing precisely why a scalar-curvature bound is insufficient.
The Cheeger-Gromoll splitting theorem states that a complete connected Riemannian manifold with nonnegative Ricci curvature that contains a line in a Riemannian manifold is isometric to a Riemannian product
The Hadamard-Cartan theorem states that if a complete simply connected Riemannian manifold has nonpositive sectional curvature, then for every point its exponential map
is a diffeomorphism. In particular, the manifold is diffeomorphic to Euclidean space and is contractible.