fix(proximity-gap): resolve AHIV22 proof obligations (#226 #227 #234)#385
fix(proximity-gap): resolve AHIV22 proof obligations (#226 #227 #234)#385eliasjudin wants to merge 2 commits intoVerified-zkEVM:mainfrom
Conversation
🤖 Gemini PR SummaryCompletes the Lean 4 formalization of proximity-gap results from the AHIV22 paper in Mathematical Formalization
Technical Implementation
TraceabilityAnalysis of Changes
Lean Declarations ✏️ **Added:** 3 declaration(s)
✏️ **Affected:** 3 declaration(s) (line number changed)
✅ **Removed:** 3 `sorry`(s)
🎨 **Style Guide Adherence**The following lines violate the provided style guide:
📄 **Per-File Summaries**
Last updated: 2026-03-04 10:12 UTC. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a99ad53d1
ℹ️ 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".
| (∀ x ∈ Affine.affineLineAtOrigin (F := F) u v, Δ₀(x, ReedSolomon.code α deg) ≤ e) | ||
| ∨ numberOfClosePts u v deg α e ≤ ‖(RScodeSet α deg)‖₀ := by |
There was a problem hiding this comment.
Keep Lemma 4.4 result exclusive
This lemma now returns a plain disjunction A ∨ B instead of the prior exclusive split (Xor' A B), which weakens the exported guarantee and prevents callers from deriving the mutual-exclusion property that Lemma 4.4 is documented to provide. Any downstream proof that relied on ruling out one branch from the other can no longer be reconstructed from this API, even when the old statement type-checked.
Useful? React with 👍 / 👎.
…#226 Verified-zkEVM#227 Verified-zkEVM#234) Complete AHIV22 proximity-gap proofs without semantic or signature drift and update file attribution to Elias Judin, Aristotle (Harmonic). Refs Verified-zkEVM#226 Verified-zkEVM#227 Verified-zkEVM#234 Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>
9a99ad5 to
51479d5
Compare
Closes #226.
Closes #227.
Closes #234.
This PR completes the AHIV22 proximity-gap obligations in
ArkLib/Data/CodingTheory/ProximityGap/AHIV22.leanand removes the remaining proof gaps for Lemma 4.3, 4.4, and 4.5.It adds local helper lemmas for support/counting arguments and keeps the patched file free of
sorry,axiom, andprivate axiom, with local validation vialake build ArkLib.Data.CodingTheory.ProximityGap.AHIV22andlake build ArkLib.This PR adds proofs autoformalised by @Aristotle-Harmonic.
The resulting patch resolves the AHIV22 proof-wanted targets and references all associated issues.
It keeps all signature changes localized to
AHIV22.leanand validates downstream with a fullArkLibbuild.Co-authored-by: Aristotle (Harmonic) aristotle-harmonic@harmonic.fun