All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Joint Agreement implies lin Span proximity

ProximityGap.jointAgreement_implies_linSpan_proximity

Plain-language statement

Generalisation of jointAgreement_implies_second_proximity to an arbitrary word stack over a submodule code. If a stack W : Fin k → ι → F jointly agrees with a submodule C ⊆ ι → F, then every element of the linear span of the stack is δ-close to C. The pointwise case W i ∈ C is the special case x = W i (choose coefficients c to be the i-th...

Exact Lean statement

theorem jointAgreement_implies_linSpan_proximity {ι : Type} [Fintype ι] [Nonempty ι]
    {F : Type} [Field F] [DecidableEq F] {k : ℕ}
    (C : Submodule F (ι → F)) {δ : ℝ≥0} {W : Fin k → ι → F}
    (h : jointAgreement (C := (C : Set (ι → F))) (δ := δ) (W := W)) :
    ∀ x ∈ Submodule.span F (Set.range W), δᵣ(x, (C : Set (ι → F))) ≤ δ

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem jointAgreement_implies_linSpan_proximity {ι : Type} [Fintype ι] [Nonempty ι]    {F : Type} [Field F] [DecidableEq F] {k : }    (C : Submodule F (ι  F)) {δ : 0} {W : Fin k  ι  F}    (h : jointAgreement (C := (C : Set F))) (δ := δ) (W := W)) :     x  Submodule.span F (Set.range W), δᵣ(x, (C : Set F)))  δ := by  rcases h with S, hS_card, v, hv  intro x hx  rw [Submodule.mem_span_range_iff_exists_fun] at hx  rcases hx with c, rfl  set v' : ι  F := ∑ i : Fin k, c i • v i with hv'_def  have hv'_mem : v'  C := by    refine Submodule.sum_mem C (fun i _ => ?_)    exact Submodule.smul_mem C (c i) (hv i).1  have hagree :  j  S, (∑ i, c i • v i) j = (∑ i, c i • W i) j := by    intro j hj    simp only [Finset.sum_apply, Pi.smul_apply]    refine Finset.sum_congr rfl (fun i _ => ?_)    have h_j_in_filter : j  Finset.filter (fun j => v i j = W i j) Finset.univ :=      (hv i).2 hj    have : v i j = W i j := by simpa [Finset.mem_filter] using h_j_in_filter    rw [this]  have hdist : δᵣ(∑ i, c i • W i, v')  δ := by    rw [Code.relCloseToWord_iff_exists_agreementCols      (u := ∑ i, c i • W i) (v := v') (δ := δ)]    refine S, ?_, ?_    · have hS' : (1 - δ) * (Fintype.card ι : 0)  (S.card : 0) := by        simpa [ge_iff_le, mul_comm, mul_left_comm, mul_assoc] using hS_card      exact (Code.relDist_floor_bound_iff_complement_bound (n := Fintype.card ι)        (upperBound := S.card) (δ := δ)).2 hS'    · intro j      constructor      · intro hj        exact (hagree j hj).symm      · intro hj_ne hj        exact hj_ne (hagree j hj).symm  exact    (Code.relCloseToCode_iff_relCloseToCodeword_of_minDist      (u := ∑ i, c i • W i) (C := (C : Set F))) (δ := δ)).2      v', hv'_mem, hdist
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/CodingTheory/ProximityGap/BCIKS20/AffineSpaces.lean:92-130

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