Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.StrongProduct

Strong products of simple graphs and the independence number #

The strong product G ⊠ H of simple graphs G on V and H on W is the graph on V × W in which two distinct vertices are adjacent when each coordinate is equal or adjacent. The strong power G.strongPow k is the analogous graph on words Fin k → V. In Shannon's zero-error model, G is the confusability graph of a channel, G.strongPow k is the confusability graph of words of length k, and an independent set of G.strongPow k is a zero-error code of block length k [Sha56].

The independence number is supermultiplicative under the strong product: a product of independent sets is independent (SimpleGraph.indepNum_mul_le_indepNum_strongProd). Since G.strongPow (m + n) ≃g G.strongPow m ⊠ G.strongPow n (SimpleGraph.strongPowAddIso) and the independence number is invariant under isomorphism (SimpleGraph.Iso.indepNum_eq), the independence numbers of the strong powers are supermultiplicative (SimpleGraph.indepNum_strongPow_add).

The notation ⊠ is scoped to SimpleGraph (use open SimpleGraph) because CategoryTheory uses the same symbol. The name and notation follow the open Mathlib pull request mathlib4#43170, which defines G ⊠ H as G □ H ⊔ G ×g H in Mathlib/Combinatorics/SimpleGraph/Prod.lean; here the adjacency is stated directly.

Main definitions #

Main results #

References #

def SimpleGraph.strongProd {V : Type u_1} {W : Type u_2} (G : SimpleGraph V) (H : SimpleGraph W) :

The strong product of G and H: distinct pairs are adjacent when each coordinate is equal or adjacent.

The strong product of G and H: distinct pairs are adjacent when each coordinate is equal or adjacent.

@[simp]
theorem SimpleGraph.strongProd_adj {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} {x y : V × W} :
(G.strongProd H).Adj x y ↔ x ≠ y ∧ (x.1 = y.1 ∨ G.Adj x.1 y.1) ∧ (x.2 = y.2 ∨ H.Adj x.2 y.2)
def SimpleGraph.strongPow {V : Type u_1} (G : SimpleGraph V) (k : ℕ) :
SimpleGraph (Fin k → V)

The k-th strong power of G, on words of length k: distinct words are adjacent when they are equal or adjacent in every coordinate.

@[simp]
theorem SimpleGraph.strongPow_adj {V : Type u_1} {G : SimpleGraph V} {k : ℕ} {x y : Fin k → V} :
(G.strongPow k).Adj x y ↔ x ≠ y ∧ ∀ (i : Fin k), x i = y i ∨ G.Adj (x i) (y i)
theorem SimpleGraph.eq_or_strongProd_adj {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} {x y : V × W} :
x = y ∨ (G.strongProd H).Adj x y ↔ (x.1 = y.1 ∨ G.Adj x.1 y.1) ∧ (x.2 = y.2 ∨ H.Adj x.2 y.2)
theorem SimpleGraph.eq_or_strongPow_adj {V : Type u_1} {G : SimpleGraph V} {k : ℕ} {x y : Fin k → V} :
x = y ∨ (G.strongPow k).Adj x y ↔ ∀ (i : Fin k), x i = y i ∨ G.Adj (x i) (y i)
def SimpleGraph.strongPowAddIso {V : Type u_1} (G : SimpleGraph V) (m n : ℕ) :

Splitting a word of length m + n into its first m and last n letters is an isomorphism G.strongPow (m + n) ≃g G.strongPow m ⊠ G.strongPow n.

Words of length one are letters: G.strongPow 1 ≃g G.

The independence number #

Supermultiplicativity of the independence number under the strong product: a product of independent sets is independent in G ⊠ H.

The diagonal {(v, v) | v : V} is an independent set of size |V| in G ⊠ Gᶜ.

The independence numbers of the strong powers are supermultiplicative.