All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@79d0395a1825

Torsion PFR

torsion_PFR

Project documentation

Polynomial Freiman-Ruzsa theorem for bounded-torsion groups. Let GG be a finite abelian group in which mx=0mx=0 for every xx, with m2m\ge2. If AGA\subseteq G is nonempty and A+AKA|A+A|\le K|A|, then there are a subgroup HGH\le G and a set cc such that Ac+HA\subseteq c+H, HA|H|\le|A|, and c<mK256m3+1|c|<mK^{256m^3+1}.

Exact Lean statement

theorem torsion_PFR {G : Type*} [AddCommGroup G] [Finite G] {m : ℕ} (hm : m ≥ 2)
     (htorsion : ∀ x:G, m • x = 0) {A : Set G} [Finite A] {K : ℝ} (h₀A : A.Nonempty)
     (hA : Nat.card (A + A) ≤ K * A.ncard) :
     ∃ (H : AddSubgroup G) (c : Set G),
      Nat.card c < m * K ^ (256*m^3+1) ∧ (H : Set G).ncard ≤ A.ncard ∧ A ⊆ c + H

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem torsion_PFR {G : Type*} [AddCommGroup G] [Finite G] {m : } (hm : m  2)     (htorsion :  x:G, m • x = 0) {A : Set G} [Finite A] {K : } (h₀A : A.Nonempty)     (hA : Nat.card (A + A)  K * A.ncard) :      (H : AddSubgroup G) (c : Set G),      Nat.card c < m * K ^ (256*m^3+1)  (H : Set G).ncard  A.ncard  A  c + H := by  obtain A_pos, -, K_pos : (0 : ) < A.ncard  (0 : ) < Nat.card (A + A)  0 < K :=    PFR_conjecture_pos_aux' ‹_› h₀A hA   -- consider the subgroup `H` given by Lemma `torsion_PFR_conjecture_aux`.  obtain H, c, hc, IHA, IAH, A_subs_cH :  (H : AddSubgroup G) (c : Set G),    Nat.card c  K ^ (128 * m^3+1) * A.ncard ^ (1/2:) * (H : Set G).ncard ^ (-1/2:)       (H : Set G).ncard  K ^ (256*m^3) * A.ncard  A.ncard  K ^ (256*m^3) * (H : Set G).ncard       A  c + H :=    torsion_PFR_conjecture_aux hm htorsion h₀A hA  have H_pos : (0 : ) < (H : Set G).ncard := by    have : 0 < (H : Set G).ncard := Nat.card_pos; positivity  rcases le_or_gt ((H : Set G).ncard) (A.ncard) with h|h  -- If `#H ≤ #A`, then `H` satisfies the conclusion of the theorem  · refine H, c, ?_, h, A_subs_cH    calc    Nat.card c  K ^ ((128*m^3+1)) * A.ncard ^ (1/2:) * (H : Set G).ncard ^ (-1/2:) := hc    _  K ^ (128 * m ^ 3 + 1) * (K ^ (256 * m ^ 3) * (H : Set G).ncard) ^ (1/2 : ) *          (H : Set G).ncard ^ (-1/2:) := by gcongr    _ = K ^ (256*m^3+1) := by      rpow_ring; norm_num      simp_rw [Real.rpow_natCast]      rw [Real.rpow_mul (by positivity), Real.rpow_add (by positivity)]      congr; push_cast; ring    _ < m * K ^ (256*m^3+1) := by      apply (lt_mul_iff_one_lt_left _).mpr      · norm_num; linarith [hm]      positivity  -- otherwise, we decompose `H` into cosets of one of its subgroups `H'`, chosen so that  -- `#A / m < #H' ≤ #A`. This `H'` satisfies the desired conclusion.  · obtain H', IH'A, IAH', H'H :  H' : AddSubgroup G, (H' : Set G).ncard  A.ncard           A.ncard < m * (H' : Set G).ncard  H'  H := by      have A_pos' : 0 < A.ncard := mod_cast A_pos      exact torsion_exists_subgroup_subset_card_le hm htorsion H h.le A_pos'.ne'    have : (A.ncard / m : ) < (H' : Set G).ncard := by      rw [div_lt_iff₀, mul_comm]      · norm_cast      norm_cast; exact Nat.zero_lt_of_lt hm    have H'_pos : (0 : ) < (H' : Set G).ncard := by      have : 0 < (H' : Set G).ncard := Nat.card_pos; positivity    obtain u, HH'u, hu := AddSubgroup.exists_left_transversal_of_le H'H    refine H', c + u, ?_, IH'A, by rwa [add_assoc, HH'u]    calc    (Nat.card (c + u) : )       Nat.card c * Nat.card u := mod_cast Set.natCard_add_le    _  (K ^ ((128*m^3+1)) * A.ncard ^ (1 / 2:) * ((H : Set G).ncard ^ (-1 / 2:)))          * ((H : Set G).ncard / (H' : Set G).ncard) := by        gcongr        apply le_of_eq        rw [eq_div_iff H'_pos.ne']        norm_cast    _ < (K ^ ((128*m^3+1)) * A.ncard ^ (1 / 2:) * ((H : Set G).ncard ^ (-1 / 2:)))          * ((H : Set G).ncard / (A.ncard / m)) := by        gcongr    _ = (K ^ ((128*m^3+1)) * A.ncard ^ (1 / 2:) * ((H : Set G).ncard ^ (-1 / 2:)))          * ((H : Set G).ncard * (A.ncard : )⁻¹ * m) := by        field_simp    _ = m * K ^ ((128*m^3+1)) * A.ncard ^ (-1/2:) * (H : Set G).ncard ^ (1/2:) := by        rpow_ring        field_simp        norm_num    _  m * K ^ ((128*m^3+1)) * A.ncard ^ (-1/2:) * (K ^ (256*m^3) * A.ncard) ^ (1/2:) := by        gcongr    _ = m * K ^ (256*m^3+1) := by        rpow_ring        norm_num        left        simp_rw [Real.rpow_natCast]        rw [Real.rpow_mul (by positivity), Real.rpow_add (by positivity)]        congr; push_cast; ring
Project
Polynomial Freiman-Ruzsa project
License
Apache-2.0
Commit
a177b2e4abe4
Source
PFR/TorsionEndgame.lean:962-1034

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.33.0-rc1

