Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Extractor.Strong.Weighted.Defs

Finite weighted sources and strong extraction #

Real weights describe finite distributions without requiring their atoms to have equal probability. Normalization and the point-mass cap are separate predicates. The cap K * p x ≤ 1 expresses min-entropy at least log₂ K without logarithms or division in conditional-source arguments.

Distance is half the sum of absolute coordinate differences. The weighted seeded test samples the source according to its weights and an independent uniform seed, retaining both the seed and output in the test. All finite-sum operations remain defined on arbitrary real weights; probability theorems state normalization and nonnegativity explicitly.

Nonnegative finite weights whose total mass is one.

Equations
Instances For
    def Algebraic.Cutwidth.Extractor.CappedWeight {α : Type u_1} (p : α → ℝ) (K : ℕ) :

    Every point has probability at most the reciprocal of the support threshold.

    Equations
    Instances For
      noncomputable def Algebraic.Cutwidth.Extractor.weightDist {α : Type u_1} [Fintype α] (p q : α → ℝ) :

      Total variation distance for finite probability weights.

      Equations
      Instances For
        noncomputable def Algebraic.Cutwidth.Extractor.weightTestProb {α : Type u_1} (p : α → ℝ) (T : Finset α) :

        The probability mass assigned to a finite test.

        Equations
        Instances For
          noncomputable def Algebraic.Cutwidth.Extractor.mapWeight {α : Type u_1} {β : Type u_2} [Fintype α] (f : α → β) (p : α → ℝ) (y : β) :

          Push weights through a deterministic map, counting every source occurrence.

          Equations
          Instances For
            noncomputable def Algebraic.Cutwidth.Extractor.firstWeight {α : Type u_1} {β : Type u_2} [Fintype β] (p : α × β → ℝ) (a : α) :

            Marginal weights on the first component of a finite product.

            Equations
            Instances For
              noncomputable def Algebraic.Cutwidth.Extractor.uniformWeight (α : Type u_1) [Fintype α] :
              α → ℝ

              Uniform weights, with the zero convention on an empty sampling type.

              Equations
              Instances For
                noncomputable def Algebraic.Cutwidth.Extractor.flatWeight {α : Type u_1} (P : Finset α) (x : α) :

                Uniform weights on a finite support, and zero weights for the empty support.

                Equations
                Instances For
                  noncomputable def Algebraic.Cutwidth.Extractor.weightedSeededTestProb {α : Type u_1} {Seed : Type u_2} {Ω : Type u_3} [Fintype α] [Fintype Seed] (p : α → ℝ) (E : α → Seed → Ω) (T : Finset (Seed × Ω)) :

                  Test probability for a weighted source and an independent uniform seed.

                  Equations
                  Instances For
                    def Algebraic.Cutwidth.Extractor.WeightedStrongSeededExtractor {α : Type u_1} {Seed : Type u_2} {Ω : Type u_3} [Fintype α] [Fintype Seed] [Fintype Ω] (E : α → Seed → Ω) (K : ℕ) (ε : ℝ) :

                    Strong extraction from every normalized source satisfying the point-mass cap.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For