See https://www.law.cornell.edu/cfr/text/26/1.179-3
Also, bonus depreciation can create an NOL.
View solution in original post