1 Start with the objects
2 Apply the rules
Each arrow gives the output for one input. Each rule acts on all the objects.
3 Inspect the valid groupings
Select a grouping below. Its matching node lights up in the shape.
Why does a different grouping fail?
4 Read the mathematical shape
Each node is a whole grouping. Moving upward merges groups. Lines connect allowed groupings with no allowed grouping between them. These lines describe order; they are different from rule arrows. Scroll sideways to see wide diagrams. Focus the diagram and use the left and right arrow keys when using a keyboard.
Why do the saved N5 rules produce exactly five groupings? →
A source-linked example with its own Lean proof. Its grouping family matches this entry after renaming, while its rule tables differ.
Open this entry’s technical details and certificate
The minimum below fixes this carrier, these exact relations, and unary operations. It does not optimize over larger carriers or operations with several inputs.