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.
@[instance_reducible]
instance
EGZ.Expansion.ExchangePattern.instFintypePosition
{S : Type u_1}
[Fintype S]
(P : ExchangePattern S)
:
Equations
- P.instFintypePosition = { elems := EGZ.Expansion.ExchangePattern.instFintypePosition._aux_1 P, complete := ⋯ }
@[instance_reducible]
instance
EGZ.Expansion.ExchangePattern.instDecidableEqPosition
{S : Type u_1}
[DecidableEq S]
(P : ExchangePattern S)
:
The label carried by a position of the exchange pattern.
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.
Instances For
@[simp]
theorem
EGZ.Expansion.ExchangePattern.card_position
{S : Type u_1}
[Fintype S]
(P : ExchangePattern S)
:
@[simp]
theorem
EGZ.Expansion.ExchangePattern.sign_natAbs
{S : Type u_1}
(P : ExchangePattern S)
(i : P.Position)
:
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.
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.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)
:
Product-sample concentration yields a deterministic bound for the corresponding sum of fibre centres.