Abstract 1 Introduction 2 Preliminaries 3 Main result 4 Conclusion References

Weakly-Sparse and Strongly Flip-Flat Classes of Graphs Are Uniformly Almost-Wide

Fatemeh Ghasemi ORCID Univ Paris Est Creteil, LACL, F-94010 Creteil, France Julien Grange ORCID Univ Paris Est Creteil, LACL, F-94010 Creteil, France Mamadou Moustapha Kanté ORCID Université Clermont Auvergne, Clermont Auvergne INP, LIMOS, CNRS, Clermont-Ferrand, France Florent Madelaine ORCID Univ Paris Est Creteil, LACL, F-94010 Creteil, France
Abstract

In this work we take a step towards characterising strongly flip-flat classes of graphs. Strong flip-flatness appears to be the analogue of uniform almost-wideness in the setting of dense classes of graphs. We prove that strongly flip-flat classes of graphs that are weakly sparse are indeed uniformly almost-wide.

Keywords and phrases:
Almost-wide, Flip-flatness
Funding:
Fatemeh Ghasemi: F. Ghasemi wants to thank Fond de recherche IUT Sénart-Fontainebleau.
Copyright and License:
[Uncaptioned image] © Fatemeh Ghasemi, Julien Grange, Mamadou Moustapha Kanté, and Florent Madelaine; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Finite Model Theory
; Mathematics of computing Graph algorithms
Funding:
This work is Supported by French National Research Agency under PRC program ANR-20-CE48-0002.
Editors:
Stefano Guerrini and Barbara König

1 Introduction

When Trakhtenbrot showed that the set of first-order formulas (FO formulas for short) that are valid on finite structures is co-recursively enumerable, but not recursively enumerable, a beam of light was shed on the curious inversion of finite structures and infinite structures; as the same set is recursively enumerable (Gödel’s completeness), but not co-recursively enumerable (Church’s theorem) on structures. This gave birth to finite model theory [21] and boosted the motivation to show its differences with the world of infinites. Some classical results, such as the compactness theorem, almost immediately broke down; some, like the Löwenheim-Skolem theorem, became meaningless; and some remained valid in finite structures, such as Ehrenfeuchet-Fraïssé games. Moreover, many results were discovered to be native of finites and not hold in the infinites such as Fagin showing that on finites structures Σ11=𝖭𝖯 [6].

A category of theorems from classical model theory are preservation theorems. They describe the relation between syntactic and semantic properties of first-order formulas. Łoś-Tarski, Lyndon’s positivity and Homomorphism preservation theorem are examples of preservation theorems [29]. The Łoś-Tarski theorem, also known as extension preservation theorem, which asserts that a first-order formula is preserved under embeddings between all structures if and only if it is equivalent to an existential formula, was shown to fail in the finite from early on [38]. On the contrary, Rossman showed that the homomorphism preservation theorem asserting that a formula is preserved by homomorphisms if and only if it is existential-positive, holds on finite structures [2]. Before Rossman, Atserias et al. attempted to show positive results regarding both extension and homomorphism preservation by further restricting finite structures to tame classes defined by sparsity conditions (with additional closure conditions) [4, 5, 12, 11], and the notions such as wideness, quasi-wideness, almost-wideness and their uniform versions were introduced for that purposes.

These notions proved to be useful in other contexts. Informally, a class of graphs 𝒞 is said quasi-wide if, for every integer r and in any large enough graph G from 𝒞, we can find a small set of vertices S and a large enough set BV(G)S such that any two vertices in B are at distance at least r+1 in GS, i.e., the induced graph on V(G)S. Being uniformly quasi-wide, means that the above statement is true not only for any large enough graph, but also for their large enough subgraphs. The well-known notion of nowhere dense classes of graphs are characterised to be exactly the uniformly quasi-wide classes of graphs [33], and this characterisation lies at the heart of another combinatorial characterisation of nowhere dense classes of graphs through the notion of splitter game, which helped proving that FO model checking on nowhere dense classes of graphs is fixed parameter tractable [27].

It is therefore natural to ask for which other graph classes such characterisations or algorithmic results can be obtained, and there is a large effort from the finite model theory and algorithmic/structural graph theory communities to push them to hereditary dense structures (see for instance [19, 23, 16, 39] to cite a few). With this aim, the well-studied model-theoretic notion of monadic stability beautifully manifested itself.

The concept of monadic stability was introduced by Baldwin and Shelah [7], and was mainly studied within model theory and in connection with Shelah’s classification theory [37]. Their work provides an understanding of the structure of monadically stable classes from the model-theoretic perspective. However, describing their combinatorial properties has started only recently. Immediately after, the two combinatorial characterisations of monadically stable graph classes through the notions of flip-flatness [18] and the flipper game [24], came handy in proving that FO-model checking is fixed parameter tractable on monadically stable classes of graphs [17, 16]. Informally, flip-flatness means that in a big enough graph we can perform a certain number of flips, that is flipping the adjacency between a pair of subsets of vertices, such that in the final structure, there exists a large enough set of vertices that are pairwise far away. When the number of flips is independent from the distance between the far-away subset of vertices and only depends on the class, we call the class strongly flip-flat. Recently, Eleftheriadis extended the result on extension preservation theorem to a restriction of the strongly flip-flat classes of graphs [22].

We recall Eleftheriadis’ theorem after explaining the notation. If G is a graph and F=(A,B) is a pair of subsets of vertices of G, the flip of G on F, denoted by GF, is the graph obtained from G by flipping the edges between vertices in A and vertices in B, where A and B can have non-empty intersection. Flipping edges between A and B means replacing every edge by a non-edge and every non-edge by an edge. One can check that GFF=GFF. A family of k pairs of subsets of vertices is called a k-flip in G, and for a k-flip :={F1,,Fk} in G, we denote by G the graph GF1F2Fk, and by GG the graph G where G is the disjoint union of two copies G1 and G2 of G and ={(A1,B2)(A,B),A1(resp. B2) the copy of A(resp. B) in G1(resp. G2)}.

