Skip to main content
All packages

teorth/PFR

PFR

Repository for formalization of the Polynomial Freiman Ruzsa conjecture (and related results)

Therefore indexed 350 complete source declarations from the exact package revision. Individual authorship and independent verification remain unset.

Research project222 GitHub starsApache-2.023 indexed versionsRepositoryFull history on Reservoir
mathadditive-combinatoricsinformation-theory

Head version

v4.33.0-rc1

a177b2e4abe4b31c8024b9afebe646bf6bb8f91b

Toolchain
leanprover/lean4:v4.33.0-rc1
Revision date
16 Jul 2026
Dependencies
11
Versions
23

External build observation

Exact head commit and toolchain

Reservoir recorded build status passed and test status not observed for commit a177b2e4abe4 with leanprover/lean4:v4.33.0-rc1 on 20 Jul 2026. Therefore did not run this build.

Pin this source in lakefile.lean

require PFR from git "https://github.com/teorth/pfr.git" @ "a177b2e4abe4b31c8024b9afebe646bf6bb8f91b"

Source declarations

350 indexed proofs

Package history

Showing 341 to 350 of 350 declarations.

lemma

PFR_projection'

If G=F2dG=\mathbb{F}_2^d and X, Y are G-valued random variables and α<1\alpha < 1 then there is a subgroup HF2dH\leq \mathbb{F}_2^d such that [\log \lvert H\rvert \leq (1 + α) / (2 * (1 - α)) * (\mathbb{H}(X)+\mathbb{H}(Y))] and if ψ:GG/H\psi:G \to G/H is the natural projection then [\mathbb{H}(\psi(X))+\mathbb{H}(\psi(Y))\leq 20/\alpha * d[\psi(X);\psi(Y)].]

PFR.WeakPFR · PFR/WeakPFR.lean:300

lemma

PFR_projection

If G=F2dG=\mathbb{F}_2^d and X, Y are G-valued random variables then there is a subgroup HF2dH\leq \mathbb{F}_2^d such that [\log \lvert H\rvert \leq 2 * (\mathbb{H}(X)+\mathbb{H}(Y))] and if ψ:GG/H\psi:G \to G/H is the natural projection then [\mathbb{H}(\psi(X))+\mathbb{H}(\psi(Y))\leq 34 * d[\psi(X);\psi(Y)].]

PFR.WeakPFR · PFR/WeakPFR.lean:389

lemma

sum_prob_preimage

Open the record for the exact Lean statement and complete source.

PFR.WeakPFR · PFR/WeakPFR.lean:409

lemma

single_fibres

Let ϕ:GH\phi : G\to H be a homomorphism and A,BGA,B\subseteq G be finite subsets. If x,yHx,y\in H then let Ax=Aϕ1(x)A_x=A\cap \phi^{-1}(x) and By=Bϕ1(y)B_y=B\cap \phi^{-1}(y). There exist x,yHx,y\in H such that Ax,ByA_x,B_y are both non-empty and [d[\phi(U_A);\phi(U_B)]\log \frac{\lvert A\rvert\lvert B\rvert}{\lvert A_x\rvert\lvert B_y\rvert} \leq (\mathbb{H}(\phi(U_A))+\mathbb{H}(\phi(U_B)))(d(U_A,U_B)-d(U_{A_x},U_{B_y}).]

PFR.WeakPFR · PFR/WeakPFR.lean:431

lemma

weak_PFR_asymm_prelim

Given two non-empty finite subsets A, B of a rank n free Z-module G, there exists a subgroup N and points x, y in G/N such that the fibers Ax, By of A, B over x, y respectively are non-empty, one has the inequality logABAxBy34(d[UA;UB]d[UAx;UBy])\log\frac{|A| |B|}{|A_x| |B_y|} ≤ 34 (d[U_A; U_B] - d[U_{A_x}; U_{B_y}]) and one has the dimension bound nlog2logG/N+40d[UA;UB]n \log 2 ≤ \log |G/N| + 40 d[U_A; U_B].

PFR.WeakPFR · PFR/WeakPFR.lean:631

lemma

dimension_of_shift

In fact one has equality here, but this is trickier to prove and not needed for the argument.

PFR.WeakPFR · PFR/WeakPFR.lean:802

lemma

conclusion_transfers

Open the record for the exact Lean statement and complete source.

PFR.WeakPFR · PFR/WeakPFR.lean:820

lemma

weak_PFR_asymm

If A,BZdA,B\subseteq \mathbb{Z}^d are finite non-empty sets then there exist non-empty AAA'\subseteq A and BBB'\subseteq B such that [\log\frac{\lvert A\rvert\lvert B\rvert}{\lvert A'\rvert\lvert B'\rvert}\leq 34 d[U_A;U_B]] such that max(dimA,dimB)40log2d[UA;UB]\max(\dim A',\dim B')\leq \frac{40}{\log 2} d[U_A;U_B].

PFR.WeakPFR · PFR/WeakPFR.lean:869

lemma

weak_PFR

If AZdA\subseteq \mathbb{Z}^d is a finite non-empty set with d[UA;UA]logKd[U_A;U_A]\leq \log K then there exists a non-empty AAA'\subseteq A such that AK17A\lvert A'\rvert\geq K^{-17}\lvert A\rvert and dimA40log2logK\dim A'\leq \frac{40}{\log 2} \log K.

PFR.WeakPFR · PFR/WeakPFR.lean:988

theorem

weak_PFR_int

Let AZdA\subseteq \mathbb{Z}^d and AAKA\lvert A-A\rvert\leq K\lvert A\rvert. There exists AAA'\subseteq A such that AK17A\lvert A'\rvert \geq K^{-17}\lvert A\rvert and dimA40log2logK\dim A' \leq \frac{40}{\log 2} \log K.

PFR.WeakPFR · PFR/WeakPFR.lean:1036

Static source extraction only. Package code was not executed. Every result keeps its complete declaration, exact file and line range, commit, toolchain, license file, and content hash.