Ruzsa distance for finite sets #
noncomputable def
ProbabilityTheory.setRuzsaDist
{G : Type u_1}
[MeasurableSpace G]
[AddCommGroup G]
(A B : Set G)
:
The Ruzsa distance between two subsets A, B of a group G is defined to be the Ruzsa
distance between their uniform probability distributions. Is only intended for use when A, B are
finite and non-empty.
Equations
Instances For
theorem
ProbabilityTheory.setRuzsaDist_eq_rdist
{G : Type u_1}
[Countable G]
[MeasurableSpace G]
[MeasurableSingletonClass G]
[AddCommGroup G]
{A B : Set G}
[Finite ↑A]
[Finite ↑B]
{Ω : Type u_2}
{Ω' : Type u_3}
[mΩ : MeasureTheory.MeasureSpace Ω]
[mΩ' : MeasureTheory.MeasureSpace Ω']
{μ : MeasureTheory.Measure Ω}
{μ' : MeasureTheory.Measure Ω'}
[MeasureTheory.IsProbabilityMeasure μ]
[MeasureTheory.IsProbabilityMeasure μ']
{UA : Ω → G}
{UB : Ω' → G}
(hUA : IsUniform A UA μ)
(hUB : IsUniform B UB μ')
(hUA_mes : Measurable UA)
(hUB_mes : Measurable UB)
:
Relating Ruzsa distance between sets to Ruzsa distance between random variables
theorem
ProbabilityTheory.setRuzsaDist_nonneg
{G : Type u_1}
[Countable G]
[MeasurableSpace G]
[MeasurableSingletonClass G]
[AddCommGroup G]
(A B : Set G)
[hA : Finite ↑A]
[hB : Finite ↑B]
[Nonempty ↑A]
[Nonempty ↑B]
:
Ruzsa distance between sets is nonnegative.
theorem
ProbabilityTheory.setRuzsaDist_add_const
{G : Type u_1}
[Countable G]
[MeasurableSpace G]
[MeasurableSingletonClass G]
[AddCommGroup G]
(A B : Set G)
[hA : Finite ↑A]
[hB : Finite ↑B]
[Nonempty ↑A]
[Nonempty ↑B]
(c c' : G)
:
Ruzsa distance between sets is translation invariant.
theorem
ProbabilityTheory.setRuzsaDist_of_inj
{G : Type u_1}
[Countable G]
[MeasurableSpace G]
[MeasurableSingletonClass G]
[AddCommGroup G]
(A B : Set G)
[hA : Finite ↑A]
[hB : Finite ↑B]
[Nonempty ↑A]
[Nonempty ↑B]
{H : Type u_2}
[hH : MeasurableSpace H]
[MeasurableSingletonClass H]
[AddCommGroup H]
[Countable H]
{φ : G →+ H}
(hφ : Function.Injective ⇑φ)
:
Ruzsa distance between sets is preserved by injective homomorphisms.
theorem
ProbabilityTheory.setRuzsaDist_le
{G : Type u_1}
[Countable G]
[MeasurableSpace G]
[MeasurableSingletonClass G]
[AddCommGroup G]
(A B : Set G)
[h'A : Finite ↑A]
[h'B : Finite ↑B]
(hA : A.Nonempty)
(hB : B.Nonempty)
:
Ruzsa distance between sets is controlled by the doubling constant.