Yes, the market cap of the company is lowered by the amount it spends on the buy back, however the value per share stays the same. A year later the profit from the new year is included in the market cap which is divided by a lowet number of shares. This means the value of a single share is now higher while the market cap is the same as in the beginning.
Or am i missing something?