SCUOLA DI SCIENZE
Corso di Laurea Magistrale in Matematica
SIMPLICIAL COMPLEXES FROM GRAPHS
TOWARDS GRAPH PERSISTENCE
Tesi di Laurea Magistrale in Topologia Algebrica
Relatore:
Prof. Massimo Ferri
Correlatore:
Dott. Mattia G. Bergomi
Presentata da:
Lorenzo Zuffi
Sessione III
Introduzione 3
Introduction 5
Preliminary standard definitions 9
1 Simplicial compexes built from a graph 15
1.1 Abstract . . . 15
1.2 Complex of Cliques . . . 17
1.3 Complex of Independent sets . . . 19
1.4 Complex of Neighbours . . . 21
1.5 Acyclic subsets . . . 25
1.5.1 Complex of induced acyclic subgraphs . . . 25
1.5.2 Complex of acyclic subsets of the edge set . . . 25
1.5.3 Complex of removable acyclic subgraphs . . . 26
1.6 Complex of enclaveless sets . . . 28
1.6.1 Enclaveless sets implementations . . . 29
2 Graph persistence 33 2.1 Persistent homology: a brief introduction . . . 33
2.2 Persistent homologic properties for simplicial complexes from a graph 36 2.2.1 Case study: edge filtrations onπΎ4 . . . 37
2.2.2 Filtration on edge-induced subgraphs: a simple example . . . . 48
2.2.3 Complexes from acyclic subsets and persistent homology . . . 48
2.3 Other Persistent properties: blocks and edge-blocks . . . 51
2.3.1 The persistent block number . . . 52
2.3.2 The persistent edge-block number . . . 53
3 Other methods to build simplicial complexes 57 3.1 The complex ofk-cyclesCyπ ,π(πΊ ) . . . 57
3.2 The complex of connected cliques . . . 59 1
Appendix
63
Lo scopo di questo elaborato `e di esplorare diversi metodi attraverso i quali ottenere complessi simpliciali a partire da un grafo, suggerendo alcuni risultati originali in tal senso. Lβobiettivo `e introdurre, in un articolo di prossima pubblicazione, una general-izzazione della teoria dellβomologia persistente [9] in un contesto di teoria dei grafi.
La teoria dei grafi, disciplina a cavallo tra matematica e informatica, si occupa di studiare i grafi, oggetti combinatori costituiti da vertici e da spigoli che collegano i vertici tra loro. La scelta di tale ambito, cos`Δ± pervasivo della matematica e di tutte le scienze applicate, `e motivata dalla volont`a di introdurre in questa disciplina alcune potenti tecniche di analisi fornite dalla topologia algebrica.
Lβomologia persistente `e una di queste tecniche ed `e quella su cui ci siamo
concen-trati. Serve per calcolare propriet`a topologiche e geometriche di spazi topologici su cui siano definitefunzioni filtrantiche convogliano determinate qualit`a dβinteresse per
lβosservatore. Lβomologia persistente, tra lβaltro, ha la capacit`a di distinguere quantita-tivamente tra caratteristiche essenziali dello spazio e caratteristiche transitorie, classi-ficabili come βrumore topologicoβ. `E stata introdotta con il nome di Teoria della Taglia [12] e ha trovato applicazione in svariati campi (shape analysis[2], neuroscienze [20],
diagnostica [11] e altri).
Nel nostro lavoro useremo lβomologia persistente per studiare le caratteristiche geometriche e topologiche di alcuni complessi simpliciali. Lβomologia persistente pre-vede che tale complesso simpliciale venga studiato progressivamente lungo una suc-cessione non decrescente di suoi sottocomplessi (questa sucsuc-cessione `e dettafiltrazione).
Il nostro punto di partenza `e un grafoπΊ = (π , πΈ)e nostro il primo problema consiste
nel ricavare da esso un complesso simpliciale.
Ottenere un complesso simpliciale da un grafo `e un argomento ben noto in lettera-tura (si vedano per esempio [15], [8], [3]) ed `e un risultato che pu`o essere ottenuto con una grande quantit`a di metodi. Alcuni di questi metodi sono molto studiati, come ad esempio il complesso delle cricche (section 1.2) o il complesso dei vicini (section 1.4).
Una volta fissato il metodo, il secondo problema consiste nella costruzione della filtrazione sul complesso simpliciale ottenuto. Per far dipendere la filtrazione dal grafo di partenza supponiamo di ordinare gli spigoli del grafo attraverso una biiezioneπ€ βΆ πΈ β {1, 2, β¦ , |πΈ|}. In questo modo definiamo due famiglie di sottografi diπΊ:
πΊπ = (π , π€β1({1, 2, β¦ , π }) Μ
πΊπ = ({π£ β π | {π£, β } β π€ β1
({1 β¦ , π })}, π€β1({1, β¦ , π }))
In pratica,πΊπ contiene i primiπspigoli (ordinati secondoπ€) e tutti i vertici diπΊ,
mentre πΊΜ
π contiene i primi π spigoli e i vertici che sono alle estremit`a degli spigoli
considerati.
I complessi simpliciali costruiti da questi sottografi forniscono le nostre filtrazioni per lo studio dellβomologia persistente. I risultati ottenuti in questo studio vanno poi interpretati e ricondotti al grafoπΊda cui eravamo partiti.
Le idee che stanno alla base della teoria persistenza sono molto potenti e proficua-mente esportabili in nuovi contesti matematici. In particolare la teoria dei grafi `e un buon ambito tentare questo approccio. Dunque abbiamo cercato di applicare sui grafi tecniche simili a quelle che vengono utilizzate nellβomologia persistente sui complessi simpliciali. Le direzioni in cui `e possibile sviluppare questa intuizione sono molte e degne di indagine: noi in questo lavoro abbiamo svolto uno studio sulla persistenza di blocchi e di edge-blocchi lungo una filtrazione di sottografi (section 2.3).
Struttura della tesi. La tesi si apre con alcune definizioni introduttive su grafi,
complessi simpliciali e omologia simpliciale.
Il primo capitolo descrive i principali metodi che abbiamo considerato per costruire complessi simpliciali a partire da un grafo. Alcuni di questi sono gi`a ampiamente pre-senti in letteratura (come il complesso delle cricche, degli insiemi indipendenti e dei vicini, studiati in misura minore sono invece i complessi derivanti da sottografi aci-clici), mentre per quanto riguarda il complesso deglienclavelessnon abbiamo trovato
riferimenti nella letteratura precedente. In questo capitolo vengono fatte osservazioni basilari sulla natura del complesso simpliciale a partire dal grafo di partenza e si indaga quali complessi simpliciali siano costruibili a partire da un grafo qualunque.
Il secodo capitolo si occupa invece di persistenza. Vengono richiamate rapidamente le nozioni di omologia persistente, e si applicano queste osservazioni alle filtrazioni dei sottografi, attraverso un caso-studio suπΎ4(filtrazione suπΊπ) e un altro dettagliato
esempio su un grafo su 6 vertici (filtrazione suπΊΜ
π). Lβultima parte del capitolo `e dedicata
allβindagine sui diagrammi persistenti di blocchi ed edge-blocchi lungo una filtrazione. Anche qui viene mostrato un esempio dettagliato.
Il terzo capitolo tratta di altri due metodi, proposti per la costruzione di complessi simpliciali a partire da un grafo: il complesso deiπ-cicli e il complesso delle cricche
connesse.
The aim of this work is to explore various methods to build simplicial complexes from a graph, and suggest some novel results in this filed. The purpose is to introduce in a forthcoming paper a generalisation of persistent homology [9] in the graph theory context.
Graph theory is a field ranging from mathematics to information theory, that stud-ies graphs, combinatorial objects made of vertices and edges connecting those vertices. We choose this discipline, that is so pervasive of mathematics and all applied sciences, because we want to introduce some powerful algebraic topology techniques into this discipline.
Persistent homology is one of those techniques and is the one we focus on. It is
useful to analyse topological spaces, of which it is capable to compute topological and geometrical properties. Moreover, persistent homology enables us to distinguish be-tween meaningful features and βtopological noiseβ. It was introduced under the name of Size Theory [12] and it has been applied in various fields ever since (shape analysis
[2], neuroscience [20], diagnostics [11] and others).
In our work we use persistent homology to examine geometrical and topological features of a simplicial complexes. Persistent homology examines the simplicial com-plex progressively, along a non-decreasing sequence of subcomcom-plexes. This sequence is called afiltration.
Our starting point is a graph πΊ = (π , πΈ) and our fist problem is to associate a
simplicial complex toπΊ.
Obtaining a simplicial complex out of a graph is a well-known subject in the lit-erature (see for example [15], [8], [3]). This result can be archived with a multitude of methods. Some of those methods are well studied, as for example the complex of cliques (section 1.2), either or the complex of neighbours (section 1.4).
Once we set the method, our second problem is to search for a filtration. To do this we sort the edges of the graph through a bijectionπ€ βΆ πΈ β {1, 2, β¦ , |πΈ|}. This way
we define two families of subgraphs ofπΊ: πΊπ = (π , π€
β1
({1, 2, β¦ , π })
Μ
πΊπ = ({π£ β π | {π£, β } β π€ β1
({1 β¦ , π })}, π€β1({1, β¦ , π }))
EssentiallyπΊπ contains the firstπedges (sorted thanks toπ€), and all vertices ofπΊ,
whileπΊΜ
πcontains the firstπ edges, and their end-points as vertices.
The simplicial complexes built from these subgraphs form our filtrations to study persistent homology. The results obtained through this process will be interpreted and reconsidered toward the graphπΊ from where we started.
Core ideas of persistence theory are very powerful and profitably applicable in new mathematical context. In particular, graph theory is a field where such an approach could be revelatory. So we tried to apply on graphs techniques akin to the ones used in persistent homology on simplicial complexes. There are multiple research paths that can be followed using this intuition. In this work we studied block persistence and edge-block persistence along a filtration of subgraphs (section 2.3).
Structure of this thesis.The first section contains some introductory definitions
on graphs, simplicial complexes and simplicial homology.
The first chapter describes the main methods we considered to build simplicial com-plexes from a graph. Some of those methods are well studied in the literature (such as complexes of cliques, independent sets and neighbours, other methods are less known, as the complexes from acyclic subsets), while we could not find any previous reference in the literature about the complex of enclaveless sets. In this chapter there are basic observations on the complexes, on the relationship with the original graph and on the possibility of building a given simplicial complex from any graph.
The second chapter deals with persistence. We recall the definitions at the begin-ning of the chapter. Then filtrations on graphs are studied through a case study on
πΎ4 (filtrations on πΊπ), and a detailed example on a graph on 6 vertices (filtrations on Μ
πΊπ). The last part of the chapter is about persistent diagrams of blocks and edge-blocks
along a filtration, featuring another detailed example.
The third chapter deals with other two methods we proposed to build simplicial complexes from a graph: the complex ofπ-cycles and the complex of connected cliques.
How to read figures. Each part of this thesis contains many examples illustrated
by figures where graphs and simplicial complexes were put beside. Graphs are drawn with red points as vertices, while vertices of simplicial complexes are black, and sim-plices of higher dimension are colored in green.
G
=({
a,b,c,d
}
,
{
ab,bc,ac,dc
})
Ξ
=<
a,b,c
>
βͺ
<
c,d
>
d
c
a
b
d
c
Graphs
Definition 1(Graph). An (undirected, simple) graphπΊ is an ordered pairπΊ = (π , πΈ)
whereπ is a set of vertices, andπΈis a set of edges, which are 2-element subsets ofπ.
So every edge is a couple of two distinct unordered vertices.
Definition 2. LetπΊ = (π , πΈ)be a graph.
β’ (Adjacent vertices) An adjacent vertex ofπ£ β π is a vertex that is connected toπ£
by an edge.
β’ (Paths and Cycles) Letπ£ , π€ β π. A path fromπ£ toπ€ is a sequence of pairwise
adjacent verticesπ£ π£1π£2β― π£ππ€. The path is simple if no vertex is repeated in the
sequence. The path is a cycle ifπ£ = π€. The path has lengthπif it pass throughπ
edges. The distance betweenπ£andπ€ is the minimum length of the paths from π£toπ€. If such a path does not exists, the distance is said to be infinite.
β’ (Connected graph)πΊ is connected if for every coupleπ£ , π€ β π exists a path from
π£toπ€.
β’ (Isomorphism of graphs) LetπΊ = (π , πΈ)andπ» = (π , πΉ ) be two graphs. We say
that πΊ and π» are isomorphic if there is a bijection π βΆ π β π such that: ({π£ , π€ } β πΈ β {π(π£ ), π(π€ )} β πΉ ).
β’ (Induced Graph) Let π β π and πΈ(π ) = {{π, π } β πΈ βΆ π, π β π }. We define
πΊ [π ] = (π , πΈ(π ))the subgraph ofπΊinduced byπ. Equivalently,πΊ [π ]is the
subgraph formed from the vertices in π and all of the edges inπΈ connecting
pairs of vertices inπ.
β’ (Tree) A tree is an acyclic connected graph.
β’ (Complementary graph) The complementary graph ofπΊis:
πΊπΆ = (π , {{π₯ , π¦ } βΆ π₯ , π¦ β π , π₯ β π¦ and{π₯ , π¦ } β πΈ}
Equivalently, πΊπΆ is the graph whose vertices are the vertices of πΊ and whose
edges are the edges that are not present inπΊ.
β’ A set of vertices of a graph of cardinalityπwill be denotedππ
β’ (Complete graph onπ vertices) πΎπ = (ππ, πΈ(πΎπ)), is defined as follows: for every
π£1, π£2 β ππ β {π£1, π£2} β πΈ(πΎπ)
β’ (Complete bipartite graph onπandπvertices)πΎπ,π = (ππβͺ ππ, πΈπ,π), is defined as
follows: β§ βͺ βͺ βͺ βͺ βͺ β¨ βͺ βͺ βͺ βͺ βͺ β© ππ β© ππ = β , β π£1β ππ, π£2β ππ β {π£1, π£2} β πΈπ,π, β π£1, π£2β ππ β {π£1, π£2} β πΈπ,π, β π£1, π£2β ππ β {π£1, π£2} β πΈπ,π
β’ (Completeπ-partite graph)πΎπ
1,π2,β¦,ππ is a graph whose set of vertices can be
par-titioned inπsubsets of respective cardinalityπ1, β¦ , ππ, where an edge is present
if and only if its ends are in different subsets of the partition.
β’ (Chromatic number) The chromatic number πΎ (πΊ ) of a graph πΊ is the smallest
number of colors needed to color the vertices ofπΊso that no two adjacent
ver-tices share the same color. We say thatπΊisπ-colorable for everyπ β€ πΎ (πΊ ).
Example. The graphπΊrepresented in fig. 1, along withπΊπΆ, andπΊ [π ], whereπ = {1, 2, 3, 6}: πΊ =({1, 2, 3, 4, 5, 6}, {{1, 2}, {2, 3}, {1, 3}, {3, 4}, {5, 6}}) πΊ [π ] =({1, 2, 3, 6}, {{1, 2}, {2, 3}, {1, 3}}) πΊπΆ =({1, 2, 3, 4, 5, 6}, { {1, 4}, {1, 6}, {1, 5}, {2, 4}, {2, 5}, {2, 6}, {3, 5}, {5, 6}, {4, 5}, {4, 6} } )
Simplicial complexes
Definition 3(Abstract simplicial complex). A familyΞ of finite subsets of a setπ is
anabstract simplicial complexif, for everyπ β Ξ, every subsetπ β π also belongs toΞ
(inheritance property). We will call every setπ β Ξof cardinality(π + 1)anπ-simplex,
1 2 3 4 5 6 G G [W] GC 1 2 3 6 1 2 3 4 5 6
Figure 1: A simple graph πΊ on 6 vertices and 5 edges, along with the induced graph πΊ [π ]on the set of verticesπ = {1, 2, 3, 6}, and the complementary graphπΊπΆ.
Notation. We will indicate the power set of the set{π₯0, β¦ , π₯π}as< π₯0, β¦ , π₯π >. So,
ifπ is anπ-simplex on the verticesπ₯0, β¦ , π₯π, the simplicial complex made ofπ and all
its faces will beΞ =< π₯0, β¦ , π₯π >.
Remark 4. I stick to the definition given by Jonsson in [15], including the emptyset
β in every simplicial complex.
Definition 5 (Barycentric subdivision). The Barycentric Subdivision of a simplex Ξ
is the simplicial complex sd(Ξ)on a set π. π is in bijection with the faces ofΞ and
very sequence πΉ0, πΉ1, β¦ , πΉπ of faces ofΞ, totally ordered by inclusion, is anπ-simplex
of sd(Ξ), with vertices{π£0, β¦ , π£π}. Each vertexπ£π is called the barycenter of the face
πΉπ.
Example. The following simplicial complex (fig. 2) represent a 2-simplex and all its
faces: Ξ = { β , {π₯ }, {π¦ }, {π§ }, {π₯ , π¦ }, {π¦ , π§ }, {π₯ , π§ }, {π₯ , π¦ , π§ } } =< π₯ , π¦ , π§ >
And this is its first barycentric subdivision: sd(Ξ) = { β , {π₯ }, {π¦ }, {π§ }, {π1}{π2}, {π3}, {π4}, {π₯ , π1}, {π1, π¦ }, {π¦ , π2}, {π2, π§ }, {π§ , π3}, {π3, π₯ }, {π1, π4}, {π4, π§ }, {π2, π4}, {π4, π₯ }, {π3, π4}, {π4, π¦ }, {π₯ , π1, π4}, {π₯ , π3, π4}, {π¦ , π1, π4}, {π¦ , π3, π4}, {π§ , π1, π4}, {π§ , π2, π4} } = < π₯ , π1, π4> βͺ < π₯ , π3, π4> βͺ < π¦ , π1, π4 > βͺ < π¦ , π2, π4> βͺ βͺ < π§ , π2, π4> βͺ < π§ , π3, π4 >
x y z x y z g3 g2 g1 g4
Ξ
sd(
Ξ
)
Figure 2: The simplicial complex described in the example and its first barycentric subdivision.
Definition 6(π-skeleton of a simplicial complex). LetΞbe a simplicial complex and π βNβͺ{0}. Theπ-skeleton ofΞis the simplicial complexΞ = {π β Ξ βΆ |π | < (π + 1)}.
For example the 1-skeleton of a simplicial complex Ξ is the simplicial complex
containing all 0-simplices and 1-simplices inΞ.
Definition 7(Join). The join of two non-empty familiesΞandΞ(assumed to be defined
on disjoint ground sets) is the family:
Ξ β Ξ = {π βͺ π βΆ π β Ξ, π β Ξ}
Definition 8 (Cones and Suspensions). The cone of a family Ξ is the join with a
0-simplex:
Coneπ₯(Ξ) = {β , {π₯ }} β Ξ
The suspension ofΞis the join with two 0-simplices:
Suspπ₯ ,π¦(Ξ) = {β , {π₯ }, {π¦ }} β Ξ
Simplicial Homology
Homology is a standard in Algebraic Topology subject, that we will only consider in the simplicial case, although it can be described in more general settings (see for example [13],[22]). Moreover, we only consider homology on the fieldZ2 = Z/2Z, while it
could be defined also on an arbitrary group, or module over a ring. Our choice allows us not to require an orientation on simplices. In addition, homology groups will not show any torsion.
Definition 9(π-chains). LetπΎ be a simplicial complex. A simplicialπ-chain (π β Z)
is a formal sum ofπ-simplices ofπΎ: π =
π
β
π=1
d d
Ξ
Cone
x(
Ξ
)
Susp
x,y(
Ξ
)
x x y a d b c a b c a b cFigure 3: The Cone and the Suspension of the simplicial complex Ξ = {β , {π}, {π}, {π }, {π }, {π, π}, {π, π }, {π , π }, {π , π}}
We can assume that everyπ-simplex is present in eachπ-chain: the formal sum does
not change adding any π-simplex with coefficient πΌπ = 0. We define the sum of two
π-chainsπ1 = β πΌπππ, π2 = β π½πππ as: π1+ π2= β(πΌπ + π½π)ππ.
The set ofπ-chains, denotedCπorCπ(πΎ ), equipped with this operation of sum, is a
group where the neutral element is the null chain (that is the chain with everyπΌπ = 0)
and the opposite of π β Cπ isπ itself, since the coefficients sum up inZ2. The group
inherits the commutative property byZ2. Remark that the group ofπ-chains is trivial
ifπis less than 0 or greater than the dimension ofπΎ.
Definition 10(Boundaries). The boundary of anπ-simplexπ = {π£0, β¦ , π£π}is defined
as the chain of its(π β 1)-faces: ππ(π ) =
π
β
π=0
{π£0, β¦ , Μπ£π, β¦ , π£π}
where the hat means that the vertex was eliminated from the set:
{π£0, β¦ , Μπ£π, β¦ , π£π} = {π£0, β¦ , π£πβ1, π£π+1, β¦ , π£π}. Remark thatππ(π ) β Cπβ1.
Theπ-boundary of a simplicial complex is defined as the sum of boundaries of its π-simplices. This definition implies thatππ βΆCπ βCπβ1is a group homomorphism: if π1, π2 βCπ thenππ(π1+ π2) = ππ(π1) + ππ(π2).
We have a sequence of abelian groups that we call achain complex: β¦ ππ+2 β βββββββββββββββββββββCπ+1 ππ+1 β βββββββββββββββββββββCπ ππ β βββββββββββ β¦ π1 β βββββββββββC0 π0 β βββββββββββ 0
Everyπ β Cπ such thatππ(π ) = 0is called anπ-cycle. We denote the set ofπ-cycles by
Anyπ β Cπ suchππ+1(π) = πfor someπ βCπ+1is called anπ-boundary. We denote
the set ofπ-boundaries asBπ.Bπ βCπ is the image ofππ+1and a subgroup ofCπ.
Lemma 11(Homology lemma). ππβ1β¦ ππ = 0for everyπ βZ
Proof. For every simplexπ = {π£0, β¦ , π£π}we have:
ππβ1(ππ(π )) = ππβ1 ( π β π=0 {π£0, β¦ , Μπ£π, β¦ , π£π} ) = π β π=0 ππβ1({π£0, β¦ , Μπ£π, β¦ , π£π}) = π β π=0( πβ1 β π =0 {π£0, β¦ , Μπ£π, β¦ , Μπ£π, β¦ , π£π} + π β π =π+1 {π£0, β¦ , Μπ£π, β¦ , Μπ£πβ¦ , π£π} )
In the last sum we have the same chains added twice, so the result is zero. Then, for linearity,ππβ1β¦ ππ = 0holds for every simplicial complex.
From lemma 11 follows thatBπ βZπ, becauseπ β Bπifπ = ππ+1(π )for someπ βCπ+1,
thenππ(π) = ππ(ππ+1(π )) = 0. This remark allows us to give the next definition.
Definition 12. The πth simplicial homology group of a simplicial complex πΎ is the
quotient of abelian groups:
Hπ(πΎ ) =
Zπ(πΎ )
/B
π(πΎ )
All the sets we considered so far (Cπ,Zπ,Bπ,Hπ) are groups, but also Z2-vector
spaces for everyπ βZ. Thus the following dimensional equations holds: π βΆZπ β Zπ/Bπ =Hπ
βdim(Zπ) =dim(ker(π )) +dim(Im(π )) =dim(Bπ) +dim(Hπ) ππ βΆ Cπ β Bπβ1
βdim(Cπ) = dim(ker(ππ)) +dim(Im(ππ)) =dim(Zπ) +dim(Bπβ1)
Definition 13. TheπthBetti number of a simplicial complex is the dimension of itsπth
homology group:
Simplicial compexes built from a
graph
Contents
1.1 Abstract . . . 15
1.2 Complex of Cliques . . . 17
1.3 Complex of Independent sets . . . 19
1.4 Complex of Neighbours . . . 21
1.5 Acyclic subsets . . . 25
1.5.1 Complex of induced acyclic subgraphs . . . 25
1.5.2 Complex of acyclic subsets of the edge set . . . 25
1.5.3 Complex of removable acyclic subgraphs . . . 26
1.6 Complex of enclaveless sets . . . 28
1.6.1 Enclaveless sets implementations . . . 29
1.1
Abstract
When considering a graph there are several methods to analyse its topology. It is possible to tackle this problem by building an abstract simplicial complex out of the graph, in order to use algebraic topology tools. The analysis of the resulting complex could provide topological insights about the original graph.
There are many well-studied methods to associate simplicial complexes out of a graph. In the literature the approach is twofold: on the one hand, there is the study of a family of simplicial complexes derived from graphs, where simplicial complexes
are studied with an interest in their own right (see [15], [4]). On the other hand, the study of a simplicial complex coming from a specific graph, in order to grasp additional information from the simplicial interpretation of the graph (see, e. g., [17], [21], [1]). This work mainly focuses on the latter approach: we want to find topological properties of the simplicial complex that could describe the original graph.
The following list provides a summary the methods described to build an abstract simplicial complex out of a graph. We also give here the references of various authors who use those methods to build simplicial complexes. In particular in [15] it is possible to find an encompassing description of several methods we do not consider in this work.
1. The complex of Cliques: consider every(π + 1)-clique of the graph as an
ab-stractπ-simplex (see for example: [15],[17], [21]);
2. The complex of Independent Sets:consider every(π + 1)-independent set of
the graph as an abstractπ-simplex (see for example: [15]);
3. The complex of neighbours: for every vertex π£ β π consider the simplices
given by every subset of the set {π£ } βͺ {π€ β π βΆ π€ is adjacent toπ£ } (see for
example: [15] [16], [17]);
4. Complexes built from acyclic subsets:
β’ The complex of induced acyclic subsets: a set of vertices is a simplex if its induced graph is acyclic;
β’ The complex of acyclic subsets of the edge set: every edge is a 0-simplex andπ-simplices are given by(π + 1)edges forming an acyclic graph;
β’ The complex of removable acyclic subsets: simplices are given by non-disconnecting acyclic subsets of edges of a connected graph;
(Even though some references for these complexes can be found in [15], the at-tempts we made to explore these methods are due to professor Fabrizio Caselliβs suggestions.)
5. The complex of enclaveless sets:consider every enclaveless set of cardinality
(π + 1)as anπ-simplex (we could not find any reference for this method in the
1.2
Complex of Cliques
Definition 14(Clique). LetπΊ = (π , πΈ)be a simple graph. A set of vertices is a clique
inπΊif the induced subgraph is complete. Formally, a subsetπΆ β π is a clique ofπΊ if
for every pairπ£ , π€ β πΆ,π£ β π€, the edge{π£ , π€ }is inπΈ.
Definition 15 (Complex of Cliques). The abstract simplicial complex of cliques of a
graphπΊ = (π , πΈ)is the abstract simplicial complex whoseπ-simplices are the cliques
ofπΊ of cardinality(π + 1). This complex will be denoted asClπΊ.
Remark 16. Since every subset of a clique is still a clique,ClπΊ is well-defined.
This is the simplest way to build a simplicial complex out of a graph. In fact, the 1-skeleton of the complex is isomorphic to the graph, and where the graph is βdenseβ enough the complex is βfilledβ with simplices of higher dimension.
G
Ξ
a b c d e f g a b c d e f gFigure 1.1: Example of a graph πΊ and its complex of cliques Ξ =< π, π, π , π > βͺ < π, π , π > βͺ < π , π > βͺ < π , π >
Observable simplicial complexes
Remark 17. Given a simplicial complexΞ, it is not possible to find a graphπΊ = (π , πΈ)
such thatClπΊ = Ξ. As a counterexample see fig. 1.2.
The problem is that there is no graphπΊ = (π , πΈ)such thatClπΊ = 2 π
β§΅ {π }. However,
if we accept to subdivide the simplicial complex we want to be represented, we can find a suitableπΊ, as stated in the proposition 18.
Proposition 18. LetΞ be a simplicial complex and let sd(Ξ) be its first barycentric
subdivison. If we consider the 1-skeleton of sd(Ξ)as a graphπΊ = (π , πΈ), then we have
β
β
G1 G2 Ξ1 β Ξ Ξ2 β ΞΞ
β
G3 Ξ3 = sd (Ξ)sd (
Ξ
)
Figure 1.2: It is impossible to find a graphπΊ such that its complex of cliques is the
simplicial complexΞ(boundary of the 2-simplex), but it is possible to find a graph such
that its complex of cliques is sd(Ξ).
Proof. We show that sd(Ξ)is both a subset and a superset ofClπΊ.
π βsd(Ξ) β π βClπΊ:
this is straightforward, since every simplex in sd(Ξ)is necessarily a clique inπΊ, thus a
simplex inClπΊ.
π βClπΊ β π βsd(Ξ):
π βClπΊ means thatπ is a clique of the 1-skeleton of sd(Ξ).
By induction onπ = |π |we are going to show:
π (π) βΆfor every cliqueπinπΊ, its vertices are barycenters of simplices forming a chain of faces of the same simplex.
This will prove the claim, sinceπ (π)is precisely the definition of a simplexπ in sd(Ξ).
Forπ = 1,π (1)is trivial.
π (π β 1) β π (π): in a barycentric subdivision every barycenter belongs to a simplex
of dimension different from the adjacent barycenters. For every cliqueπ we consider
clique). Thus the (π β 1) adjacent vertices are barycenters of faces of π, and, by the
induction hypothesis, they all belong to the same face. This provesπ (π).
Homology of the complex of cliques
Proposition 19(Suspensions). Let πΊ = (π , πΈ)be a graph, let ClπΊ be its complex of
cliques, andπ₯ , π¦ β π. Let CSusp(πΊ )be the graph:
CSusp(πΊ ) βΆ= (π βͺ {π₯ , π¦ }, πΈ βͺ { {π£ , π₯ }, {π£ , π¦ } βΆ π£ β π } )
Then the complex of cliques of CSusp(πΊ )is Susp
π₯ ,π¦(ClπΊ).
Proof. By definition of suspension:π βSusp
π₯ ,π¦(ClπΊ)if and only if one of the following
conditions holds: 1. π βClπΊ;
2. (π β§΅ π₯ ) βClπΊ;
3. (π β§΅ π¦ ) βClπΊ.
In each of the three cases, the definition of CSusp guarantees that π is a clique in
CSusp(πΊ ). In fact every subgraph of πΊ is still a subgraph of CSusp(πΊ ), thus the first
case is proved. As for the second and the third case: consider(π β§΅ π₯ ) β ClπΊ, then, by
construction, each element of the clique (π β§΅ π₯ ) is connected to the vertexπ₯ in the
graph CSusp(πΊ ). Soπ is a clique in CSusp(πΊ ).
Remark 20. By definition CSusp(πΊ )is obtained fromπΊby adding two vertices
com-pletely connected to the other vertices of πΊ, but not with each other. If we iterateπ
times the suspension of the graphπΊ = ({π₯ , π¦ }, β )we obtain graphs that are represented
by a simplicial complex of cliques whose euclidean embedding is homeomorphic to the sphereππ(see fig. 1.3). Thus the reduced homology groups of that simplicial complex
are all trivial, except theπ-th.
1.3
Complex of Independent sets
Definition 21(Independent set). LetπΊ = (π , πΈ)be a simple graph. A set of vertices is
an independent set inπΊif the induced subgraph does not contain any edge. Formally,
a subsetπΌ β π is an independent set ofπΊ, if every pairπ£ , π€ β πΌ is such that{π£ , π€ } β πΈ.
Definition 22(Complex of Independent sets). The abstract simplicial complex of
in-dependent sets of a graphπΊ = (π , πΈ)is the one whoseπ-simplices are the independent
β
β
β
β
β
β
Graph Complex ofCliques S n
Figure 1.3: The first two suspensions of the graphπΊ = ({π₯ , π¦ }, β )
Lemma 23(Complex of cliques is the complex of independent sets of the
complemen-tary). LetπΊ = (π , πΈ)be a graph. ThenClπΊ =IπΊπΆ.
Proof. To prove the lemma it suffices to remark that, by definition of complementary
graph, a clique inπΊis an independent set ofπΊπΆ.
Remark 24.lemma 23 implies that everything we previously stated about the complex
of cliques holds also for the complex of independent sets of the complementary graph. By the way we will briefly recall those results in the following propositions.
Proposition 25. Let Ξ be a simplicial complex and let sd(Ξ)be its first barycentric
subdivison. If we consider the 1-skeleton of sd(Ξ)as a graph πΊ = (π , πΈ), thenIπΊπΆ =
sd(Ξ).
Proposition 26 (Suspensions). Let πΊ = (π , πΈ) be a graph, and let π₯ , π¦ β π. Let
ISusp(πΊ )be the graph:
ISusp(πΊ ) βΆ= (π βͺ {π₯ , π¦ }, πΈ βͺ { {π₯ , π¦ } } )
Then the complex of independent sets of ISusp(πΊ )is Susp
π₯ ,π¦(IπΊ).
Remark 27. By definition ISusp(πΊ )ISusp(πΊ ) isπΊobtained with the addition of two
suspension of the graphπΊ = ({π₯ , π¦ }, {π₯ , π¦ })we obtain graphs that are represented by
a simplicial complex of independent sets that is homeomorphic to the sphereππ (see
fig. 1.4. Thus the reduced homology groups of that simplicial complex are all trivial, except theπ-th.
β
β
β
β
β
β
Graph Independent setsComplex of S n
Figure 1.4: The first two suspensions of the graphπΊ = ({π₯ , π¦ }, {π₯ , π¦ })
1.4
Complex of Neighbours
Definition 28 (neighbours). Let πΊ = (π , πΈ) be a graph and let π£ β π. The set of
neighbours ofπ£is
π (π£ ) = {
π€ β π βΆ {π£ , π€ } β πΈ }
Definition 29(Complex of neighbours). Simplices of the abstract simplicial complex
of neighbours of a graphπΊ = (π , πΈ)are all the subsets of{π£ } βͺ π (π£ ), for everyπ£ β π.
This complex will be denotedNbπΊ.
Remark 30. The inheritance property is included in the definition, so the simplicial
complex is well-defined.
We have various obvious straightforward relations between thedegree of the
G G2 G3
Figure 1.5: An example of graph and its powergraphs.
is equal to the greatest dimension of the simplices of the complex of neighbours. More-over ifπΊ is a regular graph (every vertex has the same degree)NbπΊ is a homogeneous
simplicial complex.
Observable simplicial complexes
Definition 31(Power graph). Let πΊ = (π , πΈ). Forπ β Nwe define the power graph πΊπ as the graph that hasπ as a set of vertices and where two vertices are adjacent if
their distance inπΊis at mostπ.
Lemma 32 (Complex of neighbours is subcomplex of the complex of cliques of the
power graph). LetπΊ = (π , πΈ)be a graph. ThenNbπΊ βClπΊ2.
Proof. Let π β NbπΊ, then there is a vertex π£ β π such thatπ β {π£ } βͺ π (π£ ). Thus the
distance among the vertices ofπ is at most 2 (they all have a common neighbour) and
this implies that the set of verticesπ is a clique inπΊ2.
Remark 33. The converse ( ClπΊ2 β Nb
πΊ) is not true. For example fig. 1.6 is a
coun-terexample.
Remark 34. Not all simplicial complexes are observable. For example there is not
such a graph whose simplicial complex is an empty triangle: it is sufficient to observe that if the graph has maximum degree bigger than 1, then we have at least a 2-simplex. Moreover the first barycentric subdivision does not provide the homeomorphism of the bodies (as the complex of cliques provided), but probably we could have homotopic equivalence (see fig. 1.7).
Homology and Homotopy of the complex of neighbours
The complex of neighbours, as stated in lemma 32, is a super-complex of the complex of cliques ofπΊ, and a sub-complex of the complex of cliques ofπΊ2. This fact prevents
G
C. of Neighbours of
G
a b c d e f g a b c d e f gG
2 a b c d e f g a b c d e f gC. of Cliques of
G
2Figure 1.6: Example of the complex of neighbours of a graphπΊ: NbπΊ =< π, π, π , π >
βͺ < π , π, π , π > βͺ < π , π , π >. Moreover we have: ClπΊ2 =< π, π, π , π > βͺ < π , π, π , π > βͺ < π, π , π , π >, soNbπΊ βClπΊ2
β
β
β
β
Figure 1.7: Refining a triangle does not give a complex of neighbours PL-equivalent to an empty triangle, but at least provide homotopical equivalence
The main preserved information about the original graph is the connectedness. To each connected component of the graph corresponds a connected component of the simplicial complex, and connected components of a graph are preserved via the power graph.
Definition 35(Chordless cycle). A chordless cycle in a graphπΊ is a cycle such that
no two vertices of the cycle are connected by an edge that does not itself belong to the cycle.
Remark 36(π-cycles). LetπΊ = (π , πΈ)be a chordless cycle onπ vertices and letNbπΊ
be its complex of neighbours. β’ ifπ = 3, thenNbπΊ = 2
π is a 2-simplex.
β’ ifπ = 4, thenNbπΊ = 2 π
β§΅ π. That is: NbπΊ is the complex containing the faces
of a 3-simplex but not the 3-simplex itself (i.e. is an empty tetrahedron). So it is simply connected and has the homotopy type of the 2-sphereπ2.
β’ if π β₯ 5, NbπΊ is homotopically equivalent to π
1. [ In particular is not simply
connected, and a representant of the fundamental group is the loop given by the simplexes forming the cycle inπΊ.]
β
β
β
β
β
β
Figure 1.8: Illustration of the graphs and the simplicial complexes of neighbours con-sidered in remark 36
We state now a result form LovΒ΄asz [16], which relates the connectedness of the complex of neighbours with the chromatic number of the original graph. A topological
spaceπis calledπ-connectedif each continuous mapping of the surfaceππof the(π + 1)
-dimensional ball intoπ extends continuously to the whole ball, forπ β {0, 1, β¦ , π}.
Theorem 37. If the complex of neighbours ofπΊ is(π + 2)-connected, then πΊ is not π-colorable.
1.5
Acyclic subsets
We acknowledge professor Fabrizio Caselli1, for his valuable contribution to this
sec-tion, in which we describe three methods to build simplicial complexes from acyclic subgraphs.
1.5.1
Complex of induced acyclic subgraphs
Definition 38. Let πΊ = (π , πΈ)be a simple graph. The simplicial complex of induced
acyclic subgraphs ofπΊis the simplicial complexΞsuch thatπ β π is a simplex inΞif
the induced subgraphπΊ [π ]is acyclic.
Remark 39. The simplicial complex is well-defined since ifπ β π thenπΊ [π ] β πΊ [π ],
and every subgraph of an acyclic graph is still acyclic.
The 1-skeleton of the complex of induced acyclic subgraphs of every graph πΊ = (π , πΈ)is always isomorphic to the complete graph on|π |vertices. In fact, letπ₯ , π¦ β π.
ThenπΊ [π₯ , π¦ ]is acyclic in any case: both ifπΊ [π₯ , π¦ ] = ({π₯ , π¦ }, β ), either or ifπΊ [π₯ , π¦ ] = ({π₯ , π¦ }, {π₯ , π¦ }).
Moreover this complex preserves very little topological information of the orig-inal graph: every acyclic induced subgraph on (π + 1)-vertices is represented by an π-simplex, regardless of the structure of the subgraph (see fig. 1.9).
1.5.2
Complex of acyclic subsets of the edge set
Definition 40. Let πΊ = (π , πΈ) be a graph and let π βΆ πΌ β πΈ be a bijection. The
simplicial complex of acyclic subsets of the edge set is the simplicial complex on πΌ
such thatπ β πΌ is a simplex ifπ(π )is an acyclic subgraph ofπΊ.
Remark 41. In the simplicial complex of acyclic subsets of the edge set 0-simplices
are represented by the edges of the graph, while in the previous methods 0-simplices were represented by the vertices of the graph. The complex is well-defined since every subgraph of an acyclic graph is still acyclic.
β
β
β
β
Figure 1.9: Every acyclic graph on 5 vertices is represented (as a complex of induced acyclic subgraphs) by a simplicial complex containing a 4-simplex and all its faces.
We lose much topological information about the original graph: every acyclic sub-graph onπ + 1edges is represented by an π-simplex,while the pieces of information
about inner structure, connected components, degree of the vertices of the acyclic sub-graph is lost (see fig. 1.10).
Remark 42. A special case of subcomplex of the acyclic subsets of the edge set is the
well studiedmatching complex (see [8] and [3]), where the vertex set of this complex
is the set of edges ofπΊand its faces are sets of edges ofπΊ with no two edges meeting
at a vertex.
1.5.3
Complex of removable acyclic subgraphs
Definition 43. LetπΊ = (π , πΈ)be a connected graph and letπ βΆ πΌ β πΈ be a bijection.
The simplicial complex of removable acyclic subgraphs is the simplicial complex onπΌ
such thatπ β πΌ is a simplex ifπ(π )is an acyclic subgraph ofπΊ andπΊβ²= (π , πΈ β§΅ π(π ))
is still connected.
Remark 44. This graph is well-defined because, as usual, a subgraph of an acyclic
graph is still acyclic, and if we remove a smaller number of edges the graph is still connected.
As in remark 39 and remark 41 the structure of the removed subgraph is not sig-nificant.π-simplices are generated by sets of(π + 1)edges, regardlessly of the
a b c d a b c d a b c d a b c d
β
β
β
Figure 1.10: Every acyclic graph on 4 edges is represented (as a complex of acyclic subgraphs of the edge set) by a simplicial complex containing a 3-simplex and all its faces.
Proposition 45. In the complete graph on π verticesπΎπ, the complex of removable
acyclic subgraphs is homogeneous of dimension(π β 2)and the simplices of maximal
dimension areππβ2β π.
Proof. The dimension of the complex comes from two standard graph theory theorems
about trees and spanning trees: every tree has exactly as much vertices as the number of edges minus one, and every graph is connected if and only if it has a spanning tree (see [6, theorem 4.3, theorem 4.6]).
As for the number of simplices: inπΎπ there areπ
πβ2spanning trees (Cayleyβs
for-mula, see [6, theorem 4.8]). We are now going to show that, if we remove fromπΎπ the
edges of one of these trees, the resulting graph is disconnected only inπ cases. This
will prove that the simplices of maximal dimension areππβ2β π.
In order to disconnectπΎπit is necessary to divide at least one vertex from the others,
that is: we have to remove each of theπ β 1edges starting from that vertex.
Another possibility, for example, is to disconnect a couple of vertices from the others: this can be achieved removing π β 2edges from the first vertex and π β 2
from the second vertex, while the edge connecting the two vertices can be preserved. Thus we removed2(π β 2)edges overall.
Similarly, to disconnect a clique ofπvertices from the rest of the graph we have to
remove at leastπ (π β π )edges.
Moreover, those edges must belong to an acyclic subgraph ofπΎπ, so their number
must be smaller thanπ β 1.
fol-lowing constraint on the number of the removed edges:
π (π β π ) β€ π β 1 π βN, π β₯ 2 βπ2+ π π β π + 1 β€ 0
This second degree inequality is solved forπ β€ 1 orπ β₯ π β 1. Both the acceptable
solutionsπ = 1and π = π β 1mean are separating one of the π vertices from πΎπ by
removing itsπ β 1 incident edges. So there are only π spanning trees whose edges
disconnectπΎπ.
1.6
Complex of enclaveless sets
We did not find any reference in the literature that used this method to build simpli-cial complexes out of a graph. The definition of enclaveless set and further results in domination in graphs can be found in[14].
Definition 46(Enclaves and Enclaveless sets). LetπΊ = (π , πΈ)be a simple graph. For π β π a vertexπ£ β π is an enclave ifπ (π£ ) β π. A set is said to be enclaveless if it does
not contain any enclaves.
Definition 47(Dominating set). LetπΊ = (π , πΈ)be a simple graph. A set of verticesπ·
is dominating inπΊif for everyπ£ β π,π£ β π·or existπ€ β π·such that{π£ , π€ } β πΈ. That
is: a set of verticesπ·is dominating if every vertex inπ is either inπ·or adjacent to a
vertex inπ·.
Remark 48. It is possible to characterize an enclaveless set as complementary of a
dominating set. In fact, ifπ· is a dominating set, then every π£ β π β§΅ π· adjacent to
a vertex inπ·, soπ (π£ ) is not a subset ofπ β§΅ π·. Thusπ β§΅ π·is enclaveless for every
dominating setπ·. Vice versa, if π β π is enclaveless, then every π£ β π is either in π β§΅ πor adjacent to it, becauseπ (π£ )is not a subset ofπ.
Definition 49 (Complex of enclaveless sets). The abstract simplicial complex of
en-claveless sets of a graphπΊ = (π , πΈ)is the one whose π-simplices are the enclaveless
sets ofπΊof cardinality(π + 1). We will denote this complex withElπΊ.
Remark 50. This complex is well defined. The inheritance property comes from the
fact that every superset of a dominating set is still a dominating set, thus a subset of an enclaveless set is still an enclaveless set.
Remark 51. There are many restrictions when we try to find a specific graph to build
a given simplicial complex. For example it is not possible to build a simplicial complex of enclaveless sets made by an π-simplex alone. Every time we have an π-simplex,
there is always a further 0-simplex in the complex, and this is due to the topological structure of a graph containing an enclaveless set of cardinalityπ + 1(see fig. 1.11).
β
Figure 1.11: On the left, the smallest graph with an enclaveless set of cardinality 6. On the left, its complex of enclaveless sets, made of a 5-simplex and a 0-simplex. In general, the smallest graph with an enclaveless set of cardinality π has the same
structure: acyclic onπ + 1vertices with a vertex of degreeπ. Analogously its complex
of enclaveless sets is composed by an π-simplex (generated by the enclaveless set of
vertices of degree 1) and a 0-simplex (generated by the vertex of degreeπ).
Homology of the complex of enclaveless sets
Proposition 52. The body of the geometric complexElπΎπ is homeomorphic toπ
πβ2.
Proof. Minimal dominating sets ofπΎπare the singletons, thus maximal enclaveless sets
ofπΎπare subsets of vertices of cardinality(π β 1). So, in the complex of enclaveless sets
there are all the(π β 2)-simplices onπvertices, and this is the geometric representation
of the boundary of an(π β 1)-simplex, and the body of this boundary is homeomorphic
toππβ2.
Proposition 53 (Suspensions). Let πΊ = (π , πΈ) be a graph, and let π₯ , π¦ β π. Let
ESusp(πΊ )be the graph:
ESusp(πΊ ) βΆ= (π βͺ {π₯ , π¦ }, πΈ βͺ { {π₯ , π¦ } } )
Then the complex of enclaveless sets of ESusp(πΊ )is Susp
π₯ ,π¦(ElπΊ).
Remark 54. The definition of the graph ESusp(πΊ )and ISusp(πΊ )(see proposition 26) is
the same: the addition of two vertices connected with each other only. As in the case of the complex of independent sets, if we iterateπtimes the suspension of the graph πΊ = ({π₯ , π¦ }, {π₯ , π¦ }) we obtain graphs that are represented by a simplicial complex
of independent sets that is homeomorphic to the sphere ππ (the figure is identical to
fig. 1.4). Thus the reduced homology groups of that simplicial complex are all trivial, except theπ-th.
1.6.1
Enclaveless sets implementations
Looking for minimal dominating sets. We adapted the method designed to find
We define a symbolic way to refer to the subsets of the power set ofπ. Letπ£ , π€ β π,
thenπ£ + π€is the set{{π£ }, {π€ }}andπ£ β π€is the set{{π£ , π€ }}. These are logic operations:
we define the sum of two vertices to be βthe first vertex either or the second vertexβ
and the product of vertices to be βthe first vertex and the secondβ. Those definitions
are generalizable to represent elements of the power set2π (products) and subsets of
the power set (additions of products). Using the distributive and associative properties we can exploit symbolic computations to manipulate the sets. It is possible to find all the minimal dominating sets of a graphπΊfollowing this procedure:
S =β forπ£ β π do Nv ={{v}} forπ€ β π (π£ )do Nv = Nv + w end S = Sβ Nv end
The main idea is that in every dominating setπ·, every vertex ofπ must be either
inπ·or at least have a neighbour contained inπ·. So in the end we have: 2π β π = β π£ βπ( π£ + β π€ βπ (π£ ) π€ )
Once performed all the calculations, each product of vertices is a minimal dominating set.
Simplifications. There are a couple useful simplifications for the computation:
1. duplicates of every vertex that appears more than once in a product are remov-able (e.g.:π£ π€ π₯ π£becomesπ£ π€ π₯).
2. if in a sum there are a couple of addends such that one is contained in the other, then the bigger addend is removable (e.g.π£ π€ π₯ + π£ π€ π₯ π¦ becomesπ£ π€ π₯).
3. letππbe products of vertices andπ£πbe vertices. Then we can simplify the product
(π1+ β― + ππ )(π£1+ β― + π£π). Letπβ²
1, β¦ , π β²
βbe the products containing at least one of
the verticesπ£1, β¦ , π£π and letπ β²β² 1, β¦ , π
β²β²
π be the products not containing any of the
verticesπ£1, β¦ , π£π. Then the product can be simplified in:
πβ² 1+ β― + π β² β+ (π β²β² 1 + β― + π β²β² π)(π£1+ β― + π£π)
a
b c
d e
Figure 1.12: Example of a graph. The first step in the computation of minimal domi-nating sets for the graph above is the following:(π + π + π + π)(π + π + π )(π + π + π )(π + π + π + π)(π + π + π ).
Implementation. We tried to implement this strategy using the following idea:
ev-ery vertex is associated to a prime number and then computations are made with ar-rays: every element of the array is an addend of the sum and every element is a product of prime numbers. This way simplifications are easily performed: for simplification 1 it suffices to reduce every element of the array to a product of primes raised to the first power; for simplification 2, if an element of the array divides the other, then the divisible element is deleted (see appendix).
This solution is an elegant one, but the evidence shows that numbers grow steadily while the number of vertices grows and computations becomes challenging and the elaboration time slows down. So it is advisable to find another implementation strat-egy.
Graph persistence
Contents
2.1 Persistent homology: a brief introduction . . . 33 2.2 Persistent homologic properties for simplicial complexes from
a graph . . . 36 2.2.1 Case study: edge filtrations onπΎ4 . . . 37
2.2.2 Filtration on edge-induced subgraphs: a simple example . . 48 2.2.3 Complexes from acyclic subsets and persistent homology . 48 2.3 Other Persistent properties: blocks and edge-blocks . . . 51 2.3.1 The persistent block number . . . 52 2.3.2 The persistent edge-block number . . . 53
2.1
Persistent homology: a brief introduction
Persistent homology is a useful method for computing topological features of a space. It was introduced by Patrizio Frosini and collaborators under the name of Size Theory [12] and used for shape recognition. This theory was also independently developed by Edelsbrunner et al. [9]. We consider only the case of persitent homology on simplicial complexes, but the general setting of the theory refers to topological spaces.
Let πΎ be a finite simplicial complex. We want to define a nested sequence of
in-creasing subcomplexes of πΎ called a filtration. So, letπ βΆ πΎ β R be a real valued
function such that π is non-decreasing on increasing sequences of faces. That is: if π , π β πΎ andπ β π, thenπ (π ) β€ π (π ).
For every π β R the sublevel set πΎ (π) = πβ1((ββ, π])is a subcomplex of πΎ. The
hypothesis onπ ensure that the ordering of the simplices provided by the values ofπ
induces afiltration, that is an ordering on the sublevel complexes: β = πΎ0β πΎ1β β― β πΎπ = πΎ
WhereπΎπ = πΎ (πΌπ)andπΌπ β [ππ, ππ+1)for someππ βR.
For every couple of π, π such that 0 β€ π β€ π β€ π, the inclusion πΎπ βͺ πΎπ induces a
homomorphism on the simplicial homology groups for each dimensionπ: ππ,π
π βΆHπ(πΎπ) βHπ(πΎπ)
For every π β {0, β¦ , π} the πth persistent homology groups are the images of these
homomorphisms and theπthpersistent Betti number are the ranks of those groups: π½π,π
π =dim(Imπ π,π π )
Persistent Betti numbers count how many homology classes of dimension π survive
the passage fromπΎπ toπΎπ. We say that a homology class πΌ β Hπ(πΎπ)is born entering
inπΎπ ifπΌ does not come from a previous subcomplex, that isπΌ β Imπ πβ1,π
π . Similarly, if
πΌ is born in πΎπ, itdies entering πΎπ if the image of the map induced byπΎπβ1 β πΎπ β1 does
not contain the image ofπΌ but the image of the map induced byπΎπβ1β πΎπ does. In this
case thepersistenceofπΌ isπ β π.
We can draw thepersistence diagramwhere we represent the points(π, π )whereπis
the birth of an homological class andπis its death. If the class does not die we represent
a vertical line called cornerline, starting from the diagonal in correspondence of the
moment of its birth. In the diagram we usually draw the diagonal of the first and third quadrant.
This pairing of homology classes generalizes the pairing that Edelsbrunner calls βthe elder ruleβ. The reason for this name is easily understood in the study of persis-tence for single variable functionsπ βΆRβR. When a new component is introduced
(a local minimum is found) in πβ1(ββ, π‘ ] we say that the local minimum represent
the component (birth of the component at timeπ‘). When passing a local maximum
and merging two components, we pair the maximum with the βyoungerβ of two local minima that represent the two components, and the other minimum is now the rep-resentative of the component resulting from the merger [9]. This is the same strategy we will use to define other persistent properties of a graph in section 2.3.
Example. We show now a simple example of a simplicial complex and its
Let the filtration be the following sequence of nested simplicial complexes (see fig. 2.1): πΎ0= β πΎ1 = {{π, π}, {π}, {π}, β } πΎ2 = {{π , π }, {π }, {π }, {π, π}, {π}, {π}, β } πΎ3 = {{π, π }, {π}, {π }, {π , π }, {π }, {π }, {π, π}, {π}, {π}, β } πΎ4 = {{π, π, π }, {π, π }, {π, π }, {π, π }, {π}, {π }, {π , π }, {π }, {π }, {π, π}, {π}, {π}, β } πΎ5 = {{π, π , π }, {π, π , π }, {π , π , π }, {π, π }, {π, π }, {π , π }, {π , π}, {π, π, π }, {π, π }, {π, π }, {π, π }, {π}, {π }, {π , π }, {π }, {π }, {π, π}, {π}, {π}, β }
This example shows how to build a persistence diagram according to the definition above. 0 1 2 3 4 5 1 2 3 4 5 "death" of {a,b} β
birth of {birth of {a,b} c,d} birth of {e,f } death of {c,d} death of {e,f } 0 1 2 3 4 5 1 2 3 4 5 β 0 1 2 2 3
β
β
β
β
β
K
5 a b c d e fK
0 aβ
a b c d e fK
1 a b c d e fK
2 a b c d e fK
3 a b c d e f aK
4 b c d e fFigure 2.1: Example of a filtration (on top), its zero-persistence diagram (on the left), and the persistent betti number function (on the right)
2.2
Persistent homologic properties for simplicial
com-plexes from a graph
Definition 55. Aweighted graphπΊ = (π , πΈ, π€ )is a graphπΊ = (π , πΈ)where theweight
function π€ is a bijection π€ βΆ πΈ β {1, 2, β¦ , |πΈ|}. On πΊ = (π , πΈ, π€ ) we define the
subgraphπΊπ = (π , π€β1({1, 2, β¦ , π}).
Ourfiltrationwill be the sequence of complexes associated to eachπΊπ (see for
ex-ample fig. 2.2)
This setting allows us to study the persistence of the simplicial complexes described in chapter 1 (built from the various stages of the filtration of the edges).
β
β
β
1 2 3 4 6 7 8 9 5 G=(V,E,w) 1 2 3 4 G4 1 2 3 4 6 5 G7 1 2 3 4 6 7 8 9 5 G9 7Figure 2.2: The weighted graphπΊ = (π , πΈ, π€ ) and some subgraphs in the filtration: πΊ4 = (π , π€β1({1, β¦ , 4})), πΊ7 = (π , π€β1({1, β¦ , 7})), πΊ9 = (π , π€β1({1, β¦ , 9})) and their
complexes of cliques
Notation warnings. According to our definition, when we refer to weighted
graphs, we are talking about graphs with a relation of total order on the edge set. By contrast, in the literature weighted graphs are usually defined with a weight functionπ€ βΆ πΈ βΜ Rwhere every edge is associated to a real number. This induces a
filtration as well, whereπΊπ= (π ,π€Μβ1((ββ, π]))for allπ β R.
Our definition is less general, but gives us a complete sorting of the edges of πΊ,
while in the general case two edges with the same weight (i.e. π€ (πΜ 1) = π€ (πΜ 2)) would
appear at the same time.
Weights could also be associated to vertices, but in this work we will only consider weights on edges.
2.2.1
Case study: edge filtrations on
πΎ
4In this section we are going to deal with a simple example to show some features of the persistent homology for simplicial complexes from graphs. We suppose that in the step 0 of the filtration all vertices are added, then edges are added one by one. This choice leads to βmonodimensionalβ zero-persistence diagrams (see fig. 2.9), that is: all the information of the diagram is contained in the leftmost cornerline and its internal cornerpoints. See section 2.2.2 for a different initial step in the filtration.
First, we present some notations that is going to be standard in the remainder of this section.
Notations. There are 10 classes of isomorphic graphs on 4 vertices (seefig. 2.3 on
page 41). The notation for each equivalence class is a letter ranging from (a) to(k).
Here we present a representative for each equivalence class (the bigger graph of each class in fig. 2.3), and the number of elements in each class.
Equivalence classes of graphs up to isomorphism:
(a) β ({π£ , π€ , π₯ , π¦ }, β ), 1 element. (b) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }}), 6 elements. (c) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }}), 12 elements. (d) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π€ , π₯ }}), 3 elements. (e) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π£ }}), 4 elements. (f) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π¦ , π€ }}), 4 elements. (g) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π€ }}), 12 elements. (h) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π£ }, {π£ , π€ }}), 12 elements. (i) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π€ }, {π£ , π€ }}), 3 elements. (j) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π£ }, {π£ , π€ }, {π€ , π₯ }}), 6 elements. (k) β ({π£ , π€ , π₯ , π¦ }, {{π£ , π¦ }, {π¦ , π₯ }, {π₯ , π£ }, {π£ , π€ }, {π€ , π₯ }, {π€ , π¦ }}), 1 element.
The directed graphπ·(see fig. 2.4 on page 42), represents the filtrations onπΎ4: each
node is a class of equivalence of isomorphic graphs on 4 vertices, while each arrow represent the insertion of an edge. Figure 2.5 on page 43 explains the route of each filtration.
Possible filtrations (in each step an edge is added) along the classes are all the pos-sible paths inπ· starting from the node(π):
1 :(π) β (π) β (π ) β (π) β (β) β (π ) β (π ) 2 :(π) β (π) β (π ) β (π ) β (β) β (π ) β (π ) 3 :(π) β (π) β (π ) β (π ) β (β) β (π ) β (π ) 4 :(π) β (π) β (π ) β (π ) β (π) β (π ) β (π ) 5 :(π) β (π) β (π ) β (π ) β (β) β (π ) β (π ) 6 :(π) β (π) β (π ) β (π ) β (π) β (π ) β (π )
Weights of the digraph of filtrations: the graphπ·in fig. 2.4 can be equipped with
weights on the arrows. In fact, a filtration is the sorting of the edge set. We can suppose that the sorting is made through a stochastic process where each edge is picked out at random with homogeneous probability among the edges still to be chosen. Then every arrow weight is the inherited probability of transition from the two classes, according to the defined stochastic process.
We can see that in our digraph most weights are obviously equal to 1. The weight is equal to 1 in the cases where, no matter the choice of the next edge, the resulting graphs after the any insertion are all isomorphic. This is the case for the oriented edges
(a)(b), (d)(g), (e)(h), (f)(h), (h)(j), (i)(j),and(j)(k).
Consider now the class(c). For each representative there are 4 possible edges to be
added. The insertion of one of them would result in a graph isomorphic to a 3-cycle and an external vertex (that is, a graph in(e)), the insertion of another edge would
result in a graph with a vertex of degree 3 and the other vertices of degree 1 (a graph in(f)). The insertion of one of the other two possible edges would result in a graph
that is a path of 3 adjacent edges (a graph in(g)). So the transition probabilities from
the class(c)give the following weights: 1
4 for(c)(e), 1
4 for(c)(f)and
2
4 for(c)(g).
Similar arguments give the weights: 4
5 for(b)(c), 1 5 for(b)(d), 2 3 for(g)(h), and 1 3 for (g)(i).
This allows us to compute how probable is a filtration with respect to the sorting of the edges done through a uniform random choice.
1 :1 β 4 5β 1 4 β 1 β 1 β 1 = 3 15 2 :1 β 4 5β 1 4 β 1 β 1 β 1 = 3 15 3 :1 β 4 5β 2 4 β 2 3β 1 β 1 = 4 15 4 :1 β 4 5β 2 4 β 1 3β 1 β 1 = 2 15
5 :1 β 1 5β 1 β 2 3 β 1 β 1 = 2 15 6 :1 β 1 5β 1 β 1 3 β 1 β 1 = 1 15
Remark 56. The weighted graphπ·is a Markov Chain and could be considered as such
in the analysis of the persistence. We did not investigate this aspect, but this could be an interesting topic for further research on filtrations on a graph. For a definition of Markov Chain and some applications on graphs see for example [7].
We depict in fig. 2.6 on page 44 a summary table of the simplicial complexes derived from the classes of graphs on 4 vertices: the complex of cliquesClπΊ, the complex of
in-dependent setsIπΊ, the complex of neighboursNbπΊ and the complex of enclaveless sets
ElπΊ. The complexes built from acyclic subsets are not represented in this table, since
those methods mostly build simplicial complexes out of edges, and not vertices, so they are not easily comparable (for further clarification see section 2.2.3). In our comparison we will not consider the complex of independent sets either for two reasons:
1. the inclusion of the complexes runs backward with respect to the filtration: the filtration is not non-decreasing as required in the definition of persistence, but
non-increasing. This does not prevent us from defining persistent Betti numbers
simply reversing birth and death of the classes, but the comparison with other methods is not possibile.
2. for lemma 23 we have that all the information provided in the complex of inde-pendent sets can be retrieved from the complex of cliques of the complementary graph.
Zero-persistence diagrams. Now we consider all the filtrations and their features
in the complexes of cliques, neighbours and enclaveless.
The sequences of simplicial complexes along the filtrations are represented in fig. 2.7 and fig. 2.8 on pages 45 and 46. The zero-persistence diagrams of those filtrations are represented in fig. 2.9 on page 47.
Correspondences are the following:ClπΊ andNbπΊ have always the same zero-
per-sistence diagram in each filtration. In particular 2 , 3 , 4 , 5 , 6 have I as
persis-tence diagram, while the filtration 1 has II.ElπΊshows III as a persistence diagram for
filtrations 3 , 5 and 6 , IV for 1 and 4 , and V for the filtration 2 .
ClπΊandNbπΊzero-persistence diagrams give only information about the connection
of the subgraph considered. The number of connected components at the beginning of the filtration is exactly equal to the number of vertices ofπΊ. This number decrease
along the filtration down to 1, reached at theπthstep, when the graphπΊπ is connected.
Since the only information retrieved from the zero-persistence of the simplicial complexes ofClπΊ andNbπΊ is only about connected components of the original graph,
the zero-persistence diagrams ofClπΊ andNbπΊ are always equal (in fact the connected
components inClπΊ and NbπΊ are made of the same vertices). This is not the case for
the one-persistence diagrams: the first homology group of the complex of cliques and of the complex of neighbours may be different. For example, consider the class of isomorphic graphs (π)in fig. 2.6: the complex of cliques is a 4-cycle (thusH1 is
non-trivial), while the complex of neighbours is a hollow tetrahedron (thusH1 is trivial,
but,H2is not).
As for the enclaveless, isolated vertices of πΊ do not represent a connected
com-ponent in ElπΊ. So the persistence diagram is different: at the beginningπΊ0 is made
of isolated vertices and thus ElπΊ0 is the empty complex; two connected components
arise together with the first edge of the filtration (this way there are two dominant set whose complementary has at least one element).
In particular that first edge determines the first two connected components that will eventually merge to a single connected component. This merging occurs in different steps of the three filtrations: second step in diagram III, third step in diagram IV, and fourth step in diagram V.
0-edges: (a)
1-edge: (b)
2-edges: (c) (d)
3-edges: (e) (
ξ
) (g)
4-edges: (h) (i)
5-edges: (j)
6-edges: (k)
v y w x v y w x v y w x v y w x v y w x v y w x v y w x v y w x v y w x v y w x v y w xFigure 2.3: The 11 equivalence classes of isomorphic graphs on 4 vertices. The repre-sentative we will refer to is the biggest.
4/ 5 1/ 3 1/ 5 2/ 4 1/ 4 1/ 4 2/ 3 (a) (b) (c) (d) (j) (k) (i) (h) (e) (ξ ) (g) 1 1 1 1 1 1 1
Figure 2.4: The oriented graphπ·. Vertices are the equivalence classes of graphs on
4 vertices, while arrows represent the insertion of an edge in the graph. Arrows are labelled with their probabilities.
1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 5 4 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 (a) (b) (c) (d) (e) (ξ ) (i) (j) (k) (g) (h) 1 3 4 6 5 2
Figure 2.5: The 6 filtrations on the edges ofπΎ4, or, equivalently, paths from(π)to(π )
(a) (b) (c) (d) (e) (ξ ) (i) (j) (k) (h) (g)
Cl
GI
GN
GEl
G v w x y <v>, <w>, <x>, <y> v w x y <v,w,x,y> v w x y <v>, <w>, <x>, <y> <> v w x y <v,y>, <w>, <x> w v x y <v,w,x>, <w,x,y> v w x y <v,y>, <w>, <x> v w x y <v,y,x>, <w> v w x y <v,w,x>, <w,y> v w x y <v,y>, <x,y>, <w> v w x y <v,y>, <w,x> v w x y <v,w>, <w,y>, <y,x>, <x,v> v w x y <v,y>, <w,x> v w x y v w x y <v,w>, <y,w>, <x,w> v w x y v w x y <v,y>, <w,y>, <x,y> v w x y <v,w,x>, <y> v w x y v y <v>, <y>, v x y <v,x>, <y> v w x y v x y <v,y>, <y,x>, <x,v> v w x y <v,w,x>, <y> v w x y v w x y <v,y>, <v,x>, <w,x,y> v w x y v w x y <v,y,x>, <w,y,x> v w x y v w x y <v,y>, <v,x>, <v,w>, <w,y>, <w,x>, <x,y> <v,y,w>, <w,y,x>, <v,x> v w x y