For me in the end, it's those realities that come pay me a visit when the mind wanders. To add to it, I use to relish the fun and imagination a wandering mind brought to my day. Now it's nothing more than a pain point.
I've recently read this article on Reddit [0], and it has some excellent points/advice. Please read through it. If you do like what he has to say, then one way to follow this advice is to look into the concept of Mindfulness, specifically as put forward by Vipassana meditation [1].
[0] https://www.reddit.com/r/OCD/comments/3oyh06/beat_retroactiv...
[1] I specify Vipassana because the term mindfulness has become a world of hipster woo in recent times, and just looking into the term alone will probably take you nowhere.
If I think about it directly, I find it a saddening for a very brief moment, but it's nothing like it once was.
I'm not really sure when or how this changed for me. I'm an extremely monogamous person. I previously had very low self esteem. It was definitely in part a reflection of my insecurities.
I take 10mg of citalopram a day and underwent CBT partway through university due to undiagnosed anxiety, so perhaps this has played a role in my recovery.
Hope you both are doing okay, try and be kind to yourselves - I know it can be extremely difficult.
I'm finding this difficult to comment on so intangibly. Try and suspend your convictions as stupid or empty the rest of this might seem.
You really have to change your perspective.
For me, that meant making new memories. I struggled with the reminders of that past relationship. It overlapped very many areas of my life, there were a few I just couldn't avoid and many were dear to me. The good becoming bad in that aftermath, it all seemed tainted by the past, not going anywhere.
I took a new approach altogether in those areas, piece by piece. Sooner or later I stopped having those initial and seemingly involuntary attachments. I don't even recognise it anymore, but I do still remember things and it isn't always bad. It does undo itself in time, with that new perspective.
Those hard facts are a good thing if they are part of a process. Like grieving [1].
Our thoughts determine our feelings. You seem to have a great awareness of your situation which has always been a good starting point on many things for me. You can challenge your reality, the present moment being based on what you're making of the past and not a whole lot else (or so it seems).
Fwiw, I think it's a form of bitter competitiveness. It is reduced by having more diverse sexual experience and by one's partner not dwelling on their past and showing they treat you better than they treated their ex.
I agree with your premise, that it probably grows out of an evolutionary need, but the treatment you mention is flat out wrong for most people who have the issue.