Theorem 1 ([22]).

Let 𝒞 be a hereditary class of graphs. Suppose that there is some k such that, for all r, there is a function fr: satisfying that, for every m and every G𝒞 of size at least fr(m), there is a k-partition P of V(G), some k-flip P×P, and AV(G) such that

  1. 1.

    |A|m;

  2. 2.

    A is r-independent in G;

  3. 3.

    GG𝒞.

Then extension preservation holds over 𝒞.

The first two conditions are imposing strong flip-flatness and the third condition is a closure condition which does not naturally hold. While it is evident that strongly flip-flat classes of graphs are a subset of flip-flat graph classes, a clear characterisation is still needed.

We initiate a characterisation of strongly flip-flat graph classes by looking at their intersection with weakly sparse classes of graphs, i.e., classes of graphs that exclude some biclique. The reason we believe this is a good starting point is that, for many classes of dense graphs, their intersection with weakly sparse classes of graphs has been observed to be well-behaved classes of graphs, and as such examples we can cite:

  • Bounded shrubdepth Weakly sparse = Bounded treedepth [14] (see also the discussion of [25]),

  • Bounded clique-width Weakly sparse = Bounded tree-width [10, Theorem 5.9(4)],

  • Bounded linear clique-width Weakly sparse = Bounded path-width [28]. In [28] Gurski and Wanke only state the result for graphs of bounded clique-width, which is an improvement on the bound given in [10, Theorem 5.9(4)]. However, they indeed prove that one can construct a tree decomposition from a given clique-width expression (equivalently NLC-width expression), while keeping the shape of the expression. Hence, when the expression has the form of a path, i.e., linear clique-width is bounded, the resulting tree will look like a path, i.e., path-width is bounded.

  • Monadically stable Weakly sparse = Nowhere dense [20, 36, 3]

  • Monadically dependent Weakly sparse = Nowhere dense [20] (see also [34]), and

  • Bounded flip-width Weakly sparse = Bounded expansion [39].

Hence, following this line of research, we prove the following.

Main Theorem.

A class of graphs 𝒞 is a weakly sparse and strongly flip-flat if and only if 𝒞 is uniformly almost-wide.

FO-transductions are a way of constructing new classes of graphs from a given class 𝒞 by the means of FO formulas. Basically, we have the power to colour the vertices of the graphs arbitrarily, but with a constant number of colours, and then change the vertex and edge set as the given FO formulas dictates. These formulas can use the colours. When a class 𝒞 has property 𝒫, for any FO-transduction of 𝒞, we say that it is structurally 𝒫. For example, it has been shown that structurally nowhere dense classes of graphs are monadically stable and hence flip-flat [36, 3, 18]. On the other hand, it is shown that, for some weakly sparse classes of graphs, their FO-transductions are exactly some well-known, yet dense classes of graphs. As a prominent example, it is proven that structurally bounded tree-depth classes of graphs are exactly bounded shrubdepth classes of graphs [26]. In addition to this, Eleftheriadis also showed that in the setting of hereditary classes of graphs, transductions of uniformly almost-wide classes of graphs are strongly flip-flat [22]. Therefore, we conjecture the following, supported by the sparsification conjecture stating that monadically stable graph classes are exactly the structurally nowhere dense classes of graphs.

Conjecture 2.

Every strongly flip-flat graph class is structurally uniform almost-wide.

We believe our main theorem is a step towards proving the conjecture, and allow us to confirm it on structurally bounded expansion graph classes. Nešetřil and Ossona De Mendez showed that for a hereditary class of graphs 𝒞, if there are s and a function t: such that, for every r, the graphs in the depth-r shallow minor of 𝒞 exclude Ks,t(r), then 𝒞 is uniformly almost-wide [33]. As second point supporting the conjecture, we also argue that there exist infinitely many s such that, for every r, the r-subdivisions of Ks,N, for arbitrary large N, cannot be strongly flip-flat and we leave open the question of using them to characterise strongly flip-flat graph classes using shallow vertex-minors [9].

After completing our work, we became aware of independent results by Mählmann [31, Lemma 13.10], which establish a statement closely related to ours. In that work, Mählmann proves that weakly sparse and flip-flat classes of graphs are uniformly quasi-wide. Since flip-flatness characterizes monadic stability, and uniform quasi-wideness characterizes nowhere denseness, this result mirrors a corollary of [20, 35], which shows that monadically stable and weakly sparse classes of graphs are nowhere dense. While our main results differ, ours concern strong flip-flatness, whereas Mählmann focuses on flip-flatness, the proofs are similar in spirit. Our approach, however, introduces a novel point of view: an induction on the set of flips instead of the usual induction on the independence radius. We believe this perspective brings new insights and contributes meaningfully to the ongoing research in this area.

2 Preliminaries

For two sets A and B, we denote by AB the set {xAxB} and by AΔB the set (AB)(BA). The set of positive integers is denoted by .

