Einstein himself realized that a static infinite universe uniformly filled with matter didn’t obey his new gravity equations. So what did he do? Surely, he’d learned the key lesson from Newton to boldly extrapolate, figuring out what sort of universe did obey his equations, and then asking whether there were observations that could test whether we inhabit such a universe.