The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.Combinatorics.Quiver.Schreier

38 declarations. Mathlib docs · Source

Schreier Graphs

This module defines Schreier graphs as quivers with labelled edges.

Given a monoid M acting on a type V and a map ι : S → M, the Schreier graph has vertices V and a directed edge x → ι(s) • x for each x : V and s : S.

Main definitions

  • SchreierGraph V ι - The Schreier graph of an action, with vertices of type V and edges labelled by elements of S via ι : S → M.
  • SchreierGraph.labelling - The prefunctor from a Schreier graph to SingleObj S that extracts edge labels.
  • SchreierGraph.evalWord - Evaluation of a word in generators and their inverses as an element of the ambient group, by lifting the corresponding element of the free group along FreeGroup.lift.
  • SchreierGraph.pathFromWord - The path in the symmetrified Schreier graph induced by a word of generators (forward edges) and inverses (backward edges).

Main results

  • SchreierGraph.labelling_isCovering - The labelling prefunctor is a covering when we have a group action.
  • SchreierGraph.evalWord_mem_closure - The evaluation of any word lies in the subgroup generated by the image of ι.
  • SchreierGraph.exists_evalWord_of_mem_closure - Conversely, every element of that subgroup is the evaluation of some word.
  • SchreierGraph.reachable_iff - Two vertices of a Schreier graph are connected by a path in its symmetrification iff they are related by an element of the subgroup generated by ι.

Examples

  • The (left) Cayley graph of a group M with generators ι : S → M is the Schreier graph where V = M and the action is left multiplication.

Implementation notes

Although referred to informally as graphs, Schreier graphs have multiple, directed, labelled edges between nodes and so are implemented here as quivers.

References

  • [Y. Vorobets, Notes on the Schreier graphs of the Grigorchuk group][Vorobets2012]

Schreier graphs for group actions

When we have a group action, the labelling becomes a covering.

Word evaluation

Evaluating a word (list of generators tagged with a boolean for forward/inverse direction) as an element of the ambient group, by lifting it through the free group. Words are kept in list form because pathFromWord recurses on the list: distinct words give distinct paths, even when they evaluate to the same group element.

Reachability in symmetrified Schreier graphs

Reachability in the symmetrified Schreier graph characterises the orbit of the subgroup generated by ι.

theorem Quiver.SchreierGraph.ofVertex.inj E1 #

∀ {V : Type u_1} {M : Type u_2} {inst : SMul M V} {S : Type u_3} {_ι : S → M} {toVertex toVertex_1 : V},
  { toVertex := toVertex } = { toVertex := toVertex_1 } → toVertex = toVertex_1

def Quiver.SchreierGraph.ctorIdx E1 #

{V : Type u_1} → {M : Type u_2} → {inst : SMul M V} → {S : Type u_3} → {_ι : S → M} → Quiver.SchreierGraph V _ι → ℕ

theorem Quiver.SchreierGraph.ofVertex.injEq E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : SMul M V] {S : Type u_3} {_ι : S → M} (toVertex toVertex_1 : V),
  ({ toVertex := toVertex } = { toVertex := toVertex_1 }) = (toVertex = toVertex_1)

structure Quiver.SchreierGraph E1 #

(V : Type u_1) → {M : Type u_2} → [SMul M V] → {S : Type u_3} → (S → M) → Type u_1

A Schreier graph for a monoid M acting on V with generators ι : S → M. Vertices are elements of V, and there is an edge from x to y for each s : S such that ι s • x = y.

theorem Quiver.SchreierGraph.ext E1 #

∀ {V : Type u_1} {M : Type u_2} {inst : SMul M V} {S : Type u_3} {_ι : S → M} {x y : Quiver.SchreierGraph V _ι},
  x.toVertex = y.toVertex → x = y

theorem Quiver.SchreierGraph.ext_iff E0 #

∀ {V : Type u_1} {M : Type u_2} {inst : SMul M V} {S : Type u_3} {_ι : S → M} {x y : Quiver.SchreierGraph V _ι},
  x = y ↔ x.toVertex = y.toVertex

ctor Quiver.SchreierGraph.ofVertex E0 #

