I disagree, Pokemon levels could easily be capped at L40 while increasing the XP Levels obtainable in the game for further Levels. They don’t have to be linked.
I still maintain what I posted a while ago in another thread that 5Mil XP for each level past 40 up to say 45 or 50 than increase it by another 2.5Mil to for each Level after than and so on by another 2.5Mil. The rate of leveling up would be quite slow but it would still be an aiming point.
As for a response to the OP with the current Max cap of 40. All you can do is Grind the Dust, Catch and Power up better Pokemon.Maxing the best ones out to absolute full time takes a lot of time. The bigger the collection, the longer it’s going to take.
I have at lest 20 Pokemon I’d like to max out right now but the 1.3Mil Dust I’m currently sitting on will only cover 5 of them