The S&P 500 and the Dow closed at record highs on Tuesday, powered by the latest batch of earnings from AI-related companies such as Caterpillar and Palantir that assuaged demand concerns, while crude prices and Treasury yields dropped on hopes for a deal in the Iran war. Palantir Technologies soared 29.5% and recorded its biggest daily percentage gain since February 2024, after raising its annual revenue forecast. Caterpillar, seen as a bellwether for the global industrial economy,…