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

Card of slice

card_of_slice

Plain-language statement

For every set AA in the ambient finite F2\mathbb F_2-vector space, some linear functional φ:GF2\varphi:G\to\mathbb F_2 has at least (A1)/2(|A|-1)/2 elements of AA in its 11-fiber.

Exact Lean statement

theorem card_of_slice [Finite G] (A : Set G) :
    ∃ φ : G →+ ZMod 2, 2*Nat.card { x | x ∈ A ∧ φ x = 1 } ≥ (Nat.card A-1)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem card_of_slice [Finite G] (A : Set G) :     φ : G →+ ZMod 2, 2*Nat.card { x | x  A  φ x = 1 }  (Nat.card A-1) := by  cases nonempty_fintype G  classical  have _ : Fintype (G →+ ZMod 2) := Fintype.ofEquiv G dual_iso.toEquiv  have h1 := calc        2 * ∑ φ : G →+ ZMod 2, Nat.card {x | x  A  φ x = 1}    _ = 2 * ∑ φ : G →+ ZMod 2, ∑ x  A, if φ x = 1 then 1 else 0 := by simp [Fintype.subtype_card]    _ = 2 * ∑ x  A, Nat.card {φ : G →+ ZMod 2 | φ x = 1} := by      rw [Finset.sum_comm]; simp [Fintype.subtype_card]    _  2 * ∑ x  A.toFinset.erase 0, Nat.card {φ : G →+ ZMod 2 | φ x = 1} := by      by_cases h : 0  A      · rw [ Finset.sum_erase_add (s := A.toFinset) (a := 0)]        · simp        simp [h]      apply le_of_eq      congr      apply Finset.erase_eq_of_notMem      simp [h]    _ = ∑ x  (A.toFinset.erase 0), Nat.card G := by      rw [Finset.mul_sum]      congr! with x hx      simp only [mem_erase, ne_eq, Set.mem_toFinset] at hx      exact card_of_dual_constrained x hx.1    _  (Nat.card A-1) * (Nat.card G) := by      simp only [sum_const, smul_eq_mul, ge_iff_le, Nat.card_eq_card_toFinset]      gcongr      exact Finset.pred_card_le_card_erase    _ = Nat.card G * (Nat.card A-1)  := by ring  by_contra! h2  replace h2 :      2*∑ φ : G →+ ZMod 2, Nat.card {x | x  A  φ x = 1} < ∑ φ : G →+ ZMod 2, (Nat.card A-1) := by    rw [Finset.mul_sum]    apply Finset.sum_lt_sum_of_nonempty    · simp    intro φ _; exact h2 φ  simp only [sum_const, card_univ, smul_eq_mul,Nat.card_eq_fintype_card,card_of_dual] at h2  order
Project
Polynomial Freiman-Ruzsa project
License
Apache-2.0
Commit
a177b2e4abe4
Source
PFR/ApproxHomPFR.lean:248-285

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