Constructing a refinement and proving invariance under internal orders

Lax977378.Stage · concepts/Lax977378/Stage.lean · lax-977378

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

    For one graph, take legal endpoints in every current block. Split each parent into the first singleton, the other exceptional singletons, ordinary groups by outer context, and the last singleton. Every order compatible with the result has the prescribed endpoints in its parent blocks. Vertices in the same new block agree at the next rank in any two such orders.

    Concept map
    7 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax977378.Endpoints
    2import Lax977378.ContextLabels
    3import Lax977378.Refinement
    4
    5/-!
    6---
    7title: Constructing a refinement and proving invariance under internal orders
    8type: lemma
    9---
    10For one graph, take legal endpoints in every current block. Split each parent
    11into the first singleton, the other exceptional singletons, ordinary groups
    12by outer context, and the last singleton. Every order compatible with the
    13result has the prescribed endpoints in its parent blocks. Vertices in the
    14same new block agree at the next rank in any two such orders.
    15-/
    16namespace Lax977378.Stage
    17open Lax977378.Logic Lax977378.OuterContexts Lax977378.Blocks
    18
    19def Compatible {v n} (a : LinearOrder (Fin v)) (block : Fin v → Fin n) : Prop :=
    20 ∀ x y, a.le x y → block x ≤ block y
    21
    22def Stable {c n} (G : Graph c) (i : Nat) (block : Fin G.size → Fin n) : Prop :=
    23 ∀ a b, Compatible a block → Compatible b block →
    24 ∀ x y, block x = block y → same G G a b i x y
    25
    26axiom refineBlocks (c d i : Nat) : ∃ N : Nat, ∀ {n : Nat} (G : Graph c), G.Bounded d →
    27 ∀ (block : Fin G.size → Fin n) (first last : Fin n → Fin G.size),
    28 (∀ j, block (first j) = j) → (∀ j, block (last j) = j) →
    29 (∀ j, first j = last j → ∀ x, block x = j → x = first j) →
    30 ∀ (Γ : Finset (Fin G.size)), (∀ j, first j ∈ Γ ∧ last j ∈ Γ) →
    31 Stable G i block →
    32 (∀ x, Function.Injective (fun u : Ball G (i+1) x => block u.val)) →
    33 ∃ m : Nat, ∃ next : Fin G.size → Fin m, Function.Surjective next ∧
    34 m ≤ Γ.card + n * N ∧
    35 Stable G (i+1) next ∧
    36 (∀ (a : LinearOrder (Fin G.size)), Compatible a next →
    37 ∃ P : @Partition (Fin G.size) (Fin n) a inferInstance,
    38 P.block = block ∧ P.first = first ∧ P.last = last) ∧
    39 (∀ (a : LinearOrder (Fin G.size)), Compatible a next → ∀ x y,
    40 next x = next y ↔ block x = block y ∧
    41 (x = y ∨ x ∉ Γ ∧ y ∉ Γ ∧ same G G a a (i+1) x y))
    42
    43end Lax977378.Stage
    44
    Show Proof

    Discussion

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

    Loading discussion…