We assume familiarity with standard graph theoretical notions, and refer to [8, 15], and deal only with undirected graphs111One can extend the results to directed graphs by using a coding of directed graphs, through an invertible FO-transduction, into bipartite undirected graphs.. The vertex set of a graph G is denoted by V(G) and its edge set by E(G). An edge between u and v in a graph G is denoted by uv (equivalently vu). We recall that, in a graph G, a path between two vertices u and v in V(G) is a sequence of vertices u=w1,,wl=v such that wiwj, for all 1i<jl, and, for all 1i<l, we have that wiwi+1E(G); we say that the length of this path is l1; we often denote such a path by vu when we are not interested in the internal vertices of the path. The distance between a pair of vertices is the length of the shortest path between them. For a subset S of V(G), we denote by G[S] the subgraph of G induced by S, i.e., V(G[S])=S and E(G[S])=(S×S)E(G); by GS we mean the subgraph of G induced by V(G)S. We say that a set BV(G) is r-independent in G if, for all pairs u,vB, the distance between u and v in G is strictly greater than r. By Kt and Kt,t, we denote the complete graph on t vertices and the complete bipartite graph with t vertices in each part, respectively. A half-graph of order n is a bipartite graph with sides {a1,,an} and {b1,,bn} such that, for all 1i,jn, ai and bj are adjacent if and only if ij. Half-graphs are graph theoretical representations of linear orders. For an integer r, the r-subdivision of a graph G is the graph obtained from G by replacing each edge uv of G by a path uv of length at most r+1 that intersects V(G) only on its endpoints.

Sparse graph classes

We adopt the notion of graph sparsity as developed in [33].

Definition 3.

Let 𝒞 be a class of graphs. We say that 𝒞 is weakly sparse if there exists a constant t such that every graph G𝒞 excludes Kt,t as a subgraph.

A graph H is a depth-r shallow minor of G if there are disjoint connected subgraphs C1,,C|V(H)| of G, each of radius at most r, and a bijective mapping ρ:V(H){C1,,C|V(H)|} such that uvE(H) only if there is an edge between a vertex in ρ(u) and a vertex in ρ(v).

A class of graphs 𝒞 is nowhere dense if and only, for every integer r, there exists an integer tr such that all the graphs of 𝒞 exclude Ktr as depth-r shallow minor. By taking t pairs of vertices from opposite sides of Kt,t as disjoint connected subgraphs, one constructs Kt as a depth-1 shallow minor. Therefore, we can conclude that nowhere dense classes of graphs are weakly sparse. Let us now introduce the core notions of quasi-wideness.

Definition 4.

Let 𝒞 be a class of graphs. We say that 𝒞 is uniformly quasi-wide if, for every r, there exists a function Nr: and an integer sr such that, for all m and G𝒞, and for all AV(G) of size at least Nr(m), we can find sets SV(G) and BA where |S|sr and |B|>m, such that B is r-independent in GS. A graph class 𝒞 is said to be uniformly almost-wide if sr:=s is independent of r. (See Figure 1.)

We say that (A,S) is an (r,m)-widenable instance of G with respect to s and Nr if AV(G) with |A|Nr(m) and SV(G) with |S|s, and we can find a set BA such that |B|m and B is r-independent in GS. When s and Nr are clear from the context we only say that (A,S) is an (r,m)-widenable instance of G.

Figure 1: Assuming |A|>Nr(m) is a subset of vertices of G, a graph in a uniformly quasi-wide class of graphs 𝒞, then there are sets of vertices S (the red crosses), with |S|sr, and BA, with |B|m, such that B is r-independent in GS. The function Nr and the constant sr both depend on r and the class 𝒞. When sr is independent from r and only depends on the class, we call that class uniformly almost-wide.

It has been shown that when it comes to hereditary classes of graphs, i.e., closed under induced subgraphs, uniform quasi-wideness characterises nowhere denseness, and uniform almost-wideness characterises classes for which there exists a function t: and an integer s such that for every r, it excludes Ks,t(r) as depth-r shallow minor [33].

Beyond sparse graph classes

While nowhere dense classes of graphs are exactly the graph classes closed under subgraph and for which FO model-checking is fixed parameter tractable, there are other important graph classes for which FO model-checking is still fixed parameter tractable, such as unit-interval graphs or map graphs. It is conjectured in [1] that hereditary graph classes for which FO model-checking is fixed parameter tractable correspond exactly to monadically dependent graph classes, a model-theoretic notion which will be defined later. The notions introduced in this quest are the ones behind the notion of strongly flip-flat graph classes.

Definition 5 (Flips).

Let G be a graph. A flip 𝖥 is an operation that is specified by a pair of sets 𝖥=(A,B), where A,BV(G)(A and B can intersect and even be equal). We denote this operation by G𝖥 and it operates on G by complementing the adjacency between A and B, more precisely

G𝖥:=(V(G),E(G)Δ((A×B)(B×A))).

By G, where ={𝖥𝟣,,𝖥𝗄} is a set of flips, we mean G𝖥𝟣𝖥𝗄. For a flip 𝖥=(A,B) and a set of vertices PV(G), by 𝖥P we mean (AP,BP). To simplify the notation, instead of (GP)𝖥P we write (GP)𝖥.

Observation 6.

For any graph G and flips 𝖥,𝖥 we have G𝖥𝖥=G𝖥𝖥 and G𝖥𝖥=G.

Lemma 7.

Let G be a graph and ={𝖥𝟣,,𝖥𝗄} be a set of flips. There exists a set of flips where G=G and ||(22k2) such that does not flip the adjacency of any fixed pair of vertices more than once.

Proof.

Let 𝖥𝟣,,𝖥𝗄 be equal to (P1,P2),,(P2k1,P2k), respectively. Let 𝖱𝖾𝗌𝗍={V(G)i[2k]Pi} and

𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇={iIPijIPjI[2k],I}{𝖱𝖾𝗌𝗍}.

Indeed 𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇 is a partition of the vertices of G, and for a part Q𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇, if PiQ, then QPi. Notice that |𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇|22k.

