All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Root Multiplicity le of coeff ne zero

GuruswamiSudan.rootMultiplicity_le_of_coeff_ne_zero

Plain-language statement

If the (s, t)-coefficient of shift Q x y is non-zero, then the root multiplicity of Q at (x, y) is at most s + t.

Exact Lean statement

lemma rootMultiplicity_le_of_coeff_ne_zero [DecidableEq F] {Q : F[X][Y]} {x y : F} {s t : ℕ}
    (h : Bivariate.coeff (shift Q x y) s t ≠ 0) :
    rootMultiplicity Q x y ≤ (s + t : WithTop ℕ)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma rootMultiplicity_le_of_coeff_ne_zero [DecidableEq F] {Q : F[X][Y]} {x y : F} {s t : }    (h : Bivariate.coeff (shift Q x y) s t  0) :    rootMultiplicity Q x y  (s + t : WithTop ) := by      set g : F[X][Y] := shift Q x y;      have h_rootMultiplicity : Polynomial.Bivariate.rootMultiplicity Q x y =          List.min? (List.filterMap (fun p             if Bivariate.coeff g p.1 p.2 = 0 then none            else some (p.1 + p.2)) (List.product (List.range              (natWeightedDegree g 1 1 + 1)) (List.range (natWeightedDegree g 1 1 + 1)))) := by        rw [Bivariate.rootMultiplicity, Bivariate.rootMultiplicity₀,          Bivariate.weightedDegree_eq_natWeightedDegree]      obtain p, hp :  p  List.product (List.range (natWeightedDegree g 1 1 + 1))          (List.range (natWeightedDegree g 1 1 + 1)), p.1 + p.2 = s + t             Bivariate.coeff g p.1 p.2  0 := by        use (s, t);        have h_deg : s + t  Bivariate.natWeightedDegree g 1 1 := by          refine Finset.le_sup (f := fun m  1 * ((g.coeff m).natDegree ) + 1 * m)              (Finset.mem_coe.mpr <| Polynomial.mem_support_iff.mpr <|                show g.coeff t  0 from ?_) |> le_trans ?_          · simp +zetaDelta only [ne_eq, one_mul, add_le_add_iff_right] at *            exact le_natDegree_of_ne_zero h          · exact fun h' => h <| by rw [Polynomial.Bivariate.coeff]; aesop        exact List.mem_product.mpr List.mem_range.mpr (by linarith),          List.mem_range.mpr (by linarith), rfl, h      have h_min_le :  {l : List } {m : }, m  l  (List.min? l).getD 0  m := by        exact fun {l} {m} a  List.min?_getD_le_of_mem a      convert h_min_le _      any_goals exact List.filterMap (fun p  if Bivariate.coeff g p.1 p.2 = 0        then Option.none else Option.some (p.1 + p.2)) (List.product (List.range          (natWeightedDegree g 1 1 + 1)) (List.range (natWeightedDegree g 1 1 + 1 )))      rotate_left      · exact p.1 + p.2      · rw [List.mem_filterMap]; aesop      · cases h : List.min? (List.filterMap (fun p  if Bivariate.coeff g p.1 p.2 = 0          then Option.none else Option.some (p.1 + p.2)) (List.product (List.range            (natWeightedDegree g 1 1 + 1)) (List.range (natWeightedDegree g 1 1 + 1)))) <;> aesop
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/CodingTheory/GuruswamiSudan/Basic.lean:602-637

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