Cosmological inference from an emulator based halo model. I. Validation tests with HSC and SDSS mock catalogs | Publicación