Approx hom pfr

approx_hom_pfr

Project documentation

An approximate-homomorphism theorem for finite elementary abelian 22-groups. Let f:GGf:G\to G' and K>0K>0. If at least a proportion K1K^{-1} of pairs (x,y)G2(x,y)\in G^2 satisfy f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y), then there are an additive homomorphism φ:GG\varphi:G\to G' and a constant cGc\in G' such that f(x)=φ(x)+cf(x)=\varphi(x)+c for at least G/(2144K122)|G|/(2^{144}K^{122}) values of xx.

additive combinatoricsentropyprobability

Source project: Polynomial Freiman-Ruzsa project

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

Better PFR conjecture

better_PFR_conjecture

Plain-language statement

If AF2nA \subset {\bf F}_2^n is finite non-empty with A+AKA|A+A| \leq K|A|, then there exists a subgroup HH of F2n{\bf F}_2^n with HA|H| \leq |A| such that AA can be covered by at most 2K92K^9 translates of HH.

additive combinatoricsentropyprobability

Source project: Polynomial Freiman-Ruzsa project

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

Better PFR conjecture

better_PFR_conjecture'

Project documentation

Polynomial Freiman-Ruzsa theorem with exponent 99, without a finite ambient-group assumption. Let AA be a nonempty finite subset of an elementary abelian 22-group. If A+AKA|A+A|\le K|A|, then there are a finite subspace HH and a finite set cc such that Ac+HA\subseteq c+H, c<2K9|c|<2K^9, and HA|H|\le|A|.

additive combinatoricsentropyprobability

Source project: Polynomial Freiman-Ruzsa project

Person-level attribution pending.

View proof record