Prove index_after_last