This implies that each Pi can be written as a union of some elements of the 𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇. Now, assume that for each Pi there is a set of indices Ii such that Pi=jIiQj, and Qj, jIi, being elements of 𝖯𝖺𝗋𝗍𝗂𝗍𝗂𝗈𝗇, then a flip Ft=(P2t1,P2t) is equivalent to t={(Qj,Qs)jI2t1,sI2t}. We construct to be a refinement of by taking flips from t, for 1tk, that appear in an odd number of t. As an even repetition of a flip does not alter the graph (Observation 6), the other flips of t, 1tk, i.e. those that appear an even number of times, can be avoided. Thus, has at most (22k2) many elements. Now, as the sets in the flips of are parts of a partition, a fixed pair of vertices occurs in a unique flip. Thus, does not change the adjacency of a pair of vertices more than once.

Corollary 8.

A set of flips ={𝖥𝟣,,𝖥𝗄} on a graph G, can be seen as a binary relation on a partition of the vertex set of G. This binary relation specifies which pairs of parts undergo a flip and which do not.

We proceed to the formal definition of flip-flatness and strong flip-flatness, these notions are a generalisation of uniformly quasi-wideness and uniformly almost-wideness, where vertex deletion is replaced by performing flips.

Definition 9.

Let 𝒞 be a class of graphs. We say that 𝒞 is flip-flat if, for every r, there exists a function Nr: and an integer sr such that for all m and G𝒞, and for all AV(G) of size at least Nr(m), we can find a set of flips and BA where ||sr and |B|m, such that B is r-independent in G. A class 𝒞 is said to be strongly flip-flat if sr:=s is independent of r. (See Figure 2.)

We say that (A,) is an (r,m)-flippable instance of G with respect to Nr if AV(G) with |A|Nr(m) and is a set of flips and we can find a set BA with |B|m such that B is r-independent in G. When Nr is clear from the context, we only say that (A,) is an (r,m)-flippable instance of G.

Figure 2: Assuming |A|>Nr(m) is a subset of vertices of G, a graph in a flip-flat class of graphs 𝒞, then there is a set of flips (the red ellipses), with ||sr, and a set BA, with |B|m, such that B is r-independent in G. The function Nr and the constant sr both depend on r and the class 𝒞. When sr is independent from r and only depends on the class, we call that class strongly flip-flat.

Note that one can mimic the removal of a vertex v by the flip ({v},N(v)). However, flip-flatness gives us a purely combinatorial characterisation of monadic stability as well, that we recall now.

One can think of graphs as finite relational structures with the signature τE={E}, where E is the relation symbol indicating the edge relation. We refer to [30] for the definition of FO formulas. We recall here the notion of a transduction. Let c and δ(x) and φ(x,y) be first-order formulas over the extended signature τEc:=τE{C1,,Cc}, where C1,,Cc are unary predicates. We think of these predicates as colours marking the vertices. The transduction Tδ,φ is the operation that maps a graph G to the class Tδ,φ(G) containing the graphs H such that there exists a τEc-expansion G+ of G, i.e., a colouring of G with colours {C1,,Cc}, satisfying V(H)={vV(G):G+δ(v)} and

E(H):={(u,v)V(H)2:uvG+(φ(u,v)φ(v,u))}.

We write Tδ,φ(𝒞):=G𝒞Tδ,φ(G) and say that 𝒟 is a transduction of a class 𝒞, or 𝒞 transduces 𝒟, if there exists a transduction 𝒯δ,φ such that 𝒟𝒯δ,φ(𝒞). A graph class 𝒞 is monadically dependent (resp. monadically stable) if 𝒞 does not transduce the class of all graphs (resp. half-graphs). We remark that these are not the original definitions of monadic stability and monadic dependence, but it follows from the work of Baldwin and Shelah that these notions can be defined by transductions [7].

We say that a class 𝒞 is structurally 𝒫, if there exists a transduction Tδ,φ and a class 𝒟 with property 𝒫 such that 𝒞Tδ,φ(𝒟).

Theorem 10 ([18]).

A class of graphs is monadically stable if and only if it is flip-flat.

Since an FO-transduction preserves monadic stability, one can first ask whether FO-transductions preserve strong flip-flatness, and indeed yes as shown in [22].

Proposition 11 ([22]).

If 𝒞 is strongly flip-flat, then Tδ,φ(𝒞) is also strongly flip-flat, for any FO-transduction Tδ,φ.

It has been proven that classes of graphs that are monadically stable and weakly sparse are nowhere dense [20, 36, 3]. Thanks to Proposition 11, every FO-transduction of a uniformly almost-wide graph class is indeed strongly flip-flat. Hence our motivation to show that classes of graphs that are strongly flip-flat and weakly sparse are uniformly almost-wide.

3 Main result

We are ready to state and prove the main result.

Theorem 12.

A class of graphs 𝒞 is a weakly sparse and strongly flip-flat if and only if 𝒞 is uniformly almost-wide.

We start with the following lemma.

Lemma 13.

Let G be a graph, t0,r and m be integers, and BV(G) be a set with |B|t02+t0+m2, such that all the elements of B are pairwise at distance less than or equal to r. Assume there exists a flip 𝖥=(P1,P2) such that:

  • 𝖥 does not contain a Kt0,t0 with one side in P1 and the other side in P2,

  • and B is r-independent in G𝖥.

Then we can find a set SV(G), with |S|t02+t02 and a set BB with |B|m such that B is r-independent in GS.

Proof.

It is safe to assume that t02+t028t0, since if we exclude Kt0,t0 then we exclude Kt,t for all tt0 as well. As all the elements of B are pairwise at distance less than or equal to r, we infer that 𝖥 is responsible for breaking the short paths between all pairs of vertices from B.

