Constructing the bounded history of the source partitions
Lax977378.SourceRun · concepts/Lax977378/SourceRun.lean · lax-977378
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural 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
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax977378.Stage |
| 2 | import Lax977378.TagSafety |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Constructing the bounded history of the source partitions |
| 7 | type: lemma |
| 8 | --- |
| 9 | Starting with a stable partition separating every inspected ball, retain each |
| 10 | parent partition, its endpoints, and the rule defining its children. At each |
| 11 | stage the exceptional set is exactly the neighbourhood of the previous |
| 12 | exceptions and the new endpoints. A common bound for the number of rows and |
| 13 | exceptions depends only on the parameters and the initial bound. |
| 14 | -/ |
| 15 | namespace Lax977378.SourceRun |
| 16 | open Lax977378.Logic Lax977378.OuterContexts Lax977378.Blocks Lax977378.Stage Lax977378.TagSafety |
| 17 | |
| 18 | structure Layer {c : Nat} (G : Graph c) where |
| 19 | n : Nat |
| 20 | row : Fin G.size → Fin n |
| 21 | exceptions : Finset (Fin G.size) |
| 22 | |
| 23 | def 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 | |
| 36 | def 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 | |
| 40 | axiom 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 | |
| 47 | end Lax977378.SourceRun |
| 48 |
Builds on
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments