WorksMathematics
A finite-delay code for lexicographic graph products
Abstract
For all finite simple graphs, the strong product and both ordered lexicographic products have the same Shannon capacity, answering a question of Sason. An explicit code conversion delays one component by a single block, with rate loss tending to zero. The equality extends to arbitrary mixtures of the two products and survives adjoining an additional strong-product factor.
Introduction
Background and the source problem
In zero-error communication, a message must be decoded correctly for every output that the channel can produce. Shannon’s graph formulation records which input symbols can be confused [1]. The vertices of a finite simple graph are the input symbols, and two distinct vertices are adjacent when some channel output could have arisen from either symbol. A set of messages can be transmitted in one use precisely when its symbols form an independent set, that is, a set of pairwise nonadjacent vertices. Thus the maximum number of messages in one use is the independence number .
Longer words can use the alphabet more efficiently. For independent uses, two words can be confused if their symbols are equal or adjacent in every coordinate. The corresponding graph is the strong power . A zero-error code is therefore an independent set in this graph: every pair of codewords must have a coordinate with distinct, nonadjacent symbols. The Shannon capacity measures the exponential growth of the largest such codes,
Concatenation of codes proves the equality between the limit and the supremum; the argument is recalled in Lemma 2.1. For a graph with at least one vertex, is the achievable zero-error rate in bits per use. The survey of Körner and Orlitsky [4] gives the broader information-theoretic background.
The question considered here concerns two ways of combining the same symbol alphabets and . In the strong product, the two components are transmitted in parallel: the receiver can distinguish two pairs as soon as either component distinguishes them. In the lexicographic product, the first component selects a class and the second selects a symbol within that class. Confusable classes are joined completely, so an outer confusion hides every inner distinction. This is the hierarchical communication model discussed by Sason [3 Section 1].
Definition 1.1 (Strong and lexicographic products). Write when or . Both products have vertex set . Distinct pairs and are adjacent in the strong product if
and they are adjacent in the lexicographic product if
The strong power is the -fold strong product of .
These are the conventions of [3 Definitions 1, 2 and 5]. For example, suppose and are adjacent, whereas and are distinct and nonadjacent. The symbols and are distinguishable in , but confusable in . Every strong-product edge is also a lexicographic-product edge, and adding confusions cannot improve a code. Hence
This can be a genuine loss for a single use. The pentagon satisfies and ; § 3.1 recalls the elementary example. The issue is whether this loss persists in the exponential growth rate of long codes.
Sason [3, Theorem 6, equations (71)–(72)] proves
The two product capacities consequently agree whenever the right-hand side equals . The unresolved case is joint coding that outperforms separate codes for the two factors. Since reversing the factors changes the lexicographic confusability rule, Sason asks whether both ordered products can lose capacity.
Question 1.2 ([3 Section 6, equation (145)]). Do there exist finite simple graphs , such that
Contribution
The loss of distinguishability in one use can always be recovered by rearranging the components of a longer code. The result has the following two forms.
For every pair of finite simple graphs,
(Theorem 3.2).
Thus Question 1.2 has a negative answer, including for the graph–complement families proposed in [3 equation (160)]. The identity concerns the two product operations; their common capacity may still exceed .
The same comparison holds after adjoining any strong-product factor , and for any expression formed by mixing strong and lexicographic products (Theorem 4.2). For instance,
More generally, the capacity of a parenthesized product depends only on its list of graph factors, not on which of the two operations is used at each step or on the order of the factors.
The mechanism is a one-block delay. Start with any length- code for ; its codewords are pairs of words . To transmit a list of codewords, shift the outer words one block to the right:
| output block | 1 | 2 | 3 | ||
| outer word | |||||
| inner word |
Table 1.
The two boundary words are fixed in advance. To compare two messages, look at their first different input block, say . If its inner words distinguish the messages, that distinction appears in output block , where the preceding outer words still agree. If its outer words distinguish them, that distinction appears in block and survives regardless of the inner words. One of these cases always holds because is an independent code.
All input lists can therefore be transmitted in blocks over . The output rate is times the input rate, and this factor tends to one. This works for every input code, so no finite code attaining capacity is needed. With graph factors, successive delays , , , protect each component in the same way and cost extra blocks. All words are chosen before transmission; the construction uses no feedback.
Related work
The distinction between one-use and asymptotic coding is central to Shannon’s original pentagon example [1]. Two independent one-use codes provide four words in , while a joint code has five; Lovász proved the exact capacity [2 Theorems 1–2]. More generally, Alon and Lubetzky [8 Theorems 1–2] show that even a long initial segment of the sequence can be far below its limiting value. Our comparison therefore works with an arbitrary input code, rather than trying to estimate capacity from bounded block lengths. The one-use identity belongs to the classical theory of lexicographic products [7]; its contrast with strong-product coding is illustrated in § 3.1.
There is also an earlier route to the same capacity identity through upper bounds. Zuiddam’s spectral duality theorem writes Shannon capacity as the minimum of a family of graph parameters [9 Theorem 1.1]. Each parameter in this family is normalized on the one-vertex graph, monotone under homomorphisms of complementary graphs, additive under disjoint union, and multiplicative under strong product. Vrana [10 Section 4.4, Proposition 4.4 and the following paragraph] observes that would follow if every such parameter were also multiplicative under lexicographic product. Fritz proves this additional property for a broad construction of fractional invariants, crediting Cox for the argument [11 Proposition 4.13], and records the general assertion as Roberson’s Problem 6.10. The code conversion here establishes the capacity identity directly; it does not require or establish that assertion for every spectral parameter.
Equality between the two product capacities is compatible with a gain from joint coding. Haemers [5] already gives graphs for which . Alon proved that capacity can also be strictly superadditive under disjoint union [6]; Schrijver [12 Theorem 2] proves that these two strict inequalities are equivalent for a fixed pair of graphs. Sason’s Theorem 7 supplies explicit graph–complement families where even the lexicographic-product capacity exceeds this product [3]. The result proved here identifies the full joint capacity for the lexicographic product, including in precisely this regime.
Codes, powers, and elementary comparisons
An independent code in is equivalently a set of words such that each two distinct words have a coordinate containing distinct, nonadjacent vertices of . Such a coordinate will be called a distinguishing coordinate. Definition 1.1 gives two ways to distinguish lexicographic symbols:
In the first case the inner symbols are unrestricted. For two distinct product symbols, failure of equality or adjacency in the strong product is equivalent to a distinction in at least one factor. Thus a distinguishing coordinate in a strong-product code may come from either factor, even if the other factor is adjacent there. This freedom is what the delay construction preserves.
Lemma 2.1. For every nonempty finite graph , the supremum in (1) is a limit. If is a spanning subgraph of , then .
Proof. Put . Concatenating independent codes of lengths and gives an independent code of length , so . Fix and write , with . Concatenate length- codes and fill the remaining positions with a common fixed vertex. The resulting code has size , giving . Hence
Taking the supremum over proves that this lower limit equals the supremum; the reverse inequality for the upper limit follows from its definition. Finiteness follows from .
If is a spanning inclusion, equality or adjacency in implies equality or adjacency in . Thus is a spanning subgraph of for every . Each independent set in the latter is independent in the former. Taking roots and suprema proves the second assertion.
The finite-delay construction
Lemma 3.1 (One extra block). Let be nonempty finite simple graphs. For positive integers ,
Proof. Choose any independent code in and put . The construction will have outputs; choosing a maximum code gives the displayed bound. Write a codeword as , where each bold symbol is a length- word in the corresponding factor graph. Choose common boundary words and .
A message is a list of members of ,
Encode it as the following blocks, each of length over :
Pairing bold words means pairing their coordinates in order. All input inner words are recoverable from the first blocks, and all input outer words from the last blocks. The map is injective and has outputs.
Consider two distinct messages and use primes for the second message. Let be their first differing information block. Then
For this is the common boundary word. For it follows from equality of the preceding information blocks.
The two th codewords are distinct members of . Some coordinate therefore satisfies
If the first condition holds, coordinate of output block distinguishes the two outputs by its outer symbols. The last block in (5) ensures that this remains valid for . If the first condition does not hold, the second does. Coordinate of output block then has equal outer symbols by (6) and distinguishing inner symbols. Both cases satisfy (3). Thus every two different outputs are nonadjacent in the required strong power of . Its independence number is at least .
Theorem 3.2. For all finite simple graphs ,
Proof. For nonempty graphs, fix and put . By (1) and Lemma 3.1,
Letting tend to infinity while is fixed gives . Taking the supremum over gives .
To prove the reverse inequality, consider an edge between distinct pairs in . If its outer vertices differ, they are adjacent in , which is enough for lexicographic adjacency. If they agree, the inner vertices must be distinct and adjacent in , again giving lexicographic adjacency. Thus is a spanning subgraph of , and Lemma 2.1 proves the reverse inequality.
Apply the established equality to . The coordinate swap is an isomorphism , and isomorphisms preserve independent codes in every strong power. This proves all of (7).
If either factor has empty vertex set, all three product graphs are empty. Defining their independence numbers and capacities to be zero gives the same identity.
The pentagon as an example
The classical five-cycle makes the difference between one use and capacity concrete. Label by , with differences defining edges. Its independence number is two: an independent set is disjoint from its translate , so , and attains the bound. An independent set in occupies at most two outer fibers, each containing at most two vertices. The set attains this bound, so .
By contrast, Shannon’s code [1]
is independent in . A difference between indices distinguishes the outer symbols, and a difference distinguishes the inner symbols. This code is optimal. Indeed, for any independent set in the strong product put . Consecutive fibers are disjoint and have no edges between them, and each fiber is independent. Thus their union is independent in , giving . Summing these five inequalities proves . Consequently,
Set . Applying the delay construction to gives the explicit code
in . It has words of length , and . This reaches the capacity: Lovász’s evaluation [2] and the limit in (1) give , because the th strong power of is . Theorem 3.2 therefore gives . The extra confusions reduce the largest one-use code from five to four, but do not reduce capacity.
Mixed products
For more than two factors, an inner distinction must survive every lexicographic product above it. It suffices to arrange that all components to its left agree when that distinction is transmitted. Successive delays achieve this simultaneously for every factor.
An expression below is any parenthesized formula built from graphs using and , for example . Its vertices are naturally tuples with one coordinate for each graph occurrence. List these occurrences from left to right as ; the same graph may occur more than once. We also allow a separate graph joined by a strong product.
Proposition 4.1 (A code for mixed products). Let be an expression in nonempty finite simple graphs , using and as above. For every nonempty finite simple graph and integers ,
Proof. First note a consequence of the product definitions: if two tuples agree in their first coordinates and their th coordinates are distinct and nonadjacent in , the resulting vertices of are nonadjacent. To prove this, induct on the number of graph factors. The one-factor case is the hypothesis itself. Otherwise write , where is either product and uses the first factors. If , induction gives distinct nonadjacent -vertices, which distinguish the two vertices of for either choice of . If , the -vertices agree, and induction gives distinct nonadjacent -vertices. Equality in the first component and a distinction in the second again distinguish the vertices of either product. This proves the assertion.
Take an independent input code of length and size with words . A message is a list of such words, with superscripts . For , the th output block is
The tuples are interpreted coordinate by coordinate as a length- word over : component is delayed by blocks, whereas the -component has no delay. Every component with an index outside is a fixed boundary word, independent of the message. Each is recovered from block , and from block , so the encoding is injective.
For distinct messages let be their first differing information index. The two th words belong to an independent code, so at some coordinate they are distinct and nonadjacent in a factor. If that factor is , output block preserves the distinction. If it is , use output block . For every , the component there comes from information index , or from a common boundary word. These preceding components agree. The observation in the first paragraph therefore preserves the distinction in the evaluated graph . It remains a distinction after taking the strong product with . Thus every pair of outputs is distinguished in some coordinate. There are outputs, proving (8). □
Theorem 4.2 (Capacity equality for mixed products). For all finite simple graphs ,
More generally, for every expression in finite simple graphs using the operations and ,
In particular the capacity of an iterated lexicographic product is unchanged by any permutation of its factors.
Proof. Assume all graphs are nonempty, and put . Proposition 4.1 gives
For fixed , let to obtain the lower bound , and then take the supremum over .
For the reverse bound, the strong product of all factors is a spanning subgraph of . Induct again on the number of factors. For , the inductive inclusions in and imply that the strong product of all factors is a spanning subgraph of . This is when , and is a spanning subgraph of when , by the edge inclusion proved for Theorem 3.2. The one-factor case is equality. Taking a strong product with preserves this inclusion. Lemma 2.1 gives the upper bound in (9). The first identity is the case . Taking to be the one-vertex graph and using coordinate permutations of the pure strong product proves the last assertion. If a factor has empty vertex set, both sides are zero, completing the proof. □
References
- [1]C. E. Shannon, The zero error capacity of a noisy channel, IRE Transactions on Information Theory 2 (1956), no. 3, 8–19. https://doi.org/10.1109/TIT.1956.1056798.
- [2]L. Lovász, On the Shannon capacity of a graph, IEEE Transactions on Information Theory 25 (1979), no. 1, 1–7. https://doi.org/10.1109/TIT.1979.1055985.
- [3]I. Sason, Shannon capacity and related graph invariants for lexicographic products, Entropy 28 (2026), no. 9, article 994. https://doi.org/10.3390/e28090994. All item numbers cited here refer to this journal version. The corresponding open question and candidate-family inequality in arXiv:2608.06573v5 are equations (155) and (170), respectively. https://arxiv.org/abs/2608.06573v5.
- [4]J. Körner and A. Orlitsky, Zero-error information theory, IEEE Transactions on Information Theory 44 (1998), no. 6, 2207–2229. https://doi.org/10.1109/18.720537.
- [5]W. Haemers, On some problems of Lovász concerning the Shannon capacity of a graph, IEEE Transactions on Information Theory 25 (1979), no. 2, 231–232. https://doi.org/10.1109/TIT.1979.1056027.
- [6]N. Alon, The Shannon capacity of a union, Combinatorica 18 (1998), 301–310. https://doi.org/10.1007/PL00009824.
- [7]D. Geller and S. Stahl, The chromatic number and other functions of the lexicographic product, Journal of Combinatorial Theory, Series B 19 (1975), 87–95. https://doi.org/10.1016/0095-8956(75)90076-3.
- [8]N. Alon and E. Lubetzky, The Shannon capacity of a graph and the independence numbers of its powers, IEEE Transactions on Information Theory 52 (2006), no. 5, 2172–2176. https://doi.org/10.1109/TIT.2006.872856; https://arxiv.org/abs/cs/0608021.
- [9]J. Zuiddam, The asymptotic spectrum of graphs and the Shannon capacity, Combinatorica 39 (2019), 1173–1184. https://doi.org/10.1007/s00493-019-3992-5; https://arxiv.org/abs/1807.00169v2.
- [10]P. Vrana, Probabilistic refinement of the asymptotic spectrum of graphs, Combinatorica 41 (2021), 873–904. https://doi.org/10.1007/s00493-020-4324-5; https://arxiv.org/abs/1903.01857.
- [11]T. Fritz, A unified construction of semiring-homomorphic graph invariants, Journal of Algebraic Combinatorics 54 (2021), 693–718. https://doi.org/10.1007/s10801-020-00983-y; https://arxiv.org/abs/1901.01090v3.
- [12]A. Schrijver, On the Shannon capacity of sums and products of graphs, Indagationes Mathematicae 34 (2023), 37–41. https://doi.org/10.1016/j.jindag.2022.08.009; https://arxiv.org/abs/2204.06853.