All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Folding polynomial eq sum split Nth

Polynomial.folding_polynomial_eq_sum_splitNth

Plain-language statement

foldingPolynomial in terms of splitNth when q = X ^ n.

Exact Lean statement

@[simp low]
lemma folding_polynomial_eq_sum_splitNth {𝔽 : Type} [Field 𝔽]
  {f : Polynomial 𝔽} {n : ℕ}
  [inst : NeZero n] :
  FoldingPolynomial.foldingPolynomial (X ^ n) f =
    ∑ i, C (splitNth f n i) * (X ^ i.val)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
@[simp low]lemma folding_polynomial_eq_sum_splitNth {𝔽 : Type} [Field 𝔽]  {f : Polynomial 𝔽} {n : }  [inst : NeZero n] :  FoldingPolynomial.foldingPolynomial (X ^ n) f =    ∑ i, C (splitNth f n i) * (X ^ i.val) := by  symm  apply FoldingPolynomial.folding_polynomial_is_unique'  · conv =>      rhs      rw [splitNth_def (f := f) (inst := inst)]    rw [      Polynomial.map_sum,      Polynomial.eval_finsetSum]    simp only [Polynomial.map_mul, map_C, coe_compRingHom, Polynomial.map_pow, map_X,    eval_mul, eval_C, eval_pow, eval_X]    simp only [comp]    conv =>      lhs      rhs      ext x      rw [mul_comm]      rfl  · simp only [Bivariate.degreeX, finsetSum_coeff, coeff_C_mul, coeff_X_pow, mul_ite, mul_one,    mul_zero, natDegree_pow, natDegree_X]    simp only [Finset.sup_le_iff, mem_support_iff, finsetSum_coeff, coeff_C_mul, coeff_X_pow,    mul_ite, mul_one, mul_zero, ne_eq]    intro b hb    apply natDegree_sum_le_of_forall_le    rintro i, hi _    by_cases heq: b = i    · simp only [heq, ↓reduceIte]      exact splitNth_degree_le    · simp [heq]  · simp only [Bivariate.natDegreeY, natDegree_pow, natDegree_X, mul_one]    apply Nat.lt_of_le_pred (by {      apply Nat.zero_lt_of_ne_zero      aesop    })    apply Polynomial.natDegree_sum_le_of_forall_le    intro i _    apply Nat.le_trans Polynomial.natDegree_mul_le    rcases i with i, hi    simp    omega
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/Polynomial/SplitFold.lean:238-282

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