{V : Type u_1} → {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → {_ι : S → M} → V → Quiver.SchreierGraph V _ι

Wraps a vertex of the acted-upon type into the Schreier graph.

abbrev Quiver.SchreierGraph.toVertex E1 #

{V : Type u_1} → {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → {_ι : S → M} → Quiver.SchreierGraph V _ι → V

The underlying vertex.

def Quiver.SchreierGraph.equiv E1 #

(V : Type u_1) → {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → (ι : S → M) → V ≃ Quiver.SchreierGraph V ι

Equivalence between the original vertex type and the Schreier graph type.

theorem Quiver.SchreierGraph.equiv_symm_apply E0 #

∀ (V : Type u_1) {M : Type u_2} [inst : SMul M V] {S : Type u_3} (ι : S → M) (self : Quiver.SchreierGraph V ι),
  (Quiver.SchreierGraph.equiv V ι).symm self = self.toVertex

theorem Quiver.SchreierGraph.equiv_apply_toVertex E0 #

∀ (V : Type u_1) {M : Type u_2} [inst : SMul M V] {S : Type u_3} (ι : S → M) (toVertex : V),
  ((Quiver.SchreierGraph.equiv V ι) toVertex).toVertex = toVertex

instance Quiver.SchreierGraph.schreierGraphSMul E0 #

(V : Type u_1) → {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → (ι : S → M) → SMul M (Quiver.SchreierGraph V ι)

Transport the scalar multiplication to the Schreier graph vertices.

instance Quiver.SchreierGraph.schreierGraphQuiver E0 #

(V : Type u_1) → {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → (ι : S → M) → Quiver (Quiver.SchreierGraph V ι)

The quiver structure on a Schreier graph. An arrow from x to y exists when there is an s : S such that (ι s) • x = y.

def Quiver.SchreierGraph.labelling E3 #

(V : Type u_1) →
  {M : Type u_2} → [inst : SMul M V] → {S : Type u_3} → (ι : S → M) → Quiver.SchreierGraph V ι ⥤q Quiver.SingleObj S

The labelling of arrows in a Schreier graph by elements of S. This is encoded as a prefunctor to SingleObj S.

theorem Quiver.SchreierGraph.labelling_map E0 #

∀ (V : Type u_1) {M : Type u_2} [inst : SMul M V] {S : Type u_3} (ι : S → M) {X Y : Quiver.SchreierGraph V ι}
  (e : X ⟶ Y), (Quiver.SchreierGraph.labelling V ι).map e = ↑e

theorem Quiver.SchreierGraph.labelling_obj E0 #

∀ (V : Type u_1) {M : Type u_2} [inst : SMul M V] {S : Type u_3} (ι : S → M) (x : Quiver.SchreierGraph V ι),
  (Quiver.SchreierGraph.labelling V ι).obj x = Quiver.SingleObj.star S

instance Quiver.SchreierGraph.instMulAction E0 #

(V : Type u_1) →
  {M : Type u_2} →
    [inst : Monoid M] → [inst_1 : MulAction M V] → {S : Type u_3} → (ι : S → M) → MulAction M (Quiver.SchreierGraph V ι)

The monoid acts on the vertices of the Schreier graph.

def Quiver.SchreierGraph.labellingStarEquiv E1 #

{V : Type u_1} →
  {M : Type u_2} →
    [inst : Group M] →
      [inst_1 : MulAction M V] →
        {S : Type u_3} →
          (ι : S → M) → (x : Quiver.SchreierGraph V ι) → Quiver.Star x ≃ Quiver.Star (Quiver.SingleObj.star S)

The star map of the labelling prefunctor as an equivalence.

theorem Quiver.SchreierGraph.labellingStarEquiv_symm_apply_snd_coe E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (x_1 : Quiver.Star (Quiver.SingleObj.star S)),
  ↑((Quiver.SchreierGraph.labellingStarEquiv ι x).symm x_1).snd = x_1.snd

theorem Quiver.SchreierGraph.labellingStarEquiv_apply E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (a : Quiver.Star x),
  (Quiver.SchreierGraph.labellingStarEquiv ι x) a = (Quiver.SchreierGraph.labelling V ι).star x a

theorem Quiver.SchreierGraph.labellingStarEquiv_symm_apply_fst E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (x_1 : Quiver.Star (Quiver.SingleObj.star S)),
  ((Quiver.SchreierGraph.labellingStarEquiv ι x).symm x_1).fst = ι x_1.snd • x

def Quiver.SchreierGraph.labellingCostarEquiv E1 #

{V : Type u_1} →
  {M : Type u_2} →
    [inst : Group M] →
      [inst_1 : MulAction M V] →
        {S : Type u_3} →
          (ι : S → M) → (x : Quiver.SchreierGraph V ι) → Quiver.Costar x ≃ Quiver.Costar (Quiver.SingleObj.star S)

The costar map of the labelling prefunctor as an equivalence.

theorem Quiver.SchreierGraph.labellingCostarEquiv_symm_apply_snd_coe E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (x_1 : Quiver.Costar (Quiver.SingleObj.star S)),
  ↑((Quiver.SchreierGraph.labellingCostarEquiv ι x).symm x_1).snd = x_1.snd

theorem Quiver.SchreierGraph.labellingCostarEquiv_symm_apply_fst E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (x_1 : Quiver.Costar (Quiver.SingleObj.star S)),
  ((Quiver.SchreierGraph.labellingCostarEquiv ι x).symm x_1).fst = (ι x_1.snd)⁻¹ • x

theorem Quiver.SchreierGraph.labellingCostarEquiv_apply E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x : Quiver.SchreierGraph V ι) (a : Quiver.Costar x),
  (Quiver.SchreierGraph.labellingCostarEquiv ι x) a = (Quiver.SchreierGraph.labelling V ι).costar x a

theorem Quiver.SchreierGraph.labelling_isCovering E3 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M),
  (Quiver.SchreierGraph.labelling V ι).IsCovering

The labelling prefunctor is a covering for Schreier graphs with group actions.

theorem Quiver.SchreierGraph.map_smul_of_comp_labelling_eq E0 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M) {W : Type u_4}
  [inst_2 : MulAction M W] (φ : Quiver.SchreierGraph V ι ⥤q Quiver.SchreierGraph W ι),
  φ ⋙q Quiver.SchreierGraph.labelling W ι = Quiver.SchreierGraph.labelling V ι →
    ∀ (v : Quiver.SchreierGraph V ι) (s : S), φ.obj (ι s • v) = ι s • φ.obj v

If a prefunctor between Schreier graphs commutes with the labelling (i.e., labels are preserved), then it commutes with the group action. In other words, morphisms that preserve edge labels also preserve the group structure.

def Quiver.SchreierGraph.evalWord E3 #

{M : Type u_1} → [Group M] → {S : Type u_2} → (S → M) → List (S × Bool) → M

Evaluate a word List (S × Bool) as an element of the group M. A pair (s, true) contributes ι s; a pair (s, false) contributes (ι s)⁻¹.

theorem Quiver.SchreierGraph.evalWord_nil E0 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M), Quiver.SchreierGraph.evalWord ι [] = 1

theorem Quiver.SchreierGraph.evalWord_cons_true E0 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M) (s : S) (w : List (S × Bool)),
  Quiver.SchreierGraph.evalWord ι ((s, true) :: w) = ι s * Quiver.SchreierGraph.evalWord ι w

