.U.S. stocks increased, led by the tech-heavy Nasdaq Composite, after the July producer-price index demonstrated that factory-gate inflation slowed down a little coming from June.