One partition for all filters on a leaf
Lax793645.FilteredQueryPartition · concepts/Lax793645/FilteredQueryPartition.lean · lax-793645
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
For every fixed accuracy, a partition defined by a bounded number of linear equations approximates every permitted filtered query density in mean absolute error. Its projected densities have a bound independent of the accuracy.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
In the paper
- page 38 of this submission's paper
Lean source view on GitHub
| 1 | import Lax793645.ConstructionData |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: One partition for all filters on a leaf |
| 6 | type: lemma |
| 7 | --- |
| 8 | For every fixed accuracy, a partition defined by a bounded number of linear equations |
| 9 | approximates every permitted filtered query density in mean absolute error. Its |
| 10 | projected densities have a bound independent of the accuracy. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax793645.FilteredQueryPartition |
| 14 | |
| 15 | section |
| 16 | open Lax793645.ConstructionData.Binary |
| 17 | open Lax793645.ConstructionData.Frames |
| 18 | open Lax793645.ConstructionData.Binary.HadwigerCounterexample |
| 19 | open Finset Matrix Function Filter |
| 20 | open scoped Classical |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | axiom one_query_all_filters_linear_partition |
| 23 | {I A : Type} [Fintype I] [DecidableEq I] [Fintype A] [Nonempty A] {p : Shape} (v : Template p I) [DecidableEq (KeySlots p v.t)] |
| 24 | (M : ℕ) (hM : 1≤ M) (c L ε : ℝ) (hL : 0< L) (hε : 0<ε) : |
| 25 | ∃ R : ℕ,∀ᶠ n : ℕ in atTop, |
| 26 | ∀ (m : Mixer p n),Fintype.card (Row p n)+2* p.h+3≤ M* n → |
| 27 | ∀ (π : Wgt (OneUnit p n (M* n))),IsLaw π → |
| 28 | (∀ o,π o≤ bp (c*(M* n:ℕ))* oneUnitRaw m (M* n) o) → |
| 29 | ∀ (w : I→ Wgt (Knobs p.g n)),(∀ i,IsLaw (w i)) → |
| 30 | (∀ i,mapW (w i) (freePart p)=unif) → |
| 31 | (∀ x,prodW w x≤ L* unif x) → ∀ (q : I→ F) (χ : Inputs p n I→ A), |
| 32 | let K:=oneQueryReferenceSet v q (M* n); let ν:=unifOn K |
| 33 | let μ:=colored π (prodW w) (oneQueryFlags v χ) |
| 34 | let d:=coloredCutDensities ν (prodW w) (oneQueryFlags v χ) (oneTemplateCoordinates v) K |
| 35 | ∃ r : ℕ,r≤ R ∧ ∃ P : Mat (Fin r) (Fin (M* n)×Bool×KeySlots p v.t), |
| 36 | ∀ t : Wgt (OneUnit p n (M* n)×(A×(I→ F))), |
| 37 | (∀ i,0≤ t i) → (∀ i,t i≤μ i) → |
| 38 | lcost ν (mixW t d) (banner ν P.mulVec (mixW t d))≤ε |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end Lax793645.FilteredQueryPartition |
| 43 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments