Quotienting an owner by a level of its hierarchy
Lax956329.PermutationCovers · concepts/Lax956329/PermutationCovers.lean · lax-956329
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Above each type, write an owner as a pair consisting of its parent block and its child index. An edge of the type graph acts on the owners by a permutation, with the reverse orientation acting by the inverse. If the permutations preserve the parent partition, forgetting the child index is a graph cover. Each vertex has one lift for every child.
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Basic |
| 2 | import Mathlib.SetTheory.Cardinal.Finite |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Quotienting an owner by a level of its hierarchy |
| 7 | type: lemma |
| 8 | --- |
| 9 | Above each type, write an owner as a pair consisting of its parent block and |
| 10 | its child index. An edge of the type graph acts on the owners by a permutation, |
| 11 | with the reverse orientation acting by the inverse. If the permutations |
| 12 | preserve the parent partition, forgetting the child index is a graph cover. |
| 13 | Each vertex has one lift for every child. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax956329.PermutationCovers |
| 17 | |
| 18 | /-- The usual local criterion for a uniform finite graph cover. -/ |
| 19 | structure IsCover {V W : Type} (G : SimpleGraph V) (H : SimpleGraph W) |
| 20 | (f : V → W) (r : ℕ) : Prop where |
| 21 | fiber : ∀ y, Nat.card {x // f x = y} = r |
| 22 | maps_edges : ∀ {x y}, G.Adj x y → H.Adj (f x) (f y) |
| 23 | lift_unique : ∀ x y, H.Adj (f x) y → ∃! z, G.Adj x z ∧ f z = y |
| 24 | |
| 25 | structure Matchings {D : Type} (B : SimpleGraph D) (O : Type) where |
| 26 | move : D → D → Equiv.Perm O |
| 27 | reverse : ∀ {a b}, B.Adj a b → move b a = (move a b).symm |
| 28 | |
| 29 | def graph {D O : Type} {B : SimpleGraph D} (M : Matchings B O) : SimpleGraph (D × O) where |
| 30 | Adj x y := B.Adj x.1 y.1 ∧ M.move x.1 y.1 x.2 = y.2 |
| 31 | symm := ⟨fun _ _ ⟨edge,eq⟩ => ⟨edge.symm, by rw [M.reverse edge,← eq,Equiv.symm_apply_apply]⟩⟩ |
| 32 | loopless := ⟨fun _ h => h.1.ne rfl⟩ |
| 33 | |
| 34 | def parent {D O S : Type} (v : D × (O × S)) : D × O := (v.1,v.2.1) |
| 35 | |
| 36 | axiom quotient {D O S : Type} {B : SimpleGraph D} (M : Matchings B (O × S)) |
| 37 | (s₀ : S) (respects : ∀ a b (x y : O × S), |
| 38 | (M.move a b x).1 = (M.move a b y).1 ↔ x.1 = y.1) : |
| 39 | ∃ N : Matchings B O, |
| 40 | (∀ a b x, N.move a b x.1 = (M.move a b x).1) ∧ |
| 41 | IsCover (graph M) (graph N) parent (Nat.card S) |
| 42 | |
| 43 | end Lax956329.PermutationCovers |
| 44 |
Builds on
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments