All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Card block of mem subdomain

Domain.CosetFftDomainClass.card_block_of_mem_subdomain

Plain-language statement

If x lies in the (i + j)th subdomain, then it has exactly 2 ^ j preimages under y ↦ y ^ 2 ^ j from the ith subdomain.

Exact Lean statement

lemma card_block_of_mem_subdomain [DecidableEq F]
  {i j : ℕ} (hij : i + j ≤ n) (h : x ∈ subdomain ω (i + j)) :
  Finset.card (block (subdomain ω i) j x) = 2 ^ j

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma card_block_of_mem_subdomain [DecidableEq F]  {i j : } (hij : i + j  n) (h : x  subdomain ω (i + j)) :  Finset.card (block (subdomain ω i) j x) = 2 ^ j := by  have hinj : Function.Injective (subdomain ω i) := CosetFftDomainClass.injective _  unfold block  obtain m, hm := h  have hinj2 : Function.Injective (subdomain ω (i + j)) := CosetFftDomainClass.injective _  have hfilter_eq : (Finset.univ.filter (fun k : Fin (2 ^ (n - i)) =>      ((subdomain ω i) k) ^ 2 ^ j = x)) =        Finset.univ.filter (fun k : Fin (2 ^ (n - i)) =>        k.val % 2 ^ (n - (i + j)) = m.val) := by    ext k    simp only [Finset.mem_filter, Finset.mem_univ, true_and]    rw [subdomain_eval_pow' hij k,  hm]    constructor    · intro heq      have := hinj2 heq      simp only [Fin.ext_iff] at this      exact this    · intro heq      congr 1      exact Fin.ext heq  have :    {y  toFinset (subdomain ω i) | y ^ 2 ^ j = x} =      Finset.image (subdomain ω i) (Finset.univ.filter (fun k : Fin (2 ^ (n - i)) =>      ((subdomain ω i) k) ^ 2 ^ j = x)) := by    ext u    simp    aesop (add simp [mem_def])  rw [this, Finset.card_image_of_injective _ hinj, hfilter_eq]  simp only [show n - (i + j) = n - i - j from by omega]  have hsub : n - (i + j) = n - i - j := by omega  exact card_fin_filter_mod_eq (by omega) m.val (hsub ▸ m.isLt)
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/Domain/CosetFftDomain/Subdomain.lean:385-417

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.31.0

Affine gaps lifted to interleaved codes

affine_gaps_lifted_to_interleaved_codes

Project documentation

This lemma proves the final algebraic step in the DG25 Theorem 3.1 proof. It shows that if R > e + 1, then e * (R / (R - 1)) < e + 1. The intuition is that the fraction R / (R - 1) is always greater than 1, but as R gets larger, it gets closer to 1. The hypothesis R > e + 1 provides a strong enough bound to ensure the product e * (fraction) do...

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose coeff

ArkLib.Lattices.Ajtai.gadgetDecompose_coeff

Plain-language statement

The k-th coefficient (k < deg φ) of a gadget-decomposition block is exactly the corresponding digit of the corresponding input coefficient.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose lawful

ArkLib.Lattices.Ajtai.gadgetDecompose_lawful

Plain-language statement

The base-b gadget decomposition is a lawful gadget decomposition.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record