Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.LovaszTheta

The Lovász theta function #

An orthonormal representation of a simple graph G on V is a family of unit vectors u v in a real inner product space such that u v ⟂ u w whenever v ≠ w are nonadjacent. On a finite vertex type V, Lovász's theta function is ϑ(G) = min_{u, c} max_v 1 / ⟪c, u v⟫², over orthonormal representations u and unit vectors c (the handle) [Lov79b]; this is the unweighted case of ϑ₁ in Knuth's notes [Knuth1994, §5, (5.2)], whose orthogonal labelings are orthonormal representations in this sense [Knuth1994, §1]. We define ϑ(G) as the infimum of all t > 0 such that 1 ≤ t ⟪c, u v⟫² for every vertex v, for some orthonormal representation in some ℝᵈ and a unit vector c; for each (u, c) these are exactly the t ≥ max_v 1 / ⟪c, u v⟫². So lovaszTheta is the infimum of the source's objective; that the infimum is attained (the source's min) is not needed here and is not formalized. Representations in an arbitrary real inner product space give the same bound (SimpleGraph.lovaszTheta_le_of_rep), by restricting to the span of the finitely many vectors.

The theta function can be computed to any precision in polynomial time by semidefinite programming or the ellipsoid method [Knu94]; that algorithmic statement is not formalized here.

Main definitions #

Main results #

References #

structure SimpleGraph.IsOrthonormalRepresentation {V : Type u_1} {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (G : SimpleGraph V) (u : V → E) :

An orthonormal representation of G: unit vectors u v with u v ⟂ u w whenever v ≠ w are not adjacent in G.

noncomputable def SimpleGraph.lovaszTheta {V : Type u_1} [Finite V] (G : SimpleGraph V) :

The Lovász theta function ϑ(G) of a finite graph G: the infimum of the t > 0 for which some orthonormal representation u of G in some ℝᵈ and some unit vector c satisfy 1 ≤ t ⟪c, u v⟫² for every vertex v, that is, ϑ(G) = inf_{u, c} max_v 1 / ⟪c, u v⟫². The finite vertex type ensures that finite-dimensional representations exist (nonempty_feasible) rather than collapsing sInf ∅ = 0 on graphs with infinite independent sets.

theorem SimpleGraph.IsOrthonormalRepresentation.comp {V : Type u_1} {X : Type u_3} {G : SimpleGraph V} {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {u : V → E} (hu : G.IsOrthonormalRepresentation u) {G' : SimpleGraph X} (f : G' ↪g G) :

Restricting an orthonormal representation of G along an embedding G' ↪g G.

theorem SimpleGraph.IsOrthonormalRepresentation.tmul {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} {E : Type u_4} {F : Type u_5} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [NormedAddCommGroup F] [InnerProductSpace ℝ F] {u : V → E} {w : W → F} (hu : G.IsOrthonormalRepresentation u) (hw : H.IsOrthonormalRepresentation w) :
(G.strongProd H).IsOrthonormalRepresentation fun (x : V × W) => u x.1 ⊗ₜ[ℝ] w x.2

Tensor products of orthonormal representations of G and H represent G ⊠ H.

theorem SimpleGraph.lovaszTheta_le_of_rep {V : Type u_1} {G : SimpleGraph V} [Finite V] {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {u : V → E} (hu : G.IsOrthonormalRepresentation u) {c : E} (hc : ‖c‖ = 1) {t : ℝ} (ht : 0 < t) (h : ∀ (v : V), 1 ≤ t * inner ℝ c (u v) ^ 2) :

Any orthonormal representation u of a finite graph, in any real inner product space, with a unit handle c and 1 ≤ t ⟪c, u v⟫² for all v, bounds ϑ(G) ≤ t.

theorem SimpleGraph.indepNum_le_of_rep {V : Type u_1} {G : SimpleGraph V} {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {u : V → E} (hu : G.IsOrthonormalRepresentation u) {c : E} (hc : ‖c‖ = 1) {t : ℝ} (ht : 0 ≤ t) (h : ∀ (v : V), 1 ≤ t * inner ℝ c (u v) ^ 2) :
↑G.indepNum ≤ t

Bessel's inequality bound: an orthonormal representation with handle c and 1 ≤ t ⟪c, u v⟫² for all v bounds α(G) ≤ t.

Sandwich theorem, upper half: a proper k-colouring of the complement bounds ϑ(G) ≤ k.

Sandwich theorem, upper half: ϑ(G) ≤ χ(Gᶜ).

theorem SimpleGraph.lovaszTheta_le_of_cliqueCover {V : Type u_1} {G : SimpleGraph V} [Finite V] {S : Finset (Finset V)} (hS : ∀ s ∈ S, G.IsClique ↑s) (hcover : ∀ (v : V), ∃ s ∈ S, v ∈ s) :

Sandwich theorem, upper half, clique-cover form: if the vertices are covered by the cliques of G in S, then ϑ(G) ≤ #S. The colour classes of a colouring of Gᶜ are such cliques (SimpleGraph.exists_cliqueCover_iff_colorable_compl).

Sandwich theorem, lower half: α(G) ≤ ϑ(G).

theorem SimpleGraph.Embedding.lovaszTheta_le {V : Type u_1} {X : Type u_3} {G : SimpleGraph V} [Finite V] [Finite X] {G' : SimpleGraph X} (f : G' ↪g G) :

The theta function is monotone under graph embeddings.

theorem SimpleGraph.Iso.lovaszTheta_eq {V : Type u_1} {W : Type u_2} {G : SimpleGraph V} {H : SimpleGraph W} [Finite V] [Finite W] (e : G ≃g H) :

The theta function is invariant under graph isomorphisms.

Submultiplicativity of the theta function under the strong product: ϑ(G ⊠ H) ≤ ϑ(G) ϑ(H).

ϑ(Gᵏ) ≤ ϑ(G)ᵏ for the strong powers.

Lovász's bound on the Shannon capacity: Θ(G) ≤ ϑ(G).

A graph and its complement: |V| ≤ ϑ(G) ϑ(Gᶜ) [Knuth1994, §23, (23.2)]. Proved directly from |V| ≤ α(G ⊠ Gᶜ) ≤ ϑ(G ⊠ Gᶜ) ≤ ϑ(G) ϑ(Gᶜ).