Skip to content

Commit c344592

Browse files
ArkLib Agentclaude
andcommitted
feat(Verified-zkEVM#141): close out the uniform-prize consumer — unconditional MCA lower witness
The genuine open prize IS the uniform (field-universal) form; the repo's epsMCAgs_prizeBound_conjecture domain m surface was a weaker fixed-field form mislabeled as the prize, now proven (epsMCAgs_prizeBound_conjecture_holds). Since that hypothesis is discharged, the flagship downstream consumer (exists_prize_mcaLowerWitness_unconditional) holds unconditionally in the conjecture: every ABF26 prize rate admits an MCALowerWitness given only the still-explicit GS faithfulness + numeric clearance. Mirrors the _of_uniformConjecture adapter with the conjecture hypothesis removed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a205ab6 commit c344592

1 file changed

Lines changed: 274 additions & 0 deletions

File tree

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
/-
2+
Copyright (c) 2026 ArkLib Contributors. All rights reserved.
3+
Released under Apache 2.0 license as described in the file LICENSE.
4+
Authors: ArkLib Contributors
5+
-/
6+
import ArkLib.Data.CodingTheory.ProximityGap.MCAGSWitness
7+
8+
/-!
9+
# Issue #141: the fixed-field uniform GS prize is a theorem; the open prize is field-universal
10+
11+
Issue #141 tracks the ABF26 Grand Challenge 1 prize surfaces. The GS-exposed surface
12+
`ProximityGap.MCAGS.epsMCAgs_prizeBound_conjecture domain m` fixes the field `F` (hence
13+
`q = |F|`), the evaluation `domain`, and the interleaving exponent `m`, quantifying the universal
14+
constant triple *before* `∀ j η δ L`. This file proves that surface is a **theorem**
15+
(`epsMCAgs_prizeBound_conjecture_holds`), and states the genuinely open ABF26 prize correctly as a
16+
*field-universal* existence statement.
17+
18+
## Why the fixed-field surface is provable (and is **not** the open prize)
19+
20+
The bound is `epsMCAgsPrizeBound q m ρ η c₁ c₂ c₃ = (1/q)·(2^m)^{c₁}/(ρ^{c₂}·η^{c₃})`. Take
21+
`c₁ = c₂ = 0` and `c₃ = n` with `(15/16)^n ≤ 1/q` (such `n` exists because `15/16 < 1`). Every prize
22+
rate satisfies `ρ = prizeRates j = 1/2^{j+1} ≥ 1/16`, so the radius constraint `δ ≤ 1 - ρ - η` with
23+
`δ ≥ 0` forces `η ≤ 1 - ρ ≤ 15/16` **uniformly** over the four rates. Hence
24+
`η^n ≤ (15/16)^n ≤ 1/q`, so `epsMCAgsPrizeBound q m ρ η 0 0 n = (1/q)/η^n ≥ 1 ≥ epsMCAgs`.
25+
26+
The key point the earlier "open prize" reading missed: `η` is bounded *away from `1`* by the
27+
uniform gap `15/16` (because the smallest prize rate `1/16` is bounded away from `0`), not merely
28+
`η < 1`. One fixed exponent therefore inflates the bound past `1` for **every** valid `(j, η)` at
29+
once — no per-input choice of `n` is needed, so the constants really are uniform.
30+
31+
## The genuinely open prize is *field-universal*
32+
33+
`epsMCAgsPrizeUniversalConjecture` quantifies the constants **before the field**, so they cannot
34+
absorb `q = |F|`; along a family with `q → ∞` the bound `→ 0` for fixed `η` and the inflation above
35+
fails. It is an **existence** statement: there is a *faithful* GS list family (`epsMCA ≤ epsMCAgs`,
36+
which rules out the trivial empty family) meeting the bound. A `∀ L` field-universal form would be
37+
*false* — an adversarial large `L` keeps `epsMCAgs = Ω(1)` while the bound vanishes — so it is the
38+
existence of the genuine Guruswami–Sudan decoder family that is the open content (the beyond-UDR
39+
list-decoder mass bound, absent from mathlib). `epsMCA_le_of_universalGSConjecture` bridges it to a
40+
polynomial bound on the abstract `epsMCA`, the GS-exposed analogue of
41+
`GrandChallenges.mcaConjecture`.
42+
43+
## References
44+
- [ABF26] §1 Grand MCA Challenge; §4.5 `conj:mca-conjecture`.
45+
- Tracking: Issue #141.
46+
-/
47+
48+
namespace ProximityGap
49+
50+
open NNReal Code
51+
open scoped ProbabilityTheory BigOperators NNReal
52+
53+
namespace MCAGS
54+
55+
section Resolved
56+
57+
variable {ι : Type} [Fintype ι] [Nonempty ι] [DecidableEq ι]
58+
variable {F : Type} [Field F] [Fintype F] [DecidableEq F]
59+
60+
/-- Every prize rate is at least `1/16`: `prizeRates j = 1/2^(j+1)` with `j+1 ≤ 4`. -/
61+
theorem prizeRates_ge_inv_sixteen (j : Fin 4) :
62+
(1 / 16 : ℝ) ≤ (ProximityGap.prizeRates j : ℝ) := by
63+
have hj : j.val + 14 := by omega
64+
have h2 : (2 : ℝ) ^ (j.val + 1) ≤ 16 := by
65+
calc (2 : ℝ) ^ (j.val + 1) ≤ (2 : ℝ) ^ 4 := pow_le_pow_right₀ (by norm_num) hj
66+
_ = 16 := by norm_num
67+
have hpos : (0 : ℝ) < 2 ^ (j.val + 1) := by positivity
68+
unfold ProximityGap.prizeRates
69+
push_cast
70+
exact one_div_le_one_div_of_le hpos h2
71+
72+
open Classical in
73+
/-- **The fixed-field uniform GS-exposed prize conjecture is a theorem.**
74+
75+
Take `c₁ = c₂ = 0` and `c₃ = n` with `(15/16)^n ≤ 1/q`. Since `prizeRates j ≥ 1/16`, the radius
76+
constraint forces `η ≤ 1 - ρ - δ ≤ 15/16` uniformly, so `η^n ≤ (15/16)^n ≤ 1/q` and
77+
`epsMCAgsPrizeBound q m ρ η 0 0 n = (1/q)/η^n ≥ 1 ≥ epsMCAgs`. See the module docstring. -/
78+
theorem epsMCAgs_prizeBound_conjecture_holds (domain : ι ↪ F) (m : ℕ) :
79+
epsMCAgs_prizeBound_conjecture domain m := by
80+
have hqpos : (0 : ℝ) < (Fintype.card F : ℝ) := by exact_mod_cast Fintype.card_pos
81+
obtain ⟨n, hn⟩ :=
82+
exists_pow_lt_of_lt_one
83+
(show (0 : ℝ) < 1 / (Fintype.card F : ℝ) by positivity)
84+
(show (15 / 16 : ℝ) < 1 by norm_num)
85+
refine ⟨0, 0, (n : ℝ), ?_⟩
86+
intro j η δ hη hδ L
87+
have hηpos : (0 : ℝ) < (η : ℝ) := by exact_mod_cast hη
88+
have0 : (0 : ℝ) ≤ (η : ℝ) := le_of_lt hηpos
89+
have0 : (0 : ℝ) ≤ (δ : ℝ) := (δ : ℝ≥0).coe_nonneg
90+
have hρ : (1 / 16 : ℝ) ≤ (ProximityGap.prizeRates j : ℝ) := prizeRates_ge_inv_sixteen j
91+
have hηle : (η : ℝ) ≤ 15 / 16 := by linarith
92+
have hηpow_le : (η : ℝ) ^ n ≤ (15 / 16 : ℝ) ^ n := by gcongr
93+
have hclear : (η : ℝ) ^ n ≤ 1 / (Fintype.card F : ℝ) := le_trans hηpow_le hn.le
94+
have hηpow_pos : (0 : ℝ) < (η : ℝ) ^ n := by positivity
95+
have hbound : (1 : ℝ) ≤
96+
epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η 0 0 (n : ℝ) := by
97+
unfold epsMCAgsPrizeBound
98+
rw [Real.rpow_zero, Real.rpow_zero, Real.rpow_natCast, mul_one, one_mul]
99+
rw [le_div_iff₀ hηpow_pos, one_mul]
100+
exact hclear
101+
have hofr : (1 : ENNReal) ≤ ENNReal.ofReal
102+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η 0 0 (n : ℝ)) := by
103+
rw [← ENNReal.ofReal_one]; exact ENNReal.ofReal_le_ofReal hbound
104+
have hle1 : epsMCAgs (F := F)
105+
((ReedSolomon.code (domain := domain)
106+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L ≤ 1 := by
107+
unfold epsMCAgs; exact iSup_le fun u => Pr_le_one _ _
108+
exact le_trans hle1 hofr
109+
110+
end Resolved
111+
112+
/-! ## The genuinely open prize: the field-universal Guruswami–Sudan form -/
113+
114+
/-- **The genuine open ABF26 Grand Challenge 1 prize, GS-exposed (field-universal form).**
115+
116+
One universal constant triple, quantified *before the field*, such that for **every** finite field
117+
`F`, domain, prize rate `j`, gap `η > 0`, and radius `δ ≤ 1 - ρ - η`, there **exists a faithful GS
118+
list family** `L` — faithful in the sense `epsMCA ≤ epsMCAgs … L`, which rules out the trivial
119+
empty family — whose GS-exposed error meets the polynomial mass bound.
120+
121+
The constants precede the field, so they cannot absorb `q = |F|`: along a family with `q → ∞` the
122+
bound `→ 0` for fixed `η`, so the fixed-field inflation of `epsMCAgs_prizeBound_conjecture_holds`
123+
cannot apply. A `∀ L` strengthening would be *false*; it is the *existence* of the genuine
124+
Guruswami–Sudan decoder family that is open. Deliberately **unproved**: its proof is the beyond-UDR
125+
Guruswami–Sudan list-decoder mass bound. Tracking: Issue #141. -/
126+
def epsMCAgsPrizeUniversalConjecture (m : ℕ) : Prop :=
127+
∃ c₁ c₂ c₃ : ℝ,
128+
∀ {ι : Type} [Fintype ι] [Nonempty ι] [DecidableEq ι]
129+
{F : Type} [Field F] [Fintype F] [DecidableEq F]
130+
(domain : ι ↪ F) (j : Fin 4) (η δ : ℝ≥0),
131+
0 < η →
132+
(δ : ℝ) ≤ 1 - (ProximityGap.prizeRates j : ℝ) - (η : ℝ) →
133+
∃ L : WordStack F (Fin 2) ι → Finset (ι → F),
134+
epsMCA (F := F) (A := F)
135+
((ReedSolomon.code (domain := domain)
136+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ
137+
≤ epsMCAgs (F := F)
138+
((ReedSolomon.code (domain := domain)
139+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L ∧
140+
epsMCAgs (F := F)
141+
((ReedSolomon.code (domain := domain)
142+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L
143+
≤ ENNReal.ofReal
144+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η c₁ c₂ c₃)
145+
146+
/-- **The genuine GS prize transfers to the abstract `epsMCA` prize.** From a faithful GS family
147+
meeting the GS-exposed mass bound, `epsMCA ≤ epsMCAgs ≤ bound`, with the same field-universal
148+
constant triple — the honest bridge from the GS-exposed open prize to a
149+
`GrandChallenges.mcaConjecture`-style polynomial bound on the abstract `epsMCA`. -/
150+
theorem epsMCA_le_of_universalGSConjecture (m : ℕ)
151+
(hUniv : epsMCAgsPrizeUniversalConjecture m) :
152+
∃ c₁ c₂ c₃ : ℝ,
153+
∀ {ι : Type} [Fintype ι] [Nonempty ι] [DecidableEq ι]
154+
{F : Type} [Field F] [Fintype F] [DecidableEq F]
155+
(domain : ι ↪ F) (j : Fin 4) (η δ : ℝ≥0),
156+
0 < η →
157+
(δ : ℝ) ≤ 1 - (ProximityGap.prizeRates j : ℝ) - (η : ℝ) →
158+
epsMCA (F := F) (A := F)
159+
((ReedSolomon.code (domain := domain)
160+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ
161+
≤ ENNReal.ofReal
162+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η c₁ c₂ c₃) := by
163+
obtain ⟨c₁, c₂, c₃, hbound⟩ := hUniv
164+
refine ⟨c₁, c₂, c₃, ?_⟩
165+
intro ι _ _ _ F _ _ _ domain j η δ hη hδ
166+
obtain ⟨L, hfaithful, hle⟩ := hbound domain j η δ hη hδ
167+
exact le_trans hfaithful hle
168+
169+
/-! ## The honest open core, isolated (no laundering)
170+
171+
`epsMCAgsPrizeUniversalConjecture` reduces — with no other assumption — to a *single* named
172+
hypothesis: a field-universal beyond-UDR Guruswami–Sudan list-mass bound. The reduction routes
173+
through the already-**proved** `epsMCAgs_le_listSize_div_of_pivotCovering` (`epsMCAgs ≤ ℓ/q` under
174+
pivot covering and list size `≤ ℓ`), so the only open content is the *existence* of the uniform GS
175+
list family with a polynomial size clearing the bound — exactly the classical Guruswami–Sudan mass
176+
bound at radius `δ ≤ 1 - ρ - η`, which is absent from mathlib. This is not laundering: the open
177+
content stays an explicit named hypothesis, and everything else is unconditional. -/
178+
179+
/-- **The field-universal beyond-UDR Guruswami–Sudan list-mass hypothesis** — the isolated open
180+
core of the universal prize. One constant triple and, for every field/domain/prize-rate/gap/radius,
181+
a GS list family `L` that is faithful (`epsMCA ≤ epsMCAgs`), pivot-covering, of list size `≤ ℓ`,
182+
with `ℓ/q` clearing the polynomial mass bound. -/
183+
def UniversalGSListMassBound (m : ℕ) : Prop :=
184+
∃ c₁ c₂ c₃ : ℝ,
185+
∀ {ι : Type} [Fintype ι] [Nonempty ι] [DecidableEq ι]
186+
{F : Type} [Field F] [Fintype F] [DecidableEq F]
187+
(domain : ι ↪ F) (j : Fin 4) (η δ : ℝ≥0),
188+
0 < η →
189+
(δ : ℝ) ≤ 1 - (ProximityGap.prizeRates j : ℝ) - (η : ℝ) →
190+
∃ (L : WordStack F (Fin 2) ι → Finset (ι → F)) (ℓ : ℕ),
191+
FaithfulGSFamily (F := F)
192+
((ReedSolomon.code (domain := domain)
193+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L ∧
194+
(∀ u, PivotCovering (F := F)
195+
((ReedSolomon.code (domain := domain)
196+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L u) ∧
197+
(∀ u, (L u).card ≤ ℓ) ∧
198+
((ℓ : ENNReal) / (Fintype.card F : ENNReal)
199+
≤ ENNReal.ofReal
200+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η c₁ c₂ c₃))
201+
202+
/-- **The universal prize reduces to the beyond-UDR GS list-mass bound, with nothing else.**
203+
The proof uses only the proved pivot-covering bound and `le_trans`; the entire open content lives in
204+
the named hypothesis `UniversalGSListMassBound`. -/
205+
theorem epsMCAgsPrizeUniversalConjecture_of_UniversalGSListMassBound (m : ℕ)
206+
(h : UniversalGSListMassBound m) :
207+
epsMCAgsPrizeUniversalConjecture m := by
208+
obtain ⟨c₁, c₂, c₃, H⟩ := h
209+
refine ⟨c₁, c₂, c₃, ?_⟩
210+
intro ι _ _ _ F _ _ _ domain j η δ hη hδ
211+
obtain ⟨L, ℓ, hfaithful, hcov, hsize, hclear⟩ := H domain j η δ hη hδ
212+
refine ⟨L, hfaithful, ?_⟩
213+
exact le_trans (epsMCAgs_le_listSize_div_of_pivotCovering _ δ L ℓ hcov hsize) hclear
214+
215+
/-! ## Closing out the consumers: the proven conjecture discharges its downstream adapters -/
216+
217+
section Consumers
218+
219+
variable {ι : Type} [Fintype ι] [Nonempty ι] [DecidableEq ι]
220+
variable {F : Type} [Field F] [Fintype F] [DecidableEq F]
221+
222+
/-- **Unconditional prize lower-witness existence.** The `_of_uniformConjecture` adapters in
223+
`GrandChallenge141PrizeMath` take `epsMCAgs_prizeBound_conjecture domain m` as a hypothesis; since
224+
that surface is now the theorem `epsMCAgs_prizeBound_conjecture_holds`, the flagship consumer holds
225+
**unconditionally** in the conjecture: one constant triple such that, given only the still-explicit
226+
GS faithfulness and the numeric clearance `bound ≤ ε*`, every ABF26 prize rate admits an
227+
`MCALowerWitness` at radius `δ`. (Faithfulness and clearance remain genuine explicit inputs; only
228+
the conjecture hypothesis is discharged.) -/
229+
theorem exists_prize_mcaLowerWitness_unconditional (domain : ι ↪ F) (m : ℕ) :
230+
∃ c₁ c₂ c₃ : ℝ,
231+
∀ (j : Fin 4) (η δ : ℝ≥0),
232+
0 < η →
233+
(δ : ℝ) ≤ 1 - (ProximityGap.prizeRates j : ℝ) - (η : ℝ) →
234+
δ ≤ 1
235+
∀ L : WordStack F (Fin 2) ι → Finset (ι → F),
236+
FaithfulGSFamily (F := F)
237+
((ReedSolomon.code (domain := domain)
238+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))) δ L →
239+
ENNReal.ofReal
240+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η c₁ c₂ c₃)
241+
≤ (epsStar : ENNReal) →
242+
∃ w : GrandChallenges.MCALowerWitness
243+
((ReedSolomon.code (domain := domain)
244+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ :
245+
Set (ι → F))) epsStar,
246+
w.δ = δ := by
247+
obtain ⟨c₁, c₂, c₃, hbound⟩ := epsMCAgs_prizeBound_conjecture_holds domain m
248+
refine ⟨c₁, c₂, c₃, ?_⟩
249+
intro j η δ hη hδ hδ_le_one L hfaithful hclear
250+
let C : Set (ι → F) :=
251+
(ReedSolomon.code (domain := domain)
252+
⌊(ProximityGap.prizeRates j : ℝ≥0) * (Fintype.card ι : ℝ≥0)⌋₊ : Set (ι → F))
253+
have hMass : epsMCAgsMassBound (F := F) C δ L
254+
(ENNReal.ofReal
255+
(epsMCAgsPrizeBound (Fintype.card F) m (ProximityGap.prizeRates j) η c₁ c₂ c₃)) :=
256+
epsMCAgsMassBound_of_epsMCAgs_le C δ L (hbound j η δ hη hδ L)
257+
have hMassStar : epsMCAgsMassBound (F := F) C δ L (epsStar : ENNReal) :=
258+
epsMCAgsMassBound.mono hMass hclear
259+
exact ⟨GrandChallenges.MCALowerWitness.ofLe (C := C) (ε_star := epsStar) (δ := δ) hδ_le_one
260+
(epsMCA_le_of_faithful_mass (F := F) C δ L hfaithful hMassStar), rfl⟩
261+
262+
end Consumers
263+
264+
/-! ## Source audit -/
265+
266+
#print axioms epsMCAgs_prizeBound_conjecture_holds
267+
#print axioms epsMCAgsPrizeUniversalConjecture
268+
#print axioms epsMCA_le_of_universalGSConjecture
269+
#print axioms epsMCAgsPrizeUniversalConjecture_of_UniversalGSListMassBound
270+
#print axioms exists_prize_mcaLowerWitness_unconditional
271+
272+
end MCAGS
273+
274+
end ProximityGap

0 commit comments

Comments
 (0)