Documentation

TauCeti.Combinatorics.DenseGraphLimits.Representability.ConnectionMatrix

Graph parameters, connection matrices and reflection positivity #

A graph parameter assigns a real number to every finite simple graph. Its connection matrices are the matrices of its values on the gluings of a finite family of k-labeled graphs; a parameter is reflection positive when all of them are positive semidefinite. Together with multiplicativity over disjoint unions and normalization at the one-vertex graph, these are the structural conditions of the Lovász–Szegedy representability theorem.

Main definitions #

Main results #

The section Examples records that the four conditions are simultaneously satisfiable — the parameter constantly 1, which is the homomorphism density of the constant graphon W ≡ 1 — and that reflection positivity is not automatic.

Implementation #

connectionMatrix takes an arbitrary index type: the Matrix ι ι ℝ it produces needs no finiteness, and IsReflectionPositive supplies Fin n where positive semidefiniteness is asserted. IsReflectionPositive.posSemidef then recovers the arbitrary finite index case, since a connection matrix on ι is a submatrix of one on Fin (Fintype.card ι) along Fintype.equivFin.

References #

@[reducible, inline]

A graph parameter: a real-valued parameter of finite simple graphs, indexed over the Fin-representatives. Isomorphism invariance is imposed separately, as IsIsoInvariant.

Equations
Instances For

    A graph parameter is isomorphism invariant when it agrees on isomorphic graphs. This is the standing hypothesis that makes f a genuine parameter of graphs rather than a labelling-sensitive function on Fin n.

    Equations
    Instances For
      theorem TauCeti.DenseGraphLimits.isIsoInvariant_iff {f : GraphParam} :
      IsIsoInvariant f ↔ ∀ (n₁ n₂ : ℕ) (F₁ : SimpleGraph (Fin n₁)) (F₂ : SimpleGraph (Fin n₂)), Nonempty (F₁ ≃g F₂) → f n₁ F₁ = f n₂ F₂

      Characteristic law of isomorphism invariance: f is isomorphism invariant exactly when it takes equal values at any two isomorphic graphs. This is both the way to prove IsIsoInvariant and the way to apply it.

      theorem TauCeti.DenseGraphLimits.IsIsoInvariant.eq_of_iso {f : GraphParam} (hf : IsIsoInvariant f) {n₁ n₂ : ℕ} {F₁ : SimpleGraph (Fin n₁)} {F₂ : SimpleGraph (Fin n₂)} (e : F₁ ≃g F₂) :
      f n₁ F₁ = f n₂ F₂

      An isomorphism-invariant parameter agrees along an isomorphism.

      noncomputable def TauCeti.DenseGraphLimits.connectionMatrix (f : GraphParam) {k : ℕ} {ι : Type u_1} (A : ι → LabeledGraph k) :
      Matrix ι ι ℝ

      The connection matrix of a graph parameter on a family A : ι → LabeledGraph k of k-labeled graphs: the ι × ι matrix whose (i, j) entry is f on the unlabeled graph underlying the gluing of A i and A j. It is an indexed block of the full connection matrix M(f, k).

      Equations
      Instances For
        @[simp]
        theorem TauCeti.DenseGraphLimits.connectionMatrix_apply (f : GraphParam) {k : ℕ} {ι : Type u_1} (A : ι → LabeledGraph k) (i j : ι) :
        connectionMatrix f A i j = f ((A i).glue (A j)).forgetLabels.fst ((A i).glue (A j)).forgetLabels.snd

        The connection-matrix entry law.

        theorem TauCeti.DenseGraphLimits.connectionMatrix_comm (f : GraphParam) (hf : IsIsoInvariant f) {k : ℕ} {ι : Type u_1} (A : ι → LabeledGraph k) (i j : ι) :

        Connection matrices of an isomorphism-invariant parameter are symmetric: gluing commutes up to isomorphism.

        Connection matrices of an isomorphism-invariant parameter are Hermitian because the two gluing orders are isomorphic.

        A graph parameter is reflection positive when every finite connection matrix is positive semidefinite — every finite principal block of each M(f, k) is PSD. The definition quantifies over Fin n-indexed families; IsReflectionPositive.posSemidef recovers an arbitrary finite index type.

        Equations
        Instances For

          Characteristic law of reflection positivity: f is reflection positive exactly when the connection matrix of every Fin n-indexed family of k-labeled graphs is positive semidefinite. This is both the way to prove IsReflectionPositive and the way to apply it.

          A graph parameter is multiplicative when it turns disjoint unions into products, with the disjoint union reindexed to Fin (n₁ + n₂) along finSumFinEquiv to stay on Fin-representatives.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem TauCeti.DenseGraphLimits.isMultiplicative_iff {f : GraphParam} :
            IsMultiplicative f ↔ ∀ (n₁ n₂ : ℕ) (F₁ : SimpleGraph (Fin n₁)) (F₂ : SimpleGraph (Fin n₂)), f (n₁ + n₂) (SimpleGraph.map (⇑finSumFinEquiv.toEmbedding) (F₁ ⊕g F₂)) = f n₁ F₁ * f n₂ F₂

            Characteristic law of multiplicativity: f is multiplicative exactly when it sends every reindexed disjoint union to the product of the two values. This is both the way to prove IsMultiplicative and the way to apply it.

            A graph parameter is normalized when its value on the one-vertex graph K₁ is 1.

            Equations
            Instances For

              Characteristic law of normalization: f is normalized exactly when its value at the one-vertex graph K₁ is 1. This is both the way to prove IsNormalized and the way to apply it.

              Reflection positivity for an arbitrary finite index type. A connection matrix on ι is the Fintype.equivFin ι submatrix of one on Fin (Fintype.card ι), and positive semidefiniteness is invariant under reindexing by an equivalence.

              The diagonal of a connection matrix is nonnegative: a reflection-positive parameter is nonnegative on every self-gluing.

              A multiplicative, normalized parameter is 1 on every edgeless graph.

              A multiplicative, normalized parameter is unchanged by adjoining any finite edgeless graph.

              theorem TauCeti.DenseGraphLimits.IsMultiplicative.apply_map {f : GraphParam} (hmul : IsMultiplicative f) (hiso : IsIsoInvariant f) (hnorm : IsNormalized f) {k n : ℕ} (e : Fin k ↪ Fin n) (F : SimpleGraph (Fin k)) :
              f n (SimpleGraph.map (⇑e) F) = f k F

              An isomorphism-invariant, multiplicative, normalized parameter is unchanged by relabeling a graph into a larger vertex set along an injection: the relabeled graph is the disjoint union of the original with the edgeless graph on the vertices outside the image.

              Consistency and adversarial checks #

              The four structural conditions are simultaneously satisfiable. Reflection positivity is not implied by isomorphism invariance alone. The parameter constantly 1 is the homomorphism density t(·, W) of the constant graphon W ≡ 1.

              The constant parameter 1 is isomorphism invariant.

              The constant parameter 1 is multiplicative.

              The constant parameter 1 is normalized.

              The constant parameter 1 is reflection positive: its connection matrices are the all-ones matrices, the outer square of the all-ones vector.

              Isomorphism invariance alone does not imply reflection positivity: the constant parameter -1 is isomorphism invariant, yet it is negative on a self-gluing.