Courcelles Theorem, tree automata, hypergraphs, and matroids Dillon - - PowerPoint PPT Presentation

courcelle s theorem tree automata hypergraphs and matroids
SMART_READER_LITE
LIVE PREVIEW

Courcelles Theorem, tree automata, hypergraphs, and matroids Dillon - - PowerPoint PPT Presentation

Courcelles Theorem, tree automata, hypergraphs, and matroids Dillon Mayhew Victoria University of Wellington New Zealand Joint work with Daryl Funk (Douglas College), Mike Newman (University of Ottawa), Geoff Whittle (Victoria University


slide-1
SLIDE 1

Courcelle’s Theorem, tree automata, hypergraphs, and matroids

Dillon Mayhew

Victoria University of Wellington New Zealand

Joint work with Daryl Funk (Douglas College), Mike Newman (University of Ottawa), Geoff Whittle (Victoria University of Wellington).

slide-2
SLIDE 2

Courcelle’s Theorem

Courcelle’s Theorem (1990)

Let ϕ be a sentence in MS2, the monadic second-order logic of graphs. Let G be a class of graphs with bounded tree-width. There is a polynomial-time algorithm that tests graphs in G and decides whether they satisfy ϕ.

slide-3
SLIDE 3

Tree-width

High tree-width Low tree-width

slide-4
SLIDE 4

Monadic second-order logic

∃E1 ∀v ∃e1 ∃e2 (e1 ∈ E1 ∧ e2 ∈ E1 ∧ e1 = e2 ∧ inc(v, e1) ∧ inc(v, e2) ∧ ∀e3 (e3 ∈ E1 ∧ e3 = e1 ∧ e3 = e2 → ¬ inc(v, e3))) ∧ ∀V1 ∀V2 (∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2) ∧ ∀v (v ∈ V1 ∨ v ∈ V2 ∧ ¬(v ∈ V1 ∧ v ∈ V2))) → (∃e (e ∈ E1 ∧ ∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2 ∧ inc(v1, e) ∧ inc(v2, e))))

slide-5
SLIDE 5

Monadic second-order logic

∃E1 ∀v ∃e1 ∃e2 (e1 ∈ E1 ∧ e2 ∈ E1 ∧ e1 = e2 ∧ inc(v, e1) ∧ inc(v, e2) ∧ ∀e3 (e3 ∈ E1 ∧ e3 = e1 ∧ e3 = e2 → ¬ inc(v, e3))) ∧ ∀V1 ∀V2 (∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2) ∧ ∀v (v ∈ V1 ∨ v ∈ V2 ∧ ¬(v ∈ V1 ∧ v ∈ V2))) → (∃e (e ∈ E1 ∧ ∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2 ∧ inc(v1, e) ∧ inc(v2, e)))) “There exists a set of edges, E1, such that every vertex is incident with exactly two edges in E1, and whenever (V1, V2) is a partition of the vertices, there is an edge in E1 that is incident with vertices in both V1 and V2.”

slide-6
SLIDE 6

Monadic second-order logic

∃E1 ∀v ∃e1 ∃e2 (e1 ∈ E1 ∧ e2 ∈ E1 ∧ e1 = e2 ∧ inc(v, e1) ∧ inc(v, e2) ∧ ∀e3 (e3 ∈ E1 ∧ e3 = e1 ∧ e3 = e2 → ¬ inc(v, e3))) ∧ ∀V1 ∀V2 (∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2) ∧ ∀v (v ∈ V1 ∨ v ∈ V2 ∧ ¬(v ∈ V1 ∧ v ∈ V2))) → (∃e (e ∈ E1 ∧ ∃v1 ∃v2 (v1 ∈ V1 ∧ v2 ∈ V2 ∧ inc(v1, e) ∧ inc(v2, e)))) In other words, the graph is hamiltonian.

slide-7
SLIDE 7

Courcelle’s Theorem

Courcelle’s Theorem (1990)

Let ϕ be a sentence in MS2, the monadic second-order logic of graphs. Let G be a class of graphs with bounded tree-width. There is a polynomial-time algorithm that tests graphs in G and decides whether they satisfy ϕ. Courcelle’s Theorem means that we can test intractable properties efficiently, if we limit the structural complexity of the input graph.

slide-8
SLIDE 8

Matroids

A matroid is a structured hypergraph (set-system).

Definition

A matroid is a pair, (E, I), where E is a finite set (the ground set), and I is a family of subsets (the independent sets), satisfying:

◮ ∅ ∈ I, ◮ I1 ∈ I and I2 ⊆ I1 implies I2 ∈ I, ◮ I1, I2 ∈ I and |I2| < |I1| implies there exists e ∈ I1 − I2 such

that I2 ∪ {e} ∈ I.

