Mixtures of valid finite samples #
Each component has total mass at most one. Removing a small exceptional set from every sample space retains positive mass and preserves thickness provided one component witnesses escape from each central slab.
noncomputable def
EGZ.Expansion.sampleWeight
{I : Type u_1}
{β : Type u_2}
[Fintype I]
(A : I → Type u_3)
[(i : I) → Fintype (A i)]
(value : (i : I) → A i → β)
(valid : (i : I) → A i → Prop)
(v : β)
:
Equal mixture of the valid samples, retaining their vector values.
Equations
- EGZ.Expansion.sampleWeight A value valid v = ∑ i : I, EGZ.Expansion.finiteProb fun (x : A i) => valid i x ∧ value i x = v
Instances For
theorem
EGZ.Expansion.sampleWeight_massOn
{I : Type u_1}
{β : Type u_2}
[Fintype I]
[Fintype β]
(A : I → Type u_3)
[(i : I) → Fintype (A i)]
(value : (i : I) → A i → β)
(valid : (i : I) → A i → Prop)
(P : β → Prop)
:
(∑ v : β, if P v then sampleWeight A value valid v else 0) = ∑ i : I, finiteProb fun (x : A i) => valid i x ∧ P (value i x)
Mass on a set of vectors is the sum of the corresponding valid-sample probabilities over all components.
theorem
EGZ.Expansion.sampleWeight_mass_ge
{I : Type u_1}
{β : Type u_2}
[Fintype I]
[Fintype β]
(A : I → Type u_3)
[(i : I) → Fintype (A i)]
(value : (i : I) → A i → β)
(valid : (i : I) → A i → Prop)
[∀ (i : I), Nonempty (A i)]
{e : ℝ}
(hbad : ∀ (i : I), (finiteProb fun (x : A i) => ¬valid i x) ≤ e)
:
Removing an exceptional set loses at most its probability from any event, without any independence assumption.
theorem
EGZ.Expansion.sampleWeight_mass_pos
{p d : ℕ}
[NeZero p]
{I : Type u_1}
[Fintype I]
[Nonempty I]
(A : I → Type u_2)
[(i : I) → Fintype (A i)]
[∀ (i : I), Nonempty (A i)]
(value : (i : I) → A i → FpCoord p d)
(valid : (i : I) → A i → Prop)
{η : ℝ}
(hηone : η ≤ 1)
(hbad : ∀ (i : I), (finiteProb fun (x : A i) => ¬valid i x) ≤ η / 2)
:
theorem
EGZ.Expansion.sampleWeight_centrallyThick
{p d W : ℕ}
[NeZero p]
{I : Type u_1}
[Fintype I]
[Nonempty I]
(A : I → Type u_2)
[(i : I) → Fintype (A i)]
[∀ (i : I), Nonempty (A i)]
(value : (i : I) → A i → FpCoord p d)
(valid : (i : I) → A i → Prop)
{η : ℝ}
(hη : 0 < η)
(hbad : ∀ (i : I), (finiteProb fun (x : A i) => ¬valid i x) ≤ η / 2)
(hout :
∀ (ξ : FpCoord p d →ₗ[ZMod p] ZMod p),
ξ ≠ 0 → ∃ (i : I), η ≤ finiteProb fun (x : A i) => ¬HasBoundedRepresentative p W (ξ (value i x)))
:
IsCentrallyThick (sampleWeight A value valid) W (η / (2 * ↑(Fintype.card I)))