For a path u=w1,,wl=v of length less than or equal to r between two vertices u and v, that is broken by 𝖥, we define elementary segments to be the parts w1,w2,,wi and wj,wj+1,,wl such that {w1,w2,,wi}(P1P2)={wi} and {wj,wj+1,,wl}(P1P2)={wj}, i.e., the parts consisting of v or u and only one element of P1P2.

Hence, each such path has exactly 2 elementary segments. As the length of these paths is less than or equal to r, and at least one of their edges is between P1 and P2, we conclude that at least one of their elementary segments has length strictly less than r2; we call this a short elementary segment. Note that two short elementary segments with different endpoints in B cannot share an endpoint in P1P2 as this would be a path of length less than or equal to r between the elements of B that is not affected by the flip.

Let us fix 8t0 vertices of B, say {v1,v2,,v4t0,u1,,u4t0}, and focus on the paths in G of length less than or equal to r between pairs (v1,u1),(v2,u2),,(v4t0,u4t0). These are 4t0 paths of length less than or equal to r with different endpoints, having at least 4t0 elementary segments that have length strictly less than r2. At least 2t0 of these short elementary segments have an endpoint in the same side of 𝖥. Say, without loss of generality, that v1a1,v2a2,,v2t0a2t0 are the short elementary segments, where a1,a2,,a2t0P1, and possibly vi=ai for some i. Now, we divide the argument based on the parity of r.

The even case: 𝒓=𝟐𝒓.

Pick t0+1 of these short elementary segments. Say, without loss of generality v1a1,v2a2,,vt0+1at0+1. Observe that every element in P2 is adjacent to at least t0 of a1,a2,,at0+1. Indeed, if uP2 is not adjacent to ai,aj where aiaj, then after the flip we will have that viaiuajvj is a path of length less than or equal to r between vi and vj; recall that vi and vj belong to B and after performing 𝖥 their distance in G𝖥 is strictly greater than r. For a vertex a among a1,a2,,at0+1, there are at most t01 vertices in P2 that are not adjacent to a; as otherwise, these t0 vertices of P2 and {a1,a2,,at0+1}{a} form a Kt0,t0. Hence, besides these (t01)(t0+1) vertices of P2, all the remaining form a biclique with a1,a2,,at0+1. Thus, |P2|(t01)(t0+1)+(t01) (Figure 3). We conclude that at least one of P1 or P2 has at most t02+t02 many vertices. Without loss of generality, let P2 be the one such that |P2|t02+t02; now, BP2 is r-independent in GP2, and we have that |BP2|m.

The odd case: 𝒓=𝟐𝒓+𝟏.

Suppose first that at least t0 many of these short elementary segments have length exactly r. Say, without loss of generality v1a1,v2a2,,vt0at0 have length exactly r. Let b1u1,b2u2,,bt0ut0 be the other elementary segments of these paths, i.e. b1,b2,,bt0P2 and for all i=1,,t0 we have that viai and biui are the elementary segments of viui. As for all i[t0] the length of viai is exactly r we conclude that the length of biui is less than or equal to r as well. Therefore, the sets {a1,,at0} and {b1,,bt0} form a biclique in G. Indeed, if ai and bj, when ij, are not adjacent in G, then after the flip viaibjuj will be a path of length less than or equal to 2r+1=r, which is contradictory and a biclique on {a1,,at0} and {b1,,bt0} is also a contradiction to weakly sparseness. Hence, at least t0+1 of the short elementary segments have length strictly less than r. Say, without loss of generality v1a1,v2a2,,vt0+1at0+1. Now, as in the even case, all the vertices uP2 are adjacent to at least t0 of a1,a2,,at0+1 and we get the same bound on the size of P2. Thus, in this case, BP2 is also r-independent in GP2, and we have |BP2|m; hence the statement follows.

Figure 3: The paths from vi to ai are short elementary segments. For each ai there are at most t01 many vertices in P2 that are not adjacent to ai. To not overcomplicate the figure we avoided putting edges. The dotted lines mean not adjacent, where there is no dotted line, there is an edge.

By (m,n) we denote the Ramsey number for m and n, that is, the smallest integer N such that every graph of size N contains either a clique of size m or an independent set of size n. We are ready to prove the Theorem 12. Let

k(m,n):=(m,(m,,(m,n)))k times.

Proof.

Let us first prove that uniformly almost-wide classes are strongly flip-flat. Recall that removing a vertex v can be done by performing a flip between v and the neighbourhood of v, i.e., the flip ({v},N(v)); note that after this flip the vertex v is completely independent from the rest of the graph and is not adjacent to any other vertex. For a uniformly almost-wide class of graphs 𝒞 there exists an integer k such that for any r there exists a function Nr:, so that for any graph G𝒞 and any set of vertices AV(G), with |A|Nr(m), we can find k vertices v1,,vk such that there exists a set of vertices BV(G){v1,,vk}, where |B|m and B is r-independent in G{v1,,vk}. Now, instead of removing {v1,,vk} we iteratively perform the flips ({v1},N(v1)),,({vk},N(vk)), notice that the iterative application of the flips means that N(vi) is the neighbourhood of v after the first i1 flips. With these flips, we completely isolate v1,,vk from the rest of the graph and therefore B will be r-independent in G{({v1},N(v1)),,({vk},N(vk))}. Hence, for any r the same function Nr and the same fixed integer k witness strong flip-flatness of 𝒞. In addition, uniformly almost-wide classes of graphs are weakly sparse, as for any integer k, we cannot find any set of 2-independent vertices after removing k vertices in Kk+1,k+1.

Now, for the other direction, let k be the size of the set of flips given by the strong flip-flatness of 𝒞. We prove this by induction on k. For k=0, the statement follows. As the induction hypothesis, we assume that if a class 𝒞 is weakly sparse, with parameter t0, and for every r there exists a function Nr: such that for all G𝒞 and m and for all AV(G) with |A|Nr(m), we can find a (r,m)-flippable instance (A,) with ||<k, then 𝒞 is uniformly almost-wide and s=(k1)(t02+t02) is the constant witnessing the wideness.

