Extracting the unordered test from an exceptional set
Lax977378.Extraction · concepts/Lax977378/Extraction.lean · lax-977378
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Take the actual truncated counts and an exceptional set containing the rare vertices. The graph supplies a bounded induced window, with the exceptional and rare vertices named, and satisfies the resulting unordered record test.
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: Extracting the unordered test from an exceptional set |
| 6 | type: lemma |
| 7 | --- |
| 8 | Take the actual truncated counts and an exceptional set containing the rare |
| 9 | vertices. The graph supplies a bounded induced window, with the exceptional |
| 10 | and rare vertices named, and satisfies the resulting unordered record test. |
| 11 | -/ |
| 12 | namespace Lax977378.Extraction |
| 13 | open Lax977378.Logic Lax977378.RecordTests Lax977378.CountParameters |
| 14 | |
| 15 | axiom extract {c d n} (G : Graph c) (hd : G.Bounded d) (r R cap t : Nat) |
| 16 | (types : Fin n → Pointed c) (M : Finset (Fin G.size)) |
| 17 | (v : Fin n → Nat) (counts : ∀ j, v j = min cap (locations (types j) r G).card) |
| 18 | (contains : rareSet types r G v t ⊆ M) : |
| 19 | ∃ D : TestData c, D.radius = r ∧ D.windowRadius = R ∧ D.cap = cap ∧ |
| 20 | D.counts = List.ofFn (fun j => (types j,v j)) ∧ |
| 21 | D.frequent = ((List.finRange n).filter (fun j => t ≤ v j)).map types ∧ |
| 22 | D.windowGraph.size ≤ M.card * (d+1)^R ∧ |
| 23 | (∃ y, Window D.windowGraph G R D.marked y ∧ D.marked.image y = M ∧ |
| 24 | D.rare.image y = rareSet types r G v t) ∧ Passes D G ∧ |
| 25 | ∃ f, Plain [] f ∧ Unordered G f ∧ ∀ B, Unordered B f ↔ Passes D B |
| 26 | |
| 27 | end Lax977378.Extraction |
| 28 |
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