Gs num Vars gt num Constraints of gt one
GuruswamiSudan.gs_numVars_gt_numConstraints_of_gt_one
Plain-language statement
numVars with gs_degree_bound exceeds numConstraints (for k > 1).
Exact Lean statement
lemma gs_numVars_gt_numConstraints_of_gt_one (hn : n ≠ 0) (hk : 1 < k) (hm : 1 ≤ m) :
numVars k (gs_degree_bound k n m) > numConstraints n mFormal artifact
Lean source
lemma gs_numVars_gt_numConstraints_of_gt_one (hn : n ≠ 0) (hk : 1 < k) (hm : 1 ≤ m) : numVars k (gs_degree_bound k n m) > numConstraints n m := by set D := gs_degree_bound k n m have hD : ((D + 1)^2 : ℝ) > ((m : ℝ) + 1 / 2)^2 * k * n := by convert gs_degree_bound_sq_gt hn (by omega : 0 < k) using 1 have h_ineq : 2 * (k - 1) * numVars k D > (k - 1) * n * m * (m + 1) := by have h_ineq : 2 * (k - 1) * numVars k D ≥ (D : ℝ) * (D + 2) := by convert numVars_lower_bound_tight hk using 1 · norm_cast rw [Int.subNatNat_of_le] <;> norm_cast linarith have h_ineq : (D : ℝ) * (D + 2) > (k - 1) * n * m * (m + 1) := by nlinarith [show (k : ℝ) ≥ 2 by norm_cast, show (m : ℝ) ≥ 1 by exact Nat.one_le_cast.mpr hm, show (n : ℝ) ≥ 1 by exact Nat.one_le_cast.mpr (Nat.pos_of_ne_zero hn), mul_le_mul_of_nonneg_left (show (m : ℝ) ≥ 1 by exact Nat.one_le_cast.mpr hm) (show (n : ℝ) ≥ 0 by positivity)] norm_cast at * rw [Int.subNatNat_of_le] at * <;> (norm_cast at *; linarith) have h_div : numVars k D > n * m * (m + 1) / 2 := by exact Nat.div_lt_of_lt_mul <| by nlinarith [Nat.sub_pos_of_lt hk] convert h_div using 1 convert congr_arg (fun x : ℕ ↦ n * x) (card_constraintIndices m) using 1 · rfl · rw [← Nat.mul_div_assoc] <;> ring_nf exact even_iff_two_dvd.mp (by simp [parity_simps])- Project
- ArkLib
- License
- Apache-2.0
- Commit
- fad5cbf80877
- Source
- ArkLib/Data/CodingTheory/GuruswamiSudan/Basic.lean:979-1004
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
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...
Source project: ArkLib
Person-level attribution pending.
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.
Source project: ArkLib
Person-level attribution pending.
Gadget Decompose lawful
ArkLib.Lattices.Ajtai.gadgetDecompose_lawful
Plain-language statement
The base-b gadget decomposition is a lawful gadget decomposition.
Source project: ArkLib
Person-level attribution pending.