Now, suppose that 𝒞 is weakly sparse, with parameter t0 such that t02+t024t0+2, and strongly flip-flat with parameter k. We define Nr(m)=Nr(k(m,t02+t0+m2)) to be the function in the definition of uniform almost-wideness. For any graph G𝒞 and an arbitrary set AV(G) with |A|Nr(m) we can find a (r,m)-flippable instance (A,).

If ||k1 then we use the induction hypothesis for this particular set A to find a set S such that (A,S) is a (r,m)-widenable instance of G.

Hence, we can focus on the case where no subset of A of size m is r-independent after any k1 flips; however there exists a set BA with |B|k(m,t02+t0+m2) such that B is r-independent in G.

Let us examine the iterative effect of :={F1,,Fk} on B. As |B|k(m,t02+t0+m2) at the beginning we face two cases, either B contains a set of vertices of size m where all the elements are pairwise at distance strictly greater than r, or it contains a set of vertices of size k1(m,t02+t0+m2) where all the elements are pairwise at distance less than or equal to r. Because of our assumption on the necessity of at least k flips, the former can not happen and so there exists B0B with |B0|k1(m,t02+t0+m2) such that all its elements are pairwise at distance less than or equal to r in G. We use the same argument on B0 but in G𝖥𝟣, this gives us a set B1B0 with |B1|k2(m,t02+t0+m2) such that all its elements are pairwise at distance less than or equal to r in G𝖥𝟣. We repeat similarly and get Bk1B with |Bk1|t02+t0+m2 such that all its elements are pairwise at distance less than or equal to r in G𝖥𝟣𝖥𝗄𝟣. As B is r-independent in G, we conclude that after the application of 𝖥𝗄 on G𝖥𝟣𝖥𝗄𝟣, all the elements of Bk1 should be at distance strictly greater than r.

By Lemma 7, it is safe to assume that the flips 𝖥𝟣,,𝖥𝗄 do not alter an edge twice. Hence, 𝖥𝗄 is acting on the original edges of G, which excludes Kt0,t0 as subgraph, and not the edges added by 𝖥𝟣,,𝖥𝗄𝟣, i.e., there is no Kt0,t0 with its bipartition included in the side of the flip. Additionally, Bk1 has size larger than t02+t0+m2 and is r-independent in (G𝖥𝟣𝖥𝗄𝟣)𝖥𝗄; thus, by Lemma 13, we can find sets S with |S|t02+t02 and B with |B|m as promised. As (G𝖥𝟣𝖥𝗄𝟣)S and (GS)𝖥𝟣𝖥𝗄𝟣 are equal, we are now able to use the induction hypothesis on (GS)𝖥𝟣𝖥𝗄𝟣. Thus, we have a set B′′ with |B′′|m and a set S with |S|(k1)(t02+t02) such that B′′ is r-independent in (GS)S, that is B′′ is r-independent in G(SS) where |SS|k(t02+t02).

Therefore, for any (r,m)-flippable instance (A,) of G with respect to Nr and ||k, we can find a (r,m)-widenable instance (A,S) of G with respect to s and Nr where sk(t02+t02). As s is independent from r, we conclude that 𝒞 is uniformly almost-wide.

While our argument extends to show that flip-flat graph classes that are weakly sparse are uniformly quasi-wide, this result is equivalent to the known result that monadically stable and weakly sparse classes are nowhere dense [20, 36, 3], so we do not elaborate further.

As a corollary, we obtain the following characterization of strongly flip-flat classes that have structurally bounded expansion. We say that a class 𝒞 of graphs has bounded expansion if there exists a function f: such that for every r and every depth-r shallow minor H of a graph G𝒞, we have H|H|f(r), where H denotes the number of edges and |H| the number of vertices of H.

Note that for bounded expansion classes, we require the edge density of depth-r shallow minors to be bounded, whereas for nowhere dense classes, we ask that large cliques be excluded as depth-r shallow minors. Accordingly, every class of bounded expansion is nowhere dense.

Let us recall that a structurally bounded expansion class 𝒞 of graphs is a class of graphs for which we can find a bounded expansion class of graphs 𝒟 and a transduction Tδ,φ such that 𝒞Tδ,φ(𝒟).

Theorem 14.

A structurally bounded expansion graph class 𝒞 is strongly flip-flat if and only if there is a uniformly almost-wide graph class 𝒟 of bounded expansion and a transduction τ such that 𝒞τ(𝒟).

Proof.

If 𝒞 is structurally bounded expansion, then there are transductions τ1 and τ2 such that τ1(𝒞) has bounded expansion and 𝒞τ2(τ1(𝒞)) [23]. Because transductions preserve strong flip-flatness (Proposition 11), we have that τ1(𝒞) is strongly flip-flat and by Theorem 12, we can conclude that τ1(𝒞) is uniformly almost-wide. Theorem 14 confirms Conjecture 2 for graph classes of structurally bounded expansion.

4 Conclusion

A corollary of our main theorem is the confirmation of Conjecture 2 on strongly flip-flat graph classes that have structurally bounded expansion, partly answering the characterisation question raised in [22]. It seems however that there is still a long way to completely characterise strongly flip-flat classes of graphs. A confirmation of our conjecture 2 will give a characterisation of strongly flip-flat graph classes as its reverse has been proved (Proposition 11).

In order to prove Conjecture 2, we must find a nowhere dense preimage for any class 𝒞 of strongly flip-flat graph classes and then argue that this preimage itself is strongly flip-flat, i.e., equivalent of saying that it is almost-wide. This might be as hard as the sparsification conjecture [13], stated below.

