Repository navigation
feat(Polynomial): split a polynomial over coset chunks and recombine it - #1335
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 PR SummaryA new module Mathematical FormalizationThe file defines the following primary objects and results:
Key theorems:
All definitions except DocumentationTwo new reference documentation files have been added:
Infrastructure / Library
Testing
Statistics
Lean Declarations ✏️ Added: 37 declaration(s)
Lean Quality Signals
📋 **Additional Analysis**Review of pull-request diff against ArkLib contribution guidelines Documentation
Naming and Formatting
Module System
Computability
Citation Standards
Test Coverage
No Other Violations
📄 **Per-File Summaries**
Last updated: 2026-10-24 02:27 UTC. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build Timing Report
CPU work is Rebuilt ModulesRebuilt 3 modules (2 without an earlier time). The 1 with an earlier time took 4s here against 3s when Estimated clean-build compile time, summed over all 1288 modules: 5938s before, 5946s after (+8s (+0.1%)). Per-module times are wall-clock under whatever parallel load the run had, so treat small differences as noise; a large change on one module is the signal. Showing 3 slowest of 3 rebuilt modules.
|
alexanderlhicks
left a comment
There was a problem hiding this comment.
The chunk selection, strict degree bound, reconstruction, and weighted mask cancellation check out. I applied the requested readiness fixes: executable scalar weights with a polynomial-view agreement theorem; explicit hypotheses and scope; bibliography/KB mappings; and acceptance examples covering shifted two-chunk reconstruction, three chunks, the single-chunk case, and the sharp degree boundary. Ordinary callers also execute the finite-field weight checks.
./scripts/validate.sh --axioms passed, including the full build and test warning budgets, source policy, runtime checks, fixture certification, and axiom regression gate. No new admissions, custom axioms, or native trust; no baseline or generated-KB drift. The documented noncomputable polynomial definitions are mathematical views, and the cancellation theorem is not a protocol or zero-knowledge proof. Ready to merge.
This adds the Lagrange decomposition of a polynomial across a regular cyclic-coset partition, giving the algebra behind reconstructing a STARK quotient from chunk openings.
For positive
c, m, a primitive rootwof orderc * m, and nonzeros, chunki < cconsists of{s * w^(i + c*t) : t < m}. The module proves that the normalized factors select their respective chunks, that the interpolants reconstruct every polynomial of degree strictly belowc * m, and that the weighted masks cancel. These are algebraic identities; the PR does not define a protocol or establish zero-knowledge.chunkWeightis executable field arithmetic, with a theorem identifying it with the polynomial normalization product. The formal-polynomial definitions remain mathematical views, with their Mathlib representation blocker documented.Acceptance examples cover shifted two-chunk reconstruction, three-chunk masking, the single-chunk case, and failure at the excluded degree boundary. Ordinary executable callers check concrete normalization weights over
ZMod 5andZMod 13.References and paper-to-code mappings are recorded in the bibliography and KB: ethSTARK documentation (2021/582), Haböck's FRI summary (2022/1216), and Haböck–Al Kindi (2024/1037, §4.2). The last is specialized from arbitrary disjoint cosets to this regular cyclic partition.
Validation:
./scripts/validate.sh --axiomspassed, including the full library and acceptance builds, warning budgets, source-policy checks, runtime checks, and axiom regression gate. No new admissions or native trust constructs; the axiom baseline and generated KB files are unchanged. Citation keys and documentation links were checked directly.Original contribution generated with Claude Code.