slide-9
SLIDE 9

Matroids

A matroid is a structured hypergraph (set-system).

Definition

A matroid is a pair, (E, I), where E is a finite set (the ground set), and I is a family of subsets (the independent sets), satisfying:

◮ ∅ ∈ I, ◮ I1 ∈ I and I2 ⊆ I1 implies I2 ∈ I, ◮ I1, I2 ∈ I and |I2| < |I1| implies there exists e ∈ I1 − I2 such

that I2 ∪ {e} ∈ I.

Definition

A maximal independent set is a basis. A subset of E that is not independent is dependent. A minimal dependent set is a circuit.

slide-10
SLIDE 10

Graphic matroids

Example

Let G be a graph with edge set E. Then (E, {I ⊆ E : G[I] does not contain a cycle}) is a graphic matroid. The bases of a graphic matroid are maximal forests. The circuits are cycles in the graph.

slide-11
SLIDE 11

Representable matroids

Example

Let F be a field. Let E be a finite subset of the vector space Fn. Then (E, {I ⊆ E : I is linearly independent}) is an F-representable matroid.

100 101 110 010 001 111 011

slide-12
SLIDE 12

Matroids and the Robertson-Seymour project

Statements about graphs are sometimes special cases of more general statements about matroids.

slide-13
SLIDE 13

Matroids and the Robertson-Seymour project

Statements about graphs are sometimes special cases of more general statements about matroids. The Graphs Minors Project of Robertson and Seymour provides a qualitative structural description of any proper minor-closed class

  • f graphs.

Among other consequences, we can deduce that in any infinite collection of graphs, one is isomorphic to a minor of another.

slide-14
SLIDE 14

Matroids and the Robertson-Seymour project

Statements about graphs are sometimes special cases of more general statements about matroids. The Graphs Minors Project of Robertson and Seymour provides a qualitative structural description of any proper minor-closed class

  • f graphs.

Among other consequences, we can deduce that in any infinite collection of graphs, one is isomorphic to a minor of another. Geelen, Gerards, and Whittle have now established a qualitative structural description of any proper minor-closed class of F-representable matroids, when F is a finite field. We can deduce that in any infinite collection of F-representable matroids, one is isomorphic to a minor of another.

slide-15
SLIDE 15

Hlinˇ en´ y’s Theorem

Hlinˇ en´ y’s Theorem (2006)

Let ϕ be a sentence in MS0, the monadic second-order logic of matroids. Let M be a class of F-representable matroids with bounded branch-width, where F is a finite field. There is a polynomial-time algorithm that tests matroids in M and decides whether they satisfy ϕ.

slide-16
SLIDE 16

Monadic second-order logic

∀X1∀X2 (Ind(X1) ∧ X2 ⊆ X1 → Ind(X2))

slide-17
SLIDE 17

Monadic second-order logic

∀X1∀X2 (Ind(X1) ∧ X2 ⊆ X1 → Ind(X2)) This expresses the second matroid axiom: every subset of an independent set is independent.

slide-18
SLIDE 18

Tree automata

A tree automaton consists of a set of states (colours) and a distinguished subset of accepting states.

slide-19
SLIDE 19

Tree automata

slide-20
SLIDE 20

Tree automata

slide-21
SLIDE 21

Tree automata

slide-22
SLIDE 22

Tree automata

4 1 7 10 2 3 5 6 8 9

slide-23
SLIDE 23

Tree automata

4 1 7 10 2 3 5 6 8 9

slide-24
SLIDE 24

Tree automata

4 1 7 10 2 3 5 6 8 9

slide-25
SLIDE 25

Tree automata

4 1 7 10 2 3 5 6 8 9

slide-26
SLIDE 26

Automatic set-systems

Given an automaton with two distinguished colours that encode subsets, there is a corresponding set-system on the leaf-set of any tree. What families of set-systems arise in this way?

slide-27
SLIDE 27

Automatic set-systems

Given an automaton with two distinguished colours that encode subsets, there is a corresponding set-system on the leaf-set of any tree. What families of set-systems arise in this way?

Definition

Let M be family of set-systems. Assume there is an automaton, A, and for every (E, I) ∈ M, there is a tree, TM, with leaf-set E, such that A accepts the subsets in I and rejects the subsets not in I. Then we say that M is automatic. What families of set-systems are automatic?

slide-28
SLIDE 28

Characterising automatic set-systems

Theorem

Let M be a family of set-systems. Then M is automatic if and

  • nly if it has bounded decomposition-width.
slide-29
SLIDE 29

Decomposition-width

Definition

