SubHalo Abundance Matching (SHAM) assumes that one (sub)halo property, such
as mass Mvir or peak circular velocity Vpeak, determines properties of the
galaxy hosted in each (sub)halo such as its luminosity or stellar mass. This
assumption implies that the dependence of Galaxy Luminosity Functions (GLFs)
and the Galaxy Stellar Mass Function (GSMF) on environmental density is
determined by the corresponding halo density dependence. In this paper, we test
this by determining from an SDSS sample the observed dependence with
environmental density of the ugriz GLFs and GSMF for all galaxies, and for
central and satellite galaxies separately. We then show that the SHAM
predictions are in remarkable agreement with these observations, even when the
galaxy population is divided between central and satellite galaxies. However,
we show that SHAM fails to reproduce the correct dependence between
environmental density and g-r color for all galaxies and central galaxies,
although it better reproduces the color dependence on environmental density of
satellite galaxies.Comment: 21 pages, 11 figures. Accepted for publication in MNRA