Spontaneous symmetry breaking in a time-dependent space-time