PFR/HundredPercent.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Polynomial Freiman-Ruzsa proof paper, arXiv v2
7 declarations, 0 contain sorry, 0 declared as axioms
The 100% version of entropic PFR
Here we show entropic PFR in the case of doubling constant zero.
Main results
exists_isUniform_of_rdist_eq_zero: If $d[X_1;X_2]=0$, then there exists a subgroup $H \leq G$ such that $d[X_1;U_H] = d[X_2;U_H] = 0$.
Imports (1)
Imported by 3 files
- def
symmGroupThe symmetry group Sym of $X$: the set of all $h ∈ G$ such that $X + h$ has an identical distribution to $X$ line 25 sourceSource documentation
The symmetry group Sym of $X$: the set of all $h ∈ G$ such that $X + h$ has an identical distribution to $X$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Measurable,AddSubgroupProof uses:
AddSubgroup.mk,AddSubmonoid.mk,AddSubsemigroup.mk,Set.ofPred,ProbabilityTheory.IdentDistrib,HAdd.hAdd,MeasureTheory.MeasureSpace.volume21 instances, coercions and auxiliary constants left out.
Tactic trace: 23 steps
Open to load the checked before-and-after goal states.
def symmGroup (X : Ω → G) (hX : Measurable X) : AddSubgroup G where …
- lemma
mem_symmGroupline 51 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Measurable,Iff,Membership.mem,AddSubgroup, symmGroup,ProbabilityTheory.IdentDistrib,HAdd.hAdd,MeasureTheory.MeasureSpace.volumeProof uses:
Iff.rfl17 instances, coercions and auxiliary constants left out.
- lemma
ProbabilityTheory.IdentDistrib.symmGroup_eqline 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Measurable,ProbabilityTheory.IdentDistrib,MeasureTheory.MeasureSpace.volume,Eq,AddSubgroup, symmGroupProof uses:
AddSubgroup.ext,HAdd.hAdd,MeasurableAdd.measurable_add_const,Iff.intro,Membership.mem,ProbabilityTheory.IdentDistrib.trans,ProbabilityTheory.IdentDistrib.symm,ProbabilityTheory.IdentDistrib.comp16 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
sub_mem_symmGroupIf $d[X ;X]=0$, and $x,y \in G$ are such that $P[X=x], P[X=y]>0$, then $x-y \in \mathrm{Sym}[X]$ line 65 sourceSource documentation
If $d[X ;X]=0$, and $x,y \in G$ are such that $P[X=x], P[X=y]>0$, then $x-y \in \mathrm{Sym}[X]$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Finite,MeasurableSingletonClass,MeasureTheory.IsProbabilityMeasure,MeasureTheory.MeasureSpace.volume,Measurable,Eq,Real, rdist,OfNat.ofNat,Ne,ENNReal,MeasureTheory.Measure,Set,Set.preimage,Singleton.singleton,Membership.memand 3 moreProof uses:
Exists,And,ProbabilityTheory.IndepFun,ProbabilityTheory.IdentDistrib, ProbabilityTheory.independent_copies_two,Eq.mpr,id,congrArg, ProbabilityTheory.IdentDistrib.symmGroup_eq,ProbabilityTheory.IdentDistrib.symm, ProbabilityTheory.condEntropy, ProbabilityTheory.entropy,Trans.trans,ProbabilityTheory.condEntropy_sub_right, ProbabilityTheory.IndepFun.condEntropy_eq_entropy, ProbabilityTheory.IdentDistrib.rdist_congr,Mathlib.Tactic.Linarith.eq_of_not_lt_of_not_gt,Not.intro,LT.lt,Mathlib.Tactic.Linarith.lt_irrefland 130 more145 instances, coercions and auxiliary constants left out.
Tactic trace: 52 steps
Open to load the checked before-and-after goal states.
lemma sub_mem_symmGroup (hX : Measurable X) (hdist : d[X # X] = 0) {x y : G} (hx : ℙ (X ⁻¹' {x}) ≠ 0) (hy : ℙ (X ⁻¹' {y}) ≠ 0) : x - y ∈ symmGroup X hX := by …Mentions: symmGroup
- lemma
isUniform_sub_const_of_rdist_eq_zeroIfd[X # X] = 0, thenX - x₀is the uniform distribution on the subgroup ofGstabilizing the distribution ofX, for anyx₀of positive probability line 117 sourceSource documentation
If
d[X # X] = 0, thenX - x₀is the uniform distribution on the subgroup ofGstabilizing the distribution ofX, for anyx₀of positive probability.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Finite,MeasurableSingletonClass,MeasureTheory.IsProbabilityMeasure,MeasureTheory.MeasureSpace.volume,Measurable,Eq,Real, rdist,OfNat.ofNat,Ne,ENNReal,MeasureTheory.Measure,Set,Set.preimage,Singleton.singleton, ProbabilityTheory.IsUniform and 3 moreProof uses:
ProbabilityTheory.IsUniform.mk,HAdd.hAdd,Set.ext,of_eq_true,Iff,Membership.mem,Eq.trans,True,congr,congrArg,iff_self,add_comm,eq_self,Eq.mpr,id,add_zero,congrFun',ProbabilityTheory.IdentDistrib,Neg.neg,Iff.mpand 17 more64 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
lemma isUniform_sub_const_of_rdist_eq_zero (hX : Measurable X) (hdist : d[X # X] = 0) {x₀ : G} (hx₀ : ℙ (X ⁻¹' {x₀}) ≠ 0) : IsUniform (symmGroup X hX) (fun ω ↦ X ω - x₀) where …Mentions: symmGroup
- theorem
exists_isUniform_of_rdist_self_eq_zeroIf $d[X ;X]=0$, then there exists a subgroup $H \leq G$ such that $d[X ;U_H] = 0$ line 142 sourceSource documentation
If $d[X ;X]=0$, then there exists a subgroup $H \leq G$ such that $d[X ;U_H] = 0$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Finite,MeasurableSingletonClass,MeasureTheory.IsProbabilityMeasure,MeasureTheory.MeasureSpace.volume,Measurable,Eq,Real, rdist,OfNat.ofNat,Exists,AddSubgroup,And, ProbabilityTheory.IsUniformProof uses:
Ne,ENNReal,MeasureTheory.Measure,Set,Set.preimage,Singleton.singleton,Classical.byContradiction,Not,MeasureTheory.Measure.map,Eq.mpr,id,congrArg,MeasureTheory.Measure.map_apply,MeasurableSet.of_discrete,Eq.mp,Eq.trans,binderNameHint,forall_congr,MeasureTheory.Measure.sum,HSMul.hSMuland 23 more64 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem exists_isUniform_of_rdist_self_eq_zero (hX : Measurable X) (hdist : d[X # X] = 0) : ∃ H : AddSubgroup G, ∃ U : Ω → G, Measurable U ∧ IsUniform H U ∧ d[X # U] = 0 := by … - theorem
exists_isUniform_of_rdist_eq_zeroIf $d[X_1;X_2]=0$, then there exists a subgroup $H \leq G$ such that $d[X_1;U_H] = d[X_2;U_H] = 0$ line 160 sourceSource documentation
If $d[X_1;X_2]=0$, then there exists a subgroup $H \leq G$ such that $d[X_1;U_H] = d[X_2;U_H] = 0$. Follows from the preceding claim by the triangle inequality.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasureTheory.MeasureSpace,MeasurableSpace,AddCommGroup,MeasurableAdd₂,Finite,MeasurableSingletonClass,MeasureTheory.IsProbabilityMeasure,MeasureTheory.MeasureSpace.volume,Measurable,Eq,Real, rdist,OfNat.ofNat,Exists,AddSubgroup,And, ProbabilityTheory.IsUniformProof uses:
le_antisymm,Trans.trans,LE.le,HAdd.hAdd, rdist_triangle,Eq.mpr,id,congrArg, rdist_symm,zero_add,Eq.refl, rdist_nonneg, exists_isUniform_of_rdist_self_eq_zero,Exists.intro,And.intro36 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
theorem exists_isUniform_of_rdist_eq_zero {Ω' : Type*} [MeasureSpace Ω'] [IsProbabilityMeasure (ℙ : Measure Ω')] {X' : Ω' → G} (hX : Measurable X) (hX' : Measurable X') (hdist : d[X # X'] = 0) : ∃ H : AddSubgroup G, ∃ U : Ω → G, Measurable U ∧ IsUniform H U ∧ d[X # U] = 0 ∧ d[X' # U] = 0 := by …