Giovanni
It's a recursive formula. Let's suppose you have a 10% tyre wear, you will have lap after lap:
100-10%(100)=100-10=90
90-10%(90)=90-9=81
81...
The exact formula is 100*e^-(0.01*x*laps) where x is the percentage of tyre wear. Keep in mind that nobody knows if tyre wear is 4.9 or 5.1 so you cannot know the exact value for each lap...
Thank you! That helps.