Deductions & credits

look at form 8812 

 

it's the smaller of $2000 subject to phase out or your tax liability, regular + any AMT,  reduced by foreign tax credit, and other nonrefundable personal credits.