Densities of coherent pair colors #
pairColorDensity S c s t is the proportion of ordered distinct pairs in s ×ˢ t with
color c. The denominator excludes the diagonal even when the cells overlap. An empty
support has density zero; consequently the palette densities sum to one only when there
is at least one distinct pair. Reversing the cells reverses the palette color.
These densities supply the pair factors in predictions for colored hypergraph counts.
The density of a color among the ordered distinct pairs in two finite vertex sets. It is zero when no distinct pair exists.
Instances For
Pair-color density is the color count divided by the distinct-pair count.
Multiplying density by the size of its distinct-pair support recovers the color count. This also holds for empty support, when both sides vanish.
For disjoint sets, every pair in s ×ˢ t is a distinct pair, so the density times
#s * #t is the color count.
On disjoint sets, pair-color density agrees with the density of the relation selecting that color. This identifies the distinct-pair and Cartesian-product normalizations.
Pair-color densities are nonnegative.
A color occupies at most the whole distinct-pair support.
With no distinct pairs, every color has density zero.
Palette densities sum to one on nonempty distinct-pair support. Nonempty cells alone do not suffice, as the coincident-singleton case shows.
Palette densities sum to at most one: to one on nonempty distinct-pair support, and to zero otherwise.
Reversing both the ordered cells and the palette color preserves density.
Pair-color density depends only on the colors on the tested rectangle.
Restriction along an embedding preserves every pair-color density on the image sets, including overlapping sets and empty distinct-pair supports.