Repository navigation
Peer-review hardening, unified cross-host verification records, and updated documentation for the standalone FlashProve H821 verifier in Bend 2 (pinned to Bend 2.0.40 and FlashProve 0.16.0-rc.26, commit 9e2bdd8).
Standalone source digest: b47502ec85d252b14a99ca72b1aef9eb59a0c34b54f52ba778bc4e1a9edc73b8, rechecked by Bend's independent BendTT kernel (make kernel-check).
Proofs and verification hardening
- Canonical Goldilocks decoding across
Commitment.canonical(src/commitment.bend) andrecord_seeds.base(src/record_seeds.bend) now calls the provenCh.field_candidate, matchingtranscript.bendandopening_bytes.bend.Gl.radix()spelling is aligned insrc/goldilocks.bend, and Law 25 (e3_canonicalinLAWS.bend,PROOF.bend, andproofs/e3_canon.bend) passes with zero axioms alongside all 151 transitive standalone modules undermake kernel-check(BendTT, Lean v4.34.0). src/weight_layout.bendclamps 48-bitNatmultiplication and accumulation inplace,push, andclog2(pre_refusal), avoids eager evaluation on oversizedLinputs, removes duplicate layout construction inchecked, and adds regression tests (including a multi-unitL = 1overflow case andv > 2^47) intests/weight_layout.bend.scripts/test-request-stage.pyadds a bit-48 binding-slot negative test,scripts/mutate-refusals.pycovers dynamic-messageHeader.requiresites (185mutated sites covering190of412"NO: "occurrences insrc/), and theextendedworkflow's--strict --namesgate expands to 7 checks (noncanonical-element,public-table-length,KL-length,plan-length,request-binding-slot,lin_run:reason,policy_tables:error).- Planner differential checkers (
scripts/plan-chains-check.py,scripts/plan-first-check.py,Makefile) enforce exact key-set equality, non-empty counts, explicit accounting stages (--expect-stages), and rejection of stray short stdin lines.build/plan-first-reference.txthas an atomic Make target, and C++ reference cache checks includeupstream.lock.
Unified verification and benchmark records (d1f53309)
Matched M4 Max, Xeon 8480CL, and H100 runs were recorded on standalone digest d1f53309, prior to the 48-bit Nat clamp in src/weight_layout.bend (unchanged on the four admitted layouts and re-verified on M4 Max with make perf-gate at 1.47× C++ CPU time).
| Host | Workload | Bend (1 worker, vs. Lean) | Bend (16 workers) | 16-worker paired reference | Report |
|---|---|---|---|---|---|
| Apple M4 Max | full-size (17.91 MiB, 1,001 tokens) |
15.60 s (vs. 56.67 s) | 7.11 s (vs. Lean) / 7.12 s (vs. C++) | Lean OnBytes 56.70 s (7.98×); C++ -j 1 7.95 s (10.4% faster) |
M4 rerun |
| Intel Xeon Platinum 8480CL | full-size (17.91 MiB, 1,001 tokens) |
34.48 s (vs. 94.78 s) | 16.23 s (vs. Lean) / 16.63 s (vs. C++) | Lean OnBytes 92.73 s (5.71×); C++ -j 1 18.50 s (10.1% faster) |
Xeon rerun |
The Xeon rerun also recorded Linux BendTT kernel checking (95 s), 7/7 strict CI mutations killed, and a 10-site delta sweep (1 killed, 9 shadowed or self-check sites surviving). A fresh NVIDIA H100 next-token proof (Slurm job 7958) verified against cp_verify under a new commitment after fixing scripts/cluster/fresh-proof.sh to pre-warm partial-clone promisor blobs before read-only Apptainer mounts (fresh-proof record).
Tooling, CI, and documentation
- Parallel
scripts/bootstrap.shsymlink races are fixed, andscripts/kernel-check.shfalls back to Python 3.14+'s built-incompression.zstd. .github/workflows/verify.ymlsetspersist-credentials: falseand bounds theconformancejob timeout,.github/dependabot.ymlenables automated dependency updates, andactions/upload-artifactis updated tov7.0.2(#96).README.md,CONTRIBUTING.md, anddocs/spec/are aligned on verified proof boundaries and paired measurements. The verbatim upstreamNOTICEis replaced with an Apache-2.0 §4(d) attribution notice, andCITATION.cff,CHANGELOG.md,.github/ISSUE_TEMPLATE/config.yml, and.github/social-preview.pngare added.
Limits
No formal proof yet shows that Bend acceptance implies FlashProve's Lean acceptance for every input. Runtime configuration admission outside the four bundled H821 profiles remains tracked in #31, #88, and #32.
Full changelog: v0.1.0...v0.1.1