While this submission is a draft, it cannot be used by other submissions.

One partition for all filters on a leaf

Lax793645.FilteredQueryPartition · concepts/Lax793645/FilteredQueryPartition.lean · lax-793645

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

    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
    2 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    In the paper

    • page 38 of this submission's paper

    Lean source view on GitHub

    1import Lax793645.ConstructionData
    2
    3/-!
    4---
    5title: One partition for all filters on a leaf
    6type: lemma
    7---
    8For every fixed accuracy, a partition defined by a bounded number of linear equations
    9approximates every permitted filtered query density in mean absolute error. Its
    10projected densities have a bound independent of the accuracy.
    11-/
    12
    13namespace Lax793645.FilteredQueryPartition
    14
    15section
    16open Lax793645.ConstructionData.Binary
    17open Lax793645.ConstructionData.Frames
    18open Lax793645.ConstructionData.Binary.HadwigerCounterexample
    19open Finset Matrix Function Filter
    20open scoped Classical
    21set_option backward.isDefEq.respectTransparency false
    22axiom 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
    40end
    41
    42end Lax793645.FilteredQueryPartition
    43
    Show Proof
    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

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

    Loading discussion…