Let (E, I) be a set-system, and let (U, V ) be a partition of E. We define ∼U, an equivalence relation on subsets of U. Subsets X, X ′ ⊆ U satisfy X ∼U X ′ if, whenever Z is a subset of V , both X ∪ Z and X ′ ∪ Z are in I, or neither are.

slide-30
SLIDE 30

Decomposition-width

V U

slide-31
SLIDE 31

Decomposition-width

V U

slide-32
SLIDE 32

Decomposition-width

V U

slide-33
SLIDE 33

Decomposition-width

V U

slide-34
SLIDE 34

Decomposition-width

A decomposition of a set-system (E, I) is a bijection between E and the leaves of a tree where every non-leaf vertex has degree three.

slide-35
SLIDE 35

Decomposition-width

A decomposition of a set-system (E, I) is a bijection between E and the leaves of a tree where every non-leaf vertex has degree three. A displayed set is any set corresponding to the leaves in a connected component created by deleting an edge of the tree.

slide-36
SLIDE 36

Characterising automatic set-systems

Theorem

Let M be a family of set-systems. Then M is automatic if and

  • nly if it has bounded decomposition-width.
slide-37
SLIDE 37

Characterising automatic set-systems

Theorem

Let M be a family of set-systems. Then M is automatic if and

  • nly if it has bounded decomposition-width.

Definition

If M has bounded decomposition-width, then there is an integer, K, and for every M = (E, I) ∈ M, we have a decomposition of M such that whenever U is a displayed set, then ∼U has at most K equivalence classes. An equivalent notion of decomposition-width was discussed by Kr´ al and Strozecki.

slide-38
SLIDE 38

Tree automata and Hlinˇ en´ y’s Theorem

If M is an automatic family of set-systems, then there is an automaton, A, and for every (E, I) ∈ M, there is a tree, TM, with leaf-set E, such that A accepts the subsets in I and rejects the subsets not in I.

slide-39
SLIDE 39

Tree automata and Hlinˇ en´ y’s Theorem

If M is an automatic family of set-systems, then there is an automaton, A, and for every (E, I) ∈ M, there is a tree, TM, with leaf-set E, such that A accepts the subsets in I and rejects the subsets not in I. In this case, we can quickly test whether a subset of E is in I: colour the leaves appropriately, and then just run A.

slide-40
SLIDE 40

Tree automata and Hlinˇ en´ y’s Theorem

If M is an automatic family of set-systems, then there is an automaton, A, and for every (E, I) ∈ M, there is a tree, TM, with leaf-set E, such that A accepts the subsets in I and rejects the subsets not in I. In this case, we can quickly test whether a subset of E is in I: colour the leaves appropriately, and then just run A. We can use a bootstrapping procedure to build an automaton that will quickly test any given MS0 sentence for set-systems in M.

slide-41
SLIDE 41

Tree automata and Hlinˇ en´ y’s Theorem

If M is an automatic family of set-systems, then there is an automaton, A, and for every (E, I) ∈ M, there is a tree, TM, with leaf-set E, such that A accepts the subsets in I and rejects the subsets not in I. In this case, we can quickly test whether a subset of E is in I: colour the leaves appropriately, and then just run A. We can use a bootstrapping procedure to build an automaton that will quickly test any given MS0 sentence for set-systems in M. This explains why tree automata are at the heart of Hlinˇ en´ y’s Theorem. The challenge is constructing TM, given M ∈ M.

slide-42
SLIDE 42

Our conclusions

We have reproved Courcelle’s Theorem and Hlinˇ en´ y’s Theorem.

slide-43
SLIDE 43

Our conclusions

We have reproved Courcelle’s Theorem and Hlinˇ en´ y’s Theorem. We have developed general tools which we can use to extend Hlinˇ en´ y’s Theorem to new classes.

slide-44
SLIDE 44

Our conclusions

We have reproved Courcelle’s Theorem and Hlinˇ en´ y’s Theorem. We have developed general tools which we can use to extend Hlinˇ en´ y’s Theorem to new classes. We have done this for the following classes.

◮ Gain-graphic matroids (with gain labels from a finite group) ◮ Bicircular matroids ◮ Lattice-path matroids ◮ Principal transversal matroids

slide-45
SLIDE 45

Our conclusions

We have reproved Courcelle’s Theorem and Hlinˇ en´ y’s Theorem. We have developed general tools which we can use to extend Hlinˇ en´ y’s Theorem to new classes. We have done this for the following classes.

◮ Gain-graphic matroids (with gain labels from a finite group) ◮ Bicircular matroids ◮ Lattice-path matroids ◮ Principal transversal matroids

We have some negative results: if F is an infinite field, then Hlinˇ en´ y’s Theorem cannot extend to the class of F-representable

  • matroids. Nor can it extend to the class of gain-graphic matroids
  • ver an infinite group (assuming P = NP).