All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Dist row le dist To Interleaved Code

dist_row_le_dist_ToInterleavedCode

Plain-language statement

Helper Lemma relating row distance to interleaved distance (as derived from DG25): d((Uᵣ)ᵢ, C) ≤ d^m(Uᵣ, C^m)

Exact Lean statement

lemma dist_row_le_dist_ToInterleavedCode (U : InterleavedWord A (Fin m) ι) :
    ∀ (rowIdx : Fin m), Δ₀((getRow U rowIdx), C) ≤ Δ₀(U, C ^⋈ (Fin m))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma dist_row_le_dist_ToInterleavedCode (U : InterleavedWord A (Fin m) ι) :     (rowIdx : Fin m), Δ₀((getRow U rowIdx), C)  Δ₀(U, C ^⋈ (Fin m)) := by  intro i  let d_To_interleaved := Code.distFromCode (u := U) (C := C ^⋈ (Fin m))  -- There exists M achieving this distance e_int  have h_exists :  M  C ^⋈ (Fin m), Δ₀(U, M) = d_To_interleaved :=    @Code.exists_closest_codeword_of_Nonempty_Code _ _ _ _      (C ^⋈ (Fin m)) (instNonemptyInterleavedCode (κ := Fin m) (C := C)) U  rcases h_exists with M, hM_mem, hM_dist  let Uᵢ := getRow U i  let iM : InterleavedCodeword (A := A) (κ := Fin m) (ι := ι) (C := C):= M, hM_mem  let Mᵢ : C := getRow iM i  -- InterleavedCodeword.getRowCodeword (A := A) (κ := Fin m) (ι := ι) (C := C) (v := iM) i  -- We know d(Uᵢ, C) ≤ d(Uᵢ, Mᵢ) because Mᵢ ∈ C (from h_rows M hM_mem i)  have dist_le_dist : Δ₀(Uᵢ, C)  Δ₀(Uᵢ, Mᵢ) := by    apply csInf_le' -- Using sInf property    --  ⊢ ↑Δ₀(Uᵢ, Mᵢ) ∈ {d | ∃ v ∈ ↑MC, ↑Δ₀(Uᵢ, v) ≤ d}    simp only [Set.mem_setOf_eq, Nat.cast_le]    -- ⊢ ∃ v ∈ C, Δ₀(Uᵢ, v) ≤ Δ₀(Uᵢ, Mᵢ)    use Mᵢ    simp only [Subtype.coe_prop, le_refl, and_self]  apply le_trans dist_le_dist  -- ⊢ ↑Δ₀(Uᵢ, ↑Mᵢ) ≤ Δ₀(U, ↑C_m)  have h_dist_row_le_dist_interleaved : Δ₀(Uᵢ, Mᵢ)  Δ₀(U, M) := by    change Δ₀(getRow U i, getRow M i)  Δ₀(U, M)    exact dist_row_le_dist_ToInterleavedWord U M i  calc    (Δ₀(Uᵢ, Mᵢ): ∞)  (Δ₀(U, M): ∞) :=      ENat.coe_le_coe.mpr h_dist_row_le_dist_interleaved    _  Δ₀(U, C ^⋈ (Fin m)) := le_of_eq hM_dist
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/Data/CodingTheory/ProximityGap/DG25/MainResults.lean:81-110

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