Madrid's diverse architecture, while not the equal of a Paris or London, traces the city's stages of expansion and prevailing styles of the different eras.
The architecture of Madrid does not rival that of London or Paris. 
Madrid's architecture is equal to the architecture in Paris.