Constructing the bounded history of the source partitions

Lax977378.SourceRun · concepts/Lax977378/SourceRun.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

    Starting with a stable partition separating every inspected ball, retain each parent partition, its endpoints, and the rule defining its children. At each stage the exceptional set is exactly the neighbourhood of the previous exceptions and the new endpoints. A common bound for the number of rows and exceptions depends only on the parameters and the initial bound.

    Concept map
    9 concepts; 7 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax977378.Stage
    2import Lax977378.TagSafety
    3
    4/-!
    5---
    6title: Constructing the bounded history of the source partitions
    7type: lemma
    8---
    9Starting with a stable partition separating every inspected ball, retain each
    10parent partition, its endpoints, and the rule defining its children. At each
    11stage the exceptional set is exactly the neighbourhood of the previous
    12exceptions and the new endpoints. A common bound for the number of rows and
    13exceptions depends only on the parameters and the initial bound.
    14-/
    15namespace Lax977378.SourceRun
    16open Lax977378.Logic Lax977378.OuterContexts Lax977378.Blocks Lax977378.Stage Lax977378.TagSafety
    17
    18structure Layer {c : Nat} (G : Graph c) where
    19 n : Nat
    20 row : Fin G.size → Fin n
    21 exceptions : Finset (Fin G.size)
    22
    23def History {c} (G : Graph c) (initial : Layer G) : Nat → Layer G → Prop
    24 | 0, L => L = initial
    25 | j+1, L => ∃ H : Layer G, History G initial j H ∧
    26 ∃ f l : Fin H.n → Fin G.size,
    27 (∀ x, x ∈ L.exceptions ↔ ∃ z, (z ∈ H.exceptions ∨ (∃ t, f t = z) ∨ ∃ t, l t = z) ∧
    28 within G (radius (j+1)) z x) ∧
    29 (∀ (a : LinearOrder (Fin G.size)), Compatible a L.row →
    30 ∃ P : @Partition (Fin G.size) (Fin H.n) a inferInstance,
    31 P.block = H.row ∧ P.first = f ∧ P.last = l) ∧
    32 (∀ (a : LinearOrder (Fin G.size)), Compatible a L.row → ∀ x y,
    33 L.row x = L.row y ↔ H.row x = H.row y ∧
    34 (x = y ∨ x ∉ L.exceptions ∧ y ∉ L.exceptions ∧ same G G a a (j+1) x y))
    35
    36def limit (d : Nat) (N : Nat → Nat) (b : Nat) : Nat → Nat
    37 | 0 => b
    38 | j+1 => (3*(d+1)^(radius (j+1)) + N j) * limit d N b j
    39
    40axiom construct (c d K : Nat) : ∃ N : Nat → Nat, ∀ (G : Graph c), G.Bounded d →
    41 ∀ (initial : Layer G) (b : Nat), initial.n ≤ b → initial.exceptions.card ≤ b →
    42 Function.Surjective initial.row → Stable G 0 initial.row →
    43 (∀ x, Function.Injective (fun u : Ball G K x => initial.row u.val)) →
    44 ∃ L : Layer G, History G initial K L ∧ Stable G K L.row ∧
    45 Function.Surjective L.row ∧ L.n ≤ limit d N b K ∧ L.exceptions.card ≤ limit d N b K
    46
    47end Lax977378.SourceRun
    48
    Show Proof

    Discussion

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

    Loading discussion…