feat(guruswami-sudan): constructive decoder witness/filter correctness#311
feat(guruswami-sudan): constructive decoder witness/filter correctness#311eliasjudin wants to merge 9 commits intoVerified-zkEVM:mainfrom
Conversation
🤖 Gemini PR SummaryConstructive Guruswami-Sudan DecoderTransitions the Guruswami-Sudan (GS) decoder from a non-computable, existential formulation to a fully constructive and computable framework. This enables execution within Lean while maintaining rigorous mathematical soundness. Implementation & Logic
Mathematical Soundness
Related Issues: Closes #213 Analysis of Changes
Lean Declarations ✏️ **Removed:** 1 declaration(s)
✏️ **Added:** 7 declaration(s)
✏️ **Affected:** 4 declaration(s) (line number changed)
✅ **Removed:** 5 `sorry`(s)
🎨 **Style Guide Adherence**
📄 **Per-File Summaries**
Last updated: 2026-03-03 11:29 UTC. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: abf6a7f5d2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
71db7ac to
3fde0b1
Compare
cedd967 to
5a97ec0
Compare
5a97ec0 to
8aa5bfb
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8aa5bfba09
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
You can use |
this is actually exactly what was needed for the computable definition, will update later |
1a82b33 to
a23a779
Compare
67686cf to
8738954
Compare
|
still trying to write a constructive algorithm for computing a Guruswami–Sudan witness |
|
@quangvdao @dhsorens some of this should probably go into CompPoly. let me know if you have any suggestions. |
71e430f to
862dd94
Compare
Replace decoder sorry with a filtered implementation and align decoder docstring semantics. Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>
Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>
Replace existential witness checks and brute-force fallback with direct GS witness construction via normalized linear solves over CompPoly-compatible coefficient vectors. Keep decoder output soundness guarantees while removing fallback enumeration from the decoder path. Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>
Update module references/comment wording and theorem prose to match the implemented constructive witness solver path and current decoder soundness guarantees.
Update section headings to level-3, rename flagged declarations to style-conformant names, and wrap remaining long lines in GuruswamiSudan.lean.
862dd94 to
db2b88f
Compare
This PR adds proofs autoformalised by @Aristotle-Harmonic.
Implements constructive Guruswami-Sudan witness extraction in
computeGsWitnessvia a normalized linear system solved byBerlekampWelch.linsolve, removing the brute-force fallback from the decoder path. It checks multiplicity by Hasse-derivative vanishing and performs computable CompPoly root filtering (Q(X, p(X)) = 0), with decoder soundness captured bydecoder_mem_impl_dist; closes #213.Co-authored-by: Aristotle (Harmonic) aristotle-harmonic@harmonic.fun