All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Sum Alg Equiv mem restrict Degree Var

MvPolynomial.sumAlgEquiv_mem_restrictDegreeVar

Plain-language statement

Currying via sumAlgEquiv preserves the per-variable bound on the outer (S₁) coordinates restricted to Sum.inl.

Exact Lean statement

lemma sumAlgEquiv_mem_restrictDegreeVar {R : Type*} [CommSemiring R]
    {S₁ S₂ : Type*} (p : MvPolynomial (S₁ ⊕ S₂) R) {b : S₁ ⊕ S₂ → ℕ}
    (hp : p ∈ restrictDegreeVar (S₁ ⊕ S₂) R b) :
    (MvPolynomial.sumAlgEquiv R S₁ S₂) p ∈
      restrictDegreeVar S₁ (MvPolynomial S₂ R) (b ∘ Sum.inl)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma sumAlgEquiv_mem_restrictDegreeVar {R : Type*} [CommSemiring R]    {S₁ S₂ : Type*} (p : MvPolynomial (S₁ ⊕ S₂) R) {b : S₁ ⊕ S₂  }    (hp : p  restrictDegreeVar (S₁ ⊕ S₂) R b) :    (MvPolynomial.sumAlgEquiv R S₁ S₂) p       restrictDegreeVar S₁ (MvPolynomial S₂ R) (b ∘ Sum.inl) := by  intro s hs  obtain m, hm, hs_eq :  m : (S₁ ⊕ S₂) ,      m  p.support  s = m.comapDomain Sum.inl Sum.inl_injective.injOn := by    have h_sum : (MvPolynomial.sumAlgEquiv R S₁ S₂) p =        ∑ m  p.support,          (MvPolynomial.monomial (m.comapDomain Sum.inl Sum.inl_injective.injOn))            (MvPolynomial.monomial (m.comapDomain Sum.inr Sum.inr_injective.injOn)              (p.coeff m)) := by      conv_lhs => rw [p.as_sum]      rw [map_sum]      exact Finset.sum_congr rfl fun _ _ => sumToIter_monomial_aux _ _    contrapose! hs    simp only [h_sum, SetLike.mem_coe, Finsupp.mem_support_iff, ne_eq, not_not]    erw [Finsupp.finsetSum_apply]    refine Finset.sum_eq_zero fun x hx => ?_    erw [AddMonoidAlgebra.lsingle_apply, AddMonoidAlgebra.lsingle_apply]; aesop  intro i  subst hs_eq  rw [Finsupp.comapDomain_apply]  exact hp hm (Sum.inl i)
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/MvPolynomial/RestrictDegreeVar.lean:131-155

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