While this submission is a draft, it cannot be used by other submissions.

Quotienting an owner by a level of its hierarchy

Lax956329.PermutationCovers · concepts/Lax956329/PermutationCovers.lean · lax-956329

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural 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
    1 concept; 3 descendants hidden
    100%
    Proven claimThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.Basic
    2import Mathlib.SetTheory.Cardinal.Finite
    3
    4/-!
    5---
    6title: Quotienting an owner by a level of its hierarchy
    7type: lemma
    8---
    9Above each type, write an owner as a pair consisting of its parent block and
    10its child index. An edge of the type graph acts on the owners by a permutation,
    11with the reverse orientation acting by the inverse. If the permutations
    12preserve the parent partition, forgetting the child index is a graph cover.
    13Each vertex has one lift for every child.
    14-/
    15
    16namespace Lax956329.PermutationCovers
    17
    18/-- The usual local criterion for a uniform finite graph cover. -/
    19structure 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
    25structure 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
    29def 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
    34def parent {D O S : Type} (v : D × (O × S)) : D × O := (v.1,v.2.1)
    35
    36axiom 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
    43end Lax956329.PermutationCovers
    44
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…