I responded to a similar question here
There's also a brief discussion about the trap success rate increase on the official Pet Battle Forums
TLDR: The success rate at which the trap increases is not a flat percentage. Instead, it's a percentage of your previous catch. This is why it can take more than 4 or 5 attempts to finally be successful.