Suppose $M$ is a Riemannian Manifold such that each point has a coordinate chart into $\mathbb{R}^n$ that is an isometry, in the sense that the inner products are preserved. Does this imply that $M$ is locally flat in the sense that is vanishing Gaussian curvature?
I really don't know much about differential geometry, but my impression is that this is Gauss' Theorema Egregium (or a corollary thereof), which is sometimes stated as 'Gaussian curvature is invariant under isometry'. Does this mean isometry in the sense that lenghts of paths are preserved (i.e. as metric spaces)? Or in the sense above that inner products are preserved? Or even more?Perhaps, does the coordinate chart need to be smoother than just smooth enough to formulate that it is an isometry? For example, the Wikipedia entry on Gaussian curvature gives a formula that contains second derivatives, so does the version of the Theorema that I cited above only hold for $C^2$ isometries?
An isometry in the sense that the Riemannian metric (scalar product) is preserved is also a local isometry in the sense of geodesic distance, which is not too difficult to see since it preserves locally the length of curves (this does require some reasoning to make it strict, though). Since the Riemannian curvature tensor can be calculated in terms of the metric and the deriviates of the metric up to second order (and is a tensor field, i.e. it depends only on the geometry and is especially independent of choice of coordinates), the curvature tensor will vanish if a Riemannian manifold is locally isometric to Euclidean space in this sense. The converse is also true but harder to show (see, e.g. Spivak, Comprehensive introduction into Differential Geometry, vol 2, theorem 4.13).
Since the Gauss curvature may be expressed using the metric and the curvature tensor, it will also vanish. A global isometry cannot be expected, though, since (e.g.) on a two-dimensional cylinder ($S^1\times \mathbb{R}$) of infinite lenght you can easily write down a metric which makes this locally isometric to $\mathbb{R^2}$