Skip to content

v0.1.1

Latest

Choose a tag to compare

@AbdelStark AbdelStark released this 02 Dec 12:46
· 2 commits to main since this release
v0.1.1
98ab9f8

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) and record_seeds.base (src/record_seeds.bend) now calls the proven Ch.field_candidate, matching transcript.bend and opening_bytes.bend. Gl.radix() spelling is aligned in src/goldilocks.bend, and Law 25 (e3_canonical in LAWS.bend, PROOF.bend, and proofs/e3_canon.bend) passes with zero axioms alongside all 151 transitive standalone modules under make kernel-check (BendTT, Lean v4.34.0).
  • src/weight_layout.bend clamps 48-bit Nat multiplication and accumulation in place, push, and clog2 (pre_refusal), avoids eager evaluation on oversized L inputs, removes duplicate layout construction in checked, and adds regression tests (including a multi-unit L = 1 overflow case and v > 2^47) in tests/weight_layout.bend.
  • scripts/test-request-stage.py adds a bit-48 binding-slot negative test, scripts/mutate-refusals.py covers dynamic-message Header.require sites (185 mutated sites covering 190 of 412 "NO: " occurrences in src/), and the extended workflow's --strict --names gate 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.txt has an atomic Make target, and C++ reference cache checks include upstream.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.sh symlink races are fixed, and scripts/kernel-check.sh falls back to Python 3.14+'s built-in compression.zstd.
  • .github/workflows/verify.yml sets persist-credentials: false and bounds the conformance job timeout, .github/dependabot.yml enables automated dependency updates, and actions/upload-artifact is updated to v7.0.2 (#96).
  • README.md, CONTRIBUTING.md, and docs/spec/ are aligned on verified proof boundaries and paired measurements. The verbatim upstream NOTICE is replaced with an Apache-2.0 §4(d) attribution notice, and CITATION.cff, CHANGELOG.md, .github/ISSUE_TEMPLATE/config.yml, and .github/social-preview.png are 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