Gray isometry