In the framework of multidimensional f(R) gravity, we study the metrics of
compact extra dimensions assuming that our 4D space has the de Sitter metric.
Manifolds described by such metrics could be formed at the inflationary and
even higher energy scales. It is shown that in the presence of a scalar field,
varying in the extra factor space M2β, it is possible to obtain a
variety of inhomogeneous metrics in M2β. Each of these metrics leads
to a certain value of the 4D cosmological constant Ξ4β, and in
particular, it is possible to obtain Ξ4β=0, as is confirmed by
numerically obtained solutions. A nontrivial scalar field distribution in the
extra dimensions is an important feature of this family of models.Comment: 15 pages, 9 figure