t with respect to such investment, then the tax imposed by this chapter for the taxable year in which such event occurs shall be increased by the credit recapture amount.???(2) CREDIT RECAPTURE AMOUNT- For purposes of paragraph (1), the credit recapture amount is an amount equal to the sum of--???(A) the aggregate decrease in the credits allowed to the taxpayer under section 38 for all prior taxab