theorem Quiver.SchreierGraph.evalWord_cons_false E0 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M) (s : S) (w : List (S × Bool)),
  Quiver.SchreierGraph.evalWord ι ((s, false) :: w) = (ι s)⁻¹ * Quiver.SchreierGraph.evalWord ι w

theorem Quiver.SchreierGraph.evalWord_append E1 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M) (w₁ w₂ : List (S × Bool)),
  Quiver.SchreierGraph.evalWord ι (w₁ ++ w₂) = Quiver.SchreierGraph.evalWord ι w₁ * Quiver.SchreierGraph.evalWord ι w₂

theorem Quiver.SchreierGraph.evalWord_mem_closure E3 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M) (w : List (S × Bool)),
  Quiver.SchreierGraph.evalWord ι w ∈ Subgroup.closure (Set.range ι)

The evaluation of any word lies in the subgroup generated by the image of ι.

theorem Quiver.SchreierGraph.exists_evalWord_of_mem_closure E3 #

∀ {M : Type u_1} [inst : Group M] {S : Type u_2} (ι : S → M) {g : M},
  g ∈ Subgroup.closure (Set.range ι) → ∃ w, Quiver.SchreierGraph.evalWord ι w = g

Every element of the subgroup generated by the image of ι is the evaluation of a word.

def Quiver.SchreierGraph.pathFromWord E3 #

{V : Type u_1} →
  {M : Type u_2} →
    [inst : Group M] →
      [inst_1 : MulAction M V] →
        {S : Type u_3} →
          (ι : S → M) →
            (x : Quiver.SchreierGraph V ι) →
              (w : List (S × Bool)) →
                Quiver.Path (Quiver.Symmetrify.of.obj x)
                  (Quiver.Symmetrify.of.obj (Quiver.SchreierGraph.evalWord ι w • x))

Construct a path in the symmetrified Schreier graph from a Bool-tagged word. A pair (s, true) contributes a forward edge for ι s; (s, false) contributes a backward edge, representing motion along (ι s)⁻¹.

theorem Quiver.SchreierGraph.reachable_of_mem_closure E1 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M) {g : M},
  g ∈ Subgroup.closure (Set.range ι) →
    ∀ (y : Quiver.SchreierGraph V ι), Quiver.Reachable (Quiver.Symmetrify.of.obj y) (Quiver.Symmetrify.of.obj (g • y))

If g lies in the subgroup generated by the image of ι, then g • y is reachable from y in the symmetrification, for every vertex y of the Schreier graph.

theorem Quiver.SchreierGraph.exists_mem_closure_of_path E1 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  {x : Quiver.SchreierGraph V ι} {y : Quiver.Symmetrify (Quiver.SchreierGraph V ι)}
  (p : Quiver.Path (Quiver.Symmetrify.of.obj x) y), ∃ g ∈ Subgroup.closure (Set.range ι), g • x = y

A path in the symmetrified Schreier graph exhibits an element of the subgroup generated by ι that carries the source to the target.

theorem Quiver.SchreierGraph.reachable_iff E3 #

∀ {V : Type u_1} {M : Type u_2} [inst : Group M] [inst_1 : MulAction M V] {S : Type u_3} (ι : S → M)
  (x y : Quiver.SchreierGraph V ι),
  Quiver.Reachable (Quiver.Symmetrify.of.obj x) (Quiver.Symmetrify.of.obj y) ↔
    ∃ g ∈ Subgroup.closure (Set.range ι), g • x = y

Two vertices of a Schreier graph are connected by a path in the symmetrified quiver iff some element of the subgroup generated by ι carries one to the other.