The infinite-genus limit of the KdV-Whitham equations is derived. The limit
involves special scaling for the associated spectral surface such that the
integrated density of states remains finite as N→∞ (the
thermodynamic type limit). The limiting integro-differential system describes
slow evolution of the density of states and can be regarded as the kinetic
equation for a soliton gas