Optimal Equivariant Matchings on the 6-Cube with an Application to the King Wen Sequence
This paper demonstrates that the historically significant King Wen sequence of the I Ching corresponds to a unique optimal equivariant perfect matching on the 6-cube that minimizes Hamming distance under a reverse-priority rule while preserving Hamming weight, a result formally verified using Lean 4.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a giant box of 64 unique cards. Each card has six slots, and in every slot, there is either a Solid Line (let's call it a "1") or a Broken Line (a "0"). This is the ancient Chinese system of the I Ching, where each card is a "hexagram."
The paper asks a simple but tricky question: How do we best pair these 64 cards up into 32 couples?
The rules of pairing are strict. You can only pair two cards if they are related in one of two specific ways:
- The Mirror Rule (Reversal): The second card is the first card read backward (like looking in a mirror).
- The Opposite Rule (Complement): The second card is the exact opposite of the first (every Solid becomes Broken, and every Broken becomes Solid).
The Problem: Finding the "Cheapest" Pairs
The author wants to find the pairing that minimizes the "effort" or "distance" between the couples. In math terms, this is called Hamming distance.
- If you pair a card with its Opposite, you have to change all 6 lines. That's a lot of work (Distance = 6).
- If you pair a card with its Mirror, you usually only have to change a few lines (Distance = 2 or 4). Sometimes, if the card is a perfect palindrome (reads the same forward and backward), the mirror is the card itself, so you can't use that rule.
The Dilemma:
If you just greedily pick the "cheapest" partner for every card, you might run into a conflict. For example, if Card A wants to pair with Card B, but Card B is already taken by Card C, you have a mess. Usually, in these types of puzzles, local choices create global chaos.
The Surprise Discovery:
The paper proves that for these 64 cards, chaos doesn't happen. There is a perfect, conflict-free strategy called the "Reverse-Priority Rule":
- Look at a card. Can you pair it with its Mirror?
- Yes? Do it! It's almost always cheaper (less work) than the Opposite.
- No? (This only happens if the card is a perfect palindrome, meaning it looks the same in the mirror).
- Then: Pair it with its Opposite.
This simple rule creates a unique, perfect set of 32 couples that requires the least amount of "change" possible under these specific rules. The total "work" required is 120. If you had just paired everyone with their Opposite (ignoring mirrors), the work would be 192.
The Ancient Connection: The King Wen Sequence
Here is the cool part: This mathematical "best way" of pairing cards is exactly the same as the traditional ordering used in the I Ching for thousands of years, known as the King Wen sequence.
The ancient sages didn't have computers or math formulas, but they intuitively (or by some lost logic) arranged the 64 hexagrams into pairs that follow this exact "Mirror-first, Opposite-second" rule. The paper confirms that the King Wen sequence is the mathematically optimal solution for minimizing the difference between paired cards.
The Twist: What if we allow a third option?
The paper also asks: "What if we allow a third type of pairing?"
Imagine a card that is the Opposite of its Mirror.
- If we allow this "Double-Flip" pairing, we can actually lower the total work even further, down to 96.
- However, this new, ultra-efficient pairing breaks a different rule: Balance.
In the I Ching, the number of Solid lines represents "Yang" (active) and Broken lines represent "Yin" (passive).
- The Mirror rule keeps the balance of Yin and Yang exactly the same (if you have 3 Solids, your mirror partner also has 3 Solids).
- The Opposite and Double-Flip rules usually mess up the balance (if you have 3 Solids, your partner might have 1 or 5).
The paper argues that the King Wen sequence is special because it prioritizes keeping the Yin-Yang balance first, and only then tries to minimize the work. It's like saying, "I want my dance partners to have the same number of steps (balance), and among those, I want the ones who are closest to me (distance)."
The "Phase Boundary"
The author uses a fancy term called a "phase boundary" to describe this. Imagine a scale:
- On one side, you care mostly about Balance (Yin/Yang). The King Wen rule wins here.
- On the other side, you care only about Distance (how many lines change). The "Double-Flip" rule wins here.
The paper shows that the King Wen sequence sits perfectly on the side where Balance is more important than Distance.
Summary
- The Puzzle: Pair 64 binary cards using only Mirrors or Opposites.
- The Solution: Always pick the Mirror if possible; if not, pick the Opposite.
- The Result: This creates the most efficient pairing (lowest total change) possible under these rules.
- The History: This exact mathematical solution is the ancient King Wen sequence of the I Ching.
- The Reason: The ancient sequence isn't just random; it optimizes for preserving the balance of Yin and Yang (Hamming weight) while also keeping the cards as similar as possible.
The paper essentially proves that an ancient mystical ordering system is actually a brilliant, optimal mathematical algorithm for organizing information.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.