So I tried out
this half-article half-game about discrimination, and I just stumbled across the perfect solution to equality.
The basic problem in the game is that triangles don't like being surrounded by squares and squares feel the same way as triangles. As long as there's a few triangles nearby, they feel cool. The problem is, this results in segregation.
There is a slider for when they'll move. Like, if less then 50% of their neighbors are the same shape, they'll move. They also have a simulation with a helpful graph for axises for time and segregation.
After a bit of fooling about, I set it so that they would move if even one of their neighbors was different from them. And guess what? Segregation went down! I put into a society that was completely segregated to see the results.
Segregation started at 50%, perfectly divided. However, it quickly began to go down as the people on the borderlands between the squares and the triangles got freaked out because they were beside three opposing shapes. So, they fled to elsewhere. This resulted in a cycle where a safe haven for a particular shape slowly got chipped away by a cycle of fleeing similar shapes and invading opposite shapes, making the haven slowly shrink until it got down to around four similar shapes surrounded by opposing shapes, causing them to immediately flee.
This resulted in a total flatlining of segregation somehow. As the moving around continued, sometimes segregation would make a feeble comeback but would then die as the cycle of flee and invade cropped up again, barely reaching the 10% mark let alone 50%.
Basically, if we want a totally equal society where no neighborhood is segregated, we need to get
very racist. I don't mean "I'm not racist but...", I mean "OH GOD THERE'S SOMEONE WHO ISN'T EXACTLY LIKE US IN THE NEIGHBORHOOD PACK YOUR BAGS". This will result in a situation where everyone is either miserable because they're surrounded by people they despise or bored because they're surrounded by people exactly like them.
... Also, this simulation doesn't include violent action or people just banning opposing shapes from ever being near them. So doing this would probably result in several terrible wars and genocides.
You know what, the real WTF is that I actually tried to think this through.