Conjecture 15.

Every monadically stable graph class is structurally nowhere dense.

A first step towards Conjecture 2 is probably assuming that the sparsification conjecture is true, and then prove the following, that we state as a conjecture.

Conjecture 16 (Weak version of Conjecture 2).

Let 𝒞 be a strongly flip-flat class of graphs and 𝒟 be a nowhere dense class of graphs. If there exists a transduction Tδ,φ such that 𝒞Tδ,φ(𝒟), then there exists a class 𝒟 of uniformly almost-wide graphs and a transduction Tδ,φ such that 𝒞Tδ,φ(𝒟).

Our conjecture may not be the easiest way to characterise strongly flip-flat graph classes. One can, for instance, look into forbidden induced subgraphs. In the following we give an example of a nowhere dense class of graphs that is not strongly flip-flat. We denote by Gs the s-subdivision of a graph G.

Theorem 17.

Let 𝒞:={Ks,Nss,N}. Then 𝒞 is not strongly flip-flat.

Proof.

Every graph G in 𝒞 excludes K2,2 as subgraph; hence 𝒞 is weakly sparse. Note that Ks2s is the largest 2s-subdivided clique, where the main vertices of the clique are the s vertices of the small side of Ks,Ns. Therefore, 𝒞 is nowhere dense as well.

Let r:=s+1. We pick Ks,Ns with an arbitrary large N and an arbitrary large set of vertices A from the large side of Ks,Ns. To make any subset of A r-independent, we need to remove all the s vertices of the other side. Therefore 𝒞 is not almost-wide (one can infer that 𝒞 is not almost-wide by [33, Theorem 8.4]). By Theorem 12, 𝒞 is not strongly flip-flat.

As an alternative, one could look for a characterisation via forbidden induced subgraphs occurring in flips, as in the case of monadic stability provided in [19] or bounded shrubdepth provided in [32], or in terms of shallow vertex-minors, as in [9].

Characterisations can be combinatorial and in terms of games, such as the flipper game for flip-flat classes of graphs [39]. We remark that the flipper cannot, in general, win in a constant number of rounds – independent of the radius – on strongly flip-flat classes of graphs. This game, in which the flipper has a strategy requiring a constant number of rounds independent of the radius, corresponds to the radius infinity game; as we can consider radius n when playing on an n-vertex graph. This characterises instead the class of graphs with bounded shrubdepth.

