feat(ReedSolomon): decoder refusal as a farness certificate for Gao decoding#267
Merged
alexanderlhicks merged 1 commit intoJul 12, 2026
Conversation
🤖 PR SummaryReed–Solomon Decoder Refusal as a Farness Certificate for Gao DecodingMathematical Formalization
Gao.decode k D r = none → ∀ msg, D.n - k < 2 * hammingDist r.get (encode D msg).get
Proof Completion / Sorries
Infrastructure / CI
Relation to Prior Work
Note on Per‑File Data
Headers
Statistics
Lean Declarations ✏️ Added: 1 declaration(s)
📋 **Additional Analysis**The diff introduces a new theorem 📄 **Per-File Summaries**
Last updated: 2026-07-10 16:24 UTC. |
alexanderlhicks
approved these changes
Jul 12, 2026
Collaborator
|
Thank you! |
Contributor
Author
|
My pleasure.
…On Sat, Jul 11, 2026 at 9:03 PM Alexander Hicks ***@***.***> wrote:
*alexanderlhicks* left a comment (Verified-zkEVM/CompPoly#267)
<#267 (comment)>
Thank you!
—
Reply to this email directly, view it on GitHub
<#267?email_source=notifications&email_token=ATMORT67PR7BG5U65ALK4UL5ELPVPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJUHE2DCMRTGI4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4949412328>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATMORT3X7YXACSALJXX57KD5ELPVPAVCNFSNUABGKJSXA33TNF2G64TZHMYTAOBRGQ4DQMJRHA5US43TOVSTWNBYGU3DOOBQGAYTRILWAI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ATMORT3CQH2O647DRGTGAY35ELPVPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJUHE2DCMRTGI4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/ATMORT5OFTMGC3WKFLNC7ST5ELPVPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJUHE2DCMRTGI4KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
This email and any attachments are confidential and may be protected by
legal privilege. If you are not the intended recipient, be aware that
disclosing, copying, distributing, or use of this email or any attachments
is prohibited. If you have received this email in error, please notify me
immediately and delete this copy from your system. Thank you for your
cooperation.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
One theorem, added to
GaoCorrectness.leanbeside the completeness/failure pair:decode_none_farness— ifGao.decodereturnsnone, the received word is beyond the guaranteed radius⌊(n-k)/2⌋of every codeword:It is the contrapositive of
decode_eq_some, completing the square of decode-outcome characterizations (decode_sound/decode_eq_nonealready give the other diagonal): a decoder refusal is now positive,O(n²)-checkable evidence of proximity-gap-style farness from the code — the certificate shape proximity testing wants, produced by machinery the library already trusts.#print axioms:[propext, Classical.choice, Quot.sound].Validation performed (not in the diff)
Full
lake build CompPolygreen (2516 jobs, warning-free). Concrete check overZMod 17, RS(8, 4), radius 2: the honest codeword#[10,15,7,13,15,11,6,16]decodes tosome #[1,2,3,4](its exact message), and a 3-position corruption of it decodes tonone— on which the theorem certifies farness from the entire code.Complements #266 (certified NTT encoder): together, fast-encode lands provably in the code and decoder-refusal provably certifies far from the code.
Contributed by The Institute for Ontological Mathematics (IAOM) / Equation Capital dba Apoth3osis.