Dimensional reduction of the gauge field theory