Prescribing coloured neighbourhoods outside the exceptional set
Lax977378.Planting · concepts/Lax977378/Planting.lean · lax-977378
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Each entry in the request list prescribes an injective colouring of an uncoloured rooted neighbourhood. Repetition prescribes multiplicity. Given enough occurrences, one proper colouring of the graph power realises every entry at a separated centre and extends the colouring on the excluded set.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax977378.CountParameters |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Prescribing coloured neighbourhoods outside the exceptional set |
| 6 | type: lemma |
| 7 | --- |
| 8 | Each entry in the request list prescribes an injective colouring of an |
| 9 | uncoloured rooted neighbourhood. Repetition prescribes multiplicity. Given |
| 10 | enough occurrences, one proper colouring of the graph power realises every |
| 11 | entry at a separated centre and extends the colouring on the excluded set. |
| 12 | -/ |
| 13 | namespace Lax977378.Planting |
| 14 | open Lax977378.Logic Lax977378.OuterContexts Lax977378.RecordTests Lax977378.CountParameters |
| 15 | |
| 16 | structure Request (c q : Nat) where |
| 17 | type : Pointed c |
| 18 | paint : Fin type.pattern.size → Fin q |
| 19 | inj : Function.Injective paint |
| 20 | |
| 21 | def Realised {c q} (s : Request c q) (G : Graph c) (r : Nat) (k : Fin G.size → Fin q) |
| 22 | (x : Fin G.size) : Prop := |
| 23 | ∃ y, Window s.type.pattern G r {s.type.center} y ∧ y s.type.center = x ∧ |
| 24 | ∀ i, k (y i) = s.paint i |
| 25 | |
| 26 | def ProperOn {c q} (G : Graph c) (p : Nat) (P : Finset (Fin G.size)) |
| 27 | (k : Fin G.size → Fin q) : Prop := |
| 28 | ∀ u ∈ P, ∀ v ∈ P, u ≠ v → within G p u v → k u ≠ k v |
| 29 | |
| 30 | axiom plant {c d q : Nat} (G : Graph c) (hd : G.Bounded d) (r p : Nat) |
| 31 | (palette : (d+1)^p ≤ q) (P : Finset (Fin G.size)) (colour : Fin G.size → Fin q) |
| 32 | (proper : ProperOn G p P colour) (requests : List (Request c q)) |
| 33 | (enough : ∀ s ∈ requests, (P.card + requests.length * (d+1)^r) * (d+1)^(2*r+p) < |
| 34 | (locations s.type r G).card) : |
| 35 | ∃ k : Fin G.size → Fin q, ∃ centres : List (Fin G.size), |
| 36 | (∀ u ∈ P, k u = colour u) ∧ ProperOn G p Finset.univ k ∧ |
| 37 | List.Forall₂ (fun x s => Realised s G r k x) centres requests ∧ |
| 38 | (∀ x ∈ centres, ∀ u ∈ P, ¬ within G (2*r+p) u x) ∧ |
| 39 | centres.Pairwise (fun x y => ¬ within G (2*r+p) x y) |
| 40 | |
| 41 | end Lax977378.Planting |
| 42 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments