WASHINGTON (AP) — Donald Trump laid out economic ideas in a speech in Pennsylvania on Tuesday that did not always deal squarely with economic realities. A look at some of his statements and how they compare with the facts:

TRUMP: "When subsidized foreign steel is dumped into our markets, threatening our factories, the politicians have proven, folks, have proven they do nothing."

THE FACTS: Not exactly nothing.

The Obama administration slapped Chinese steelmakers with a combined 522 percent penalty this year.

Buttressed by government subsidies, Chinese mills churned out too much of the cold-rolled steel used for autos and other products. So the Chinese firms slashed steel prices and dumped their steel on U.S. shores. This prompted a complaint by five U.S. steelmakers in 2015, which the Commerce Department investigated as required before announcing the first of the new duties in March.

If Trump has any bone to pick, it might be that the required investigation took too long to protect U.S. mills fully from the Chinese dumping.

___

TRUMP: "We tax and regulate and restrict our companies to death, then we allow foreign countries that cheat to export their goods to us tax-free. As a result, we have become more dependent on foreign countries than ever before."

THE FACTS: Dependence cuts both ways.

Those same foreign factories depend on U.S. customers for their products. So the same argument could be made that China has grown more dependent on the United States.

This includes Wal-Mart shoppers who prefer lower prices, rather than products made domestically. The Associated Press confirmed this preference in a survey this year that found roughly two-thirds of Americans would rather buy $50 pants sewn in Asia than $85 pants sewn in the United States. If prices rise too high, Americans will spend less and economic growth will slow.

Nor are foreign and U.S. factories necessarily in direct competition. Roughly half of imported goods are used by U.S. companies to put together finished products, according to the American Action Forum, a center-right advocacy organization.

___

TRUMP: "Today, we import nearly $800 billion more in goods than we export. This is not some natural disaster. It is a politician-made disaster."

THE FACTS: That's in the ballpark, but not the whole trade story.

The trade deficit on goods was $762.6 billion in 2015. But he neglects to include the valuable services that foreigners buy from U.S. firms. Those services reduced the total trade deficit to roughly $500 billion, according to the Census Bureau.

It's hard to see the problem as the sole fault of politicians. Many businesses chose to relocate their factories abroad in order to increase their profits, while others kept their production in the United States. Trump himself outsourced the stitching of his neckties and branded clothing to China, among other countries.

___

TRUMP: "This wave of globalization has wiped out our middle class."

THE FACTS: He's right that some of the blame for setbacks suffered by the blue-collar middle class belongs with outsourcing and offshoring to countries with cheaper wages. But the global economy does not deserve all of the blame.

Trump's explanation ignores other seismic shifts in the U.S. economy.

Millions of routine jobs have disappeared due to automation, among them assembly line work and office jobs, such as executive secretaries replaced by email and voicemail. Research by economists Henry Siu and Nir Jaimovich found that jobs have been prone to elimination because of automation since recessions in the 1990s.

Employers have also placed a greater value on higher education, leaving in the lurch those who have only high school degrees. The unemployment rate for college graduates is a low 2.4 percent, while 5.1 percent for high school graduates and 7.1 percent for high school dropouts.

___

TRUMP: "We are one of the highest taxed nations in the world."

THE FACTS: This repeated claim by Trump is wrong. The U.S. tax burden is actually one of the lowest among the 34 developed and large emerging-market economies that make up the Organization for Economic Cooperation and Development.

Taxes made up 26 percent of the total U.S. economy in 2014, according to the OECD. That's far below Sweden's tax burden of 42.7 percent, Britain's 32.6 percent or Germany's 36.1 percent. Only three OECD members had a lower figure: Chile, South Korea and Mexico.

___

Associated Press writer Cal Woodward contributed to this report.