Put . The restriction has image and kernel . By the rank-nullity theorem,
Since its image is contained in , this proves the upper bound. Also , giving the rank inequality for a composition:
Examples on distinguish the inequalities. Taking gives equality in both. Taking and gives composition rank zero, strictly below the upper bound 1 and equal to the lower bound 0. Taking gives rank 1, strictly above the lower bound 0 and equal to the upper bound 1.
For the final nilpotent linear map, repeated application of the lower bound gives . Since , another application gives
The two bounds coincide, yielding
In fact the same formula includes . For the requested index range is empty and the assumptions force .