Documentation

LeanPool.ErdosGinzburgZiv.EGZ.Expansion.ExchangePattern

Bounded exchange patterns and their independent samples #

A pattern prescribes the number of positive and negative positions in each fibre. Sampling all these positions independently gives exact uniform marginals; injective samples are the disjoint exchanges used later.

structure EGZ.Expansion.ExchangePattern (S : Type u_1) :
Type u_1

The positive and negative multiplicities specifying a signed exchange pattern.

  • positive : S → ℕ

    The number of positive positions carrying each label.

  • negative : S → ℕ

    The number of negative positions carrying each label.

Instances For

    The labelled positions of an exchange pattern, separated into positive and negative copies.

    Equations
    Instances For

      The label carried by a position of the exchange pattern.

      Equations
      Instances For

        The integer sign of a position: one for a positive copy and minus one for a negative copy.

        Equations
        Instances For
          @[reducible, inline]
          abbrev EGZ.Expansion.ExchangePattern.Sample {S : Type u_1} (P : ExchangePattern S) (X : S → Type u_2) :
          Type (max u_2 u_1)

          A choice of a sample from the prescribed fibre at every labelled position.

          Equations
          Instances For

            The total number of positive and negative positions in the pattern.

            Equations
            Instances For
              @[simp]
              theorem EGZ.Expansion.ExchangePattern.sum_sign_smul {S : Type u_1} [Fintype S] {G : Type u_2} [AddCommGroup G] (P : ExchangePattern S) (r : S → G) :
              ∑ i : P.Position, P.sign i • r (P.label i) = ∑ q : S, P.positive q • r q - ∑ q : S, P.negative q • r q
              noncomputable def EGZ.Expansion.ExchangePattern.sampleSum {S : Type u_1} [Fintype S] {G : Type u_2} [AddCommGroup G] (P : ExchangePattern S) {X : S → Type u_3} (v : (q : S) → X q → G) (x : P.Sample X) :
              G

              The signed sum of the vectors selected by a sample of the exchange pattern.

              Equations
              Instances For

                The exchange pattern obtained by separating an integral relation into positive and negative parts.

                Equations
                Instances For
                  theorem EGZ.Expansion.ExchangePattern.ofRelation_sum {S : Type u_1} [Fintype S] {G : Type u_2} [AddCommGroup G] (b : S → ℤ) (r : S → G) :
                  ∑ i : (ofRelation b).Position, (ofRelation b).sign i • r ((ofRelation b).label i) = ∑ q : S, b q • r q
                  theorem EGZ.Expansion.ExchangePattern.ofRelation_size {S : Type u_1} [Fintype S] (b : S → ℤ) :
                  (ofRelation b).size = ∑ q : S, (b q).natAbs
                  theorem EGZ.Expansion.ExchangePattern.center_sum_bounded {S : Type u_1} [Fintype S] [DecidableEq S] (P : ExchangePattern S) {X : S → Type u_2} [(q : S) → Fintype (X q)] [∀ (q : S), Nonempty (X q)] {p W : ℕ} (v : (q : S) → X q → ZMod p) (r : S → ZMod p) {η : ℝ} (hcoord : ∀ (q : S), (finiteProb fun (x : X q) => ¬HasBoundedRepresentative p W (v q x - r q)) ≤ η) (hsum : (finiteProb fun (x : P.Sample X) => ¬HasBoundedRepresentative p W (P.sampleSum v x)) ≤ η) (hsmall : (↑P.size + 1) * η < 1) :
                  HasBoundedRepresentative p ((1 + P.size) * W) (∑ q : S, P.positive q • r q - ∑ q : S, P.negative q • r q)

                  Product-sample concentration yields a deterministic bound for the corresponding sum of fibre centres.