References

  • [1] Algorithms, logic and structure workshop in warwick - open problem session. https://warwick.ac.uk/fac/sci/maths/people/staff/daniel_kral/alglogstr/openproblems.pdf, 2016. [Online; accessed 23-Jan-2023].
  • [2] Samson Abramsky and Luca Reggio. Arboreal categories and equi-resource homomorphism preservation theorems. Ann. Pure Appl. Log., 2024. doi:10.1016/J.APAL.2024.103423.
  • [3] Hans Adler and Isolde Adler. Interpreting nowhere dense graph classes as a classical notion of model theory. Eur. J. Comb., 2014. doi:10.1016/J.EJC.2013.06.048.
  • [4] Albert Atserias, Anuj Dawar, and Martin Grohe. Preservation under extensions on well-behaved finite structures. SIAM J. Comput., 2008. doi:10.1137/060658709.
  • [5] Albert Atserias, Anuj Dawar, and Phokion G. Kolaitis. On preservation under homomorphisms and unions of conjunctive queries. J. ACM, 2006. doi:10.1145/1131342.1131344.
  • [6] John T. Baldwin. Finite and infinite model theory - A historical perspective. Log. J. IGPL, 2000. doi:10.1093/JIGPAL/8.5.605.
  • [7] John T. Baldwin and Saharon Shelah. Second-order quantifiers and the complexity of theories. Notre Dame J. Formal Log., 1985. doi:10.1305/NDJFL/1093870870.
  • [8] John Adrian Bondy and Uppaluri Siva Ramachandra Murty. Graph theory. Springer Publishing Company, Incorporated, 2008.
  • [9] Hector Buffière, Eun Jung Kim, and Patrice Ossona de Mendez. Shallow vertex minors, stability, and dependence, 2024. arXiv:2405.00408.
  • [10] Bruno Courcelle and Stephan Olariu. Upper bounds to the clique width of graphs. Discret. Appl. Math., 2000. doi:10.1016/S0166-218X(99)00184-5.
  • [11] Anuj Dawar. Homomorphism preservation on quasi-wide classes. J. Comput. Syst. Sci., 76, 2010. doi:10.1016/J.JCSS.2009.10.005.
  • [12] Anuj Dawar and Ioannis Eleftheriadis. Preservation theorems on sparse classes revisited. In 49th International Symposium on Mathematical Foundations of Computer Science, MFCS 2024, Bratislava, Slovakia, August 26-30, 2024, 2024. doi:10.4230/LIPIcs.MFCS.2024.47.
  • [13] Patrice Ossona de Mendez. First-order transductions of graphs (invited talk). In 38th International Symposium on Theoretical Aspects of Computer Science, STACS 2021, Saarbrücken, Germany (Virtual Conference), March 16-19, 2021, 2021. doi:10.4230/LIPIcs.STACS.2021.2.
  • [14] Patrice Ossona de Mendez, Michal Pilipczuk, and Sebastian Siebertz. Transducing paths in graph classes with unbounded shrubdepth. Eur. J. Comb., 2025. doi:10.1016/J.EJC.2022.103660.
  • [15] Reinhard Diestel. Graph theory. Springer (print edition); Reinhard Diestel (eBooks), 2024.
  • [16] Jan Dreier, Ioannis Eleftheriadis, Nikolas Mählmann, Rose McCarty, Michal Pilipczuk, and Szymon Torunczyk. First-order model checking on monadically stable graph classes. In 65th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024, Chicago, IL, USA, October 27-30, 2024, 2024. doi:10.1109/FOCS61266.2024.00012.
  • [17] Jan Dreier, Nikolas Mählmann, and Sebastian Siebertz. First-order model checking on structurally sparse graph classes. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585186.
  • [18] Jan Dreier, Nikolas Mählmann, Sebastian Siebertz, and Szymon Torunczyk. Indiscernibles and flatness in monadically stable and monadically NIP classes. In 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023, Paderborn, Germany, July 10-14, 2023, 2023. doi:10.4230/LIPIcs.ICALP.2023.125.
  • [19] Jan Dreier, Nikolas Mählmann, and Szymon Torunczyk. Flip-breakability: A combinatorial dichotomy for monadically dependent graph classes. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, Vancouver, BC, Canada, June 24-28, 2024, 2024. doi:10.1145/3618260.3649739.
  • [20] Zdenek Dvorák. Induced subdivisions and bounded expansion. Eur. J. Comb., 2018. doi:10.1016/J.EJC.2017.10.004.
  • [21] Heinz-Dieter Ebbinghaus and Jörg Flum. Finite model theory. Perspectives in Mathematical Logic. Springer, 1995.
  • [22] Ioannis Eleftheriadis. Extension preservation on dense graph classes. In 33rd EACSL Annual Conference on Computer Science Logic, CSL 2025, Amsterdam, The Netherlands, February 10-14, 2025, 2025. doi:10.4230/LIPIcs.CSL.2025.7.
  • [23] Jakub Gajarský, Stephan Kreutzer, Jaroslav Nesetril, Patrice Ossona de Mendez, Michal Pilipczuk, Sebastian Siebertz, and Szymon Torunczyk. First-order interpretations of bounded expansion classes. ACM Trans. Comput. Log., 2020. doi:10.1145/3382093.
  • [24] Jakub Gajarský, Nikolas Mählmann, Rose McCarty, Pierre Ohlmann, Michal Pilipczuk, Wojciech Przybyszewski, Sebastian Siebertz, Marek Sokolowski, and Szymon Torunczyk. Flipper games for monadically stable graph classes. In 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023, Paderborn, Germany, July 10-14, 2023, 2023. doi:10.4230/LIPIcs.ICALP.2023.128.
  • [25] Jakub Gajarský, Michal Pilipczuk, and Szymon Torunczyk. Stable graphs of bounded twin-width. In LICS ’22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, Haifa, Israel, August 2 - 5, 2022, 2022. doi:10.1145/3531130.3533356.
  • [26] Robert Ganian, Petr Hlinený, Jaroslav Nesetril, Jan Obdrzálek, Patrice Ossona de Mendez, and Reshma Ramadurai. When trees grow low: Shrubs and fast MSO1. In Mathematical Foundations of Computer Science 2012 - 37th International Symposium, MFCS 2012, Bratislava, Slovakia, August 27-31, 2012. Proceedings, 2012. doi:10.1007/978-3-642-32589-2_38.
  • [27] Martin Grohe, Stephan Kreutzer, and Sebastian Siebertz. Deciding first-order properties of nowhere dense graphs. J. ACM, 2017. doi:10.1145/3051095.
  • [28] Frank Gurski and Egon Wanke. The tree-width of clique-width bounded graphs without Kn, n. In Graph-Theoretic Concepts in Computer Science, 26th International Workshop, WG 2000, Konstanz, Germany, June 15-17, 2000, Proceedings, 2000. doi:10.1007/3-540-40064-8_19.
  • [29] Wilfrid Hodges. Model theory. Cambridge university press, 1993.
  • [30] Leonid Libkin. Elements of finite model theory, volume 41. Springer, 2004. doi:10.1007/978-3-662-07003-1.
  • [31] Mählmann. Monadically Stable and Monadically Dependent Graph Classes: Characterizations and Algorithmic Meta-Theorems. PhD thesis, PhD Thesis, 2024.
  • [32] Nikolas Mählmann. Forbidden induced subgraphs for bounded shrub-depth and the expressive power of MSO. In 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, 2025. doi:10.4230/LIPIcs.ICALP.2025.167.
  • [33] Jaroslav Nešetřil and Patrice Ossona de Mendez. Sparsity - Graphs, Structures, and Algorithms, volume 28 of Algorithms and combinatorics. Springer, 2012. doi:10.1007/978-3-642-27875-4.
  • [34] Jaroslav Nesetril, Patrice Ossona de Mendez, Roman Rabinovich, and Sebastian Siebertz. Classes of graphs with low complexity: The case of classes with bounded linear rankwidth. Eur. J. Comb., 2021. doi:10.1016/J.EJC.2020.103223.
  • [35] Jaroslav Nesetril, Roman Rabinovich, Patrice Ossona de Mendez, and Sebastian Siebertz. Linear rankwidth meets stability. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020, 2020. doi:10.1137/1.9781611975994.72.
  • [36] Klaus-Peter Podewski and Martin Ziegler. Stable graphs. Fund. Math, 100(2):101–107, 1978.
  • [37] Saharon Shelah. Classification theory - and the number of non-isomorphic models, Second Edition. Studies in logic and the foundations of mathematics. Elsevier, 1990.
  • [38] William W. Tait. A counterexample to a conjecture of scott and suppes. J. Symb. Log., 1959. doi:10.2307/2964569.
  • [39] Szymon Torunczyk. Flip-width: Cops and robber on dense graphs. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, 2023. doi:10.1109/FOCS57990.2023.00045.