All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Fix First Variables Of MQP degree Var LE

MvPolynomial.fixFirstVariablesOfMQP_degreeVarLE

Project documentation

The per-variable / prismalinear degree-survival lemma: if a polynomial respects a per-variable degree bound b : Fin ℓ → ℕ, then fixing the first v variables to scalars produces a polynomial whose surviving Fin (ℓ-v) variables respect b restricted to their original suffix indices. Needed for SWIRL-style sumchecks where the multiplier has degree `|D...

Exact Lean statement

theorem fixFirstVariablesOfMQP_degreeVarLE
    {b : Fin ℓ → ℕ} (v : Fin (ℓ + 1)) {challenges : Fin v → L}
    {poly : MvPolynomial (Fin ℓ) L}
    (hp : poly ∈ restrictDegreeVar (Fin ℓ) L b) :
    fixFirstVariablesOfMQP ℓ v poly challenges ∈
      restrictDegreeVar (Fin (ℓ - v)) L (b ∘ fixFirstVariablesOfMQP_survivingIndex ℓ v)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem fixFirstVariablesOfMQP_degreeVarLE    {b : Fin } (v : Fin (ℓ + 1)) {challenges : Fin v  L}    {poly : MvPolynomial (Fin ℓ) L}    (hp : poly  restrictDegreeVar (Fin ℓ) L b) :    fixFirstVariablesOfMQP ℓ v poly challenges       restrictDegreeVar (Fin (ℓ - v)) L (b ∘ fixFirstVariablesOfMQP_survivingIndex ℓ v) := by  rw [MvPolynomial.mem_restrictDegreeVar]  unfold fixFirstVariablesOfMQP  dsimp only  intro term h_term_in_support i  have h_l_eq : ℓ = v + (ℓ - v) := (Nat.add_sub_of_le v.is_le).symm  set finEquiv := (finSumFinEquiv (m := v) (n :=- v)).symm.trans (Equiv.sumComm _ _)  set e : Fin ℓ ≃ Fin (ℓ - v) ⊕ Fin v := (finCongr h_l_eq).trans finEquiv with he  set H_sum := MvPolynomial.rename (f := e) poly  set H_grouped : L[X Fin ↑v][X Fin (ℓ - ↑v)] := (sumAlgEquiv L (Fin (ℓ - v)) (Fin v)) H_sum  set eval_map : L[X Fin ↑v] →+* L := (eval challenges : MvPolynomial (Fin v) L →+* L)  have h_Hgrouped_degreeVarLE :      H_grouped  restrictDegreeVar (Fin (ℓ - v)) (L[X Fin ↑v]) ((b ∘ e.symm) ∘ Sum.inl) :=    sumAlgEquiv_mem_restrictDegreeVar H_sum      (rename_equiv_mem_restrictDegreeVar e poly hp)  have h_term_in_Hgrouped_support : term  H_grouped.support :=    MvPolynomial.support_map_subset _ _ h_term_in_support  have h_bound : term i  (b ∘ e.symm) (Sum.inl i) :=    (MvPolynomial.mem_restrictDegreeVar H_grouped).mp h_Hgrouped_degreeVarLE      term h_term_in_Hgrouped_support i  -- Bound-equality: (b ∘ e.symm) (Sum.inl i) is the original suffix variable `v + i`.  have h_eq : e.symm (Sum.inl i) = fixFirstVariablesOfMQP_survivingIndex ℓ v i := by    apply Fin.ext    simp [he, finEquiv, fixFirstVariablesOfMQP_survivingIndex]  change term i  b (fixFirstVariablesOfMQP_survivingIndex ℓ v i)  rw [ h_eq]  exact h_bound
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/MvPolynomial/RestrictDegree.lean:60-91

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