Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
35e6370
Build BitZ's forward pass from the product halves and sum small cross…
sumchecker Dec 2, 2026
15fe0c9
Prove MUL/MULHU pairs on equal operands with one pair-table row
sumchecker Dec 2, 2026
c2f04ec
Stream the Next prover's rounds without T-entry tables
sumchecker Dec 2, 2026
41f4f1b
Ask for huge pages on large prover allocations and fault Mosaic's W i…
sumchecker Dec 2, 2026
d7086ad
Commit R and the carry chains on a general-row prefix of the single M…
sumchecker Dec 2, 2026
57cf44c
Build the witness in parallel from checkpoints of the facts pass
sumchecker Dec 2, 2026
c083247
Run the M block on a transcript instance of its own, beside the main …
sumchecker Dec 2, 2026
2f6a0b3
Copy or read lent and ranged carriers in parallel
sumchecker Dec 2, 2026
d04b3ec
Record the verifier against the Fiat-Shamir census on live proofs
sumchecker Dec 2, 2026
5a868d3
Prove runs without M cycles without an M table
sumchecker Dec 2, 2026
d84ab01
M lane: pool only when concurrent, pinning within the affinity mask, …
sumchecker Dec 2, 2026
fa5ae8f
Review fixes: assert the p256 table shape, document two preconditions…
sumchecker Dec 2, 2026
70a6828
Repoint stale citations in comments and the BitZ spec
sumchecker Dec 2, 2026
55e691e
Sumcheck batch: cost-aware task grain, an out-of-place first fold, sm…
sumchecker Dec 2, 2026
554308d
Ring switch: the deferred bank pass as bit-block products over tiles
sumchecker Dec 2, 2026
db79f33
GFNI: weighted bit sums of eight vectors per pass in the Spartan F2 a…
sumchecker Dec 2, 2026
1d4a672
Docs and evidence: follow the moved pin table and stop citing removed…
sumchecker Dec 2, 2026
9519503
Security report and specs: the M lane, runs without an M table, the g…
sumchecker Dec 2, 2026
b987bd9
Notes: the prover optimizations we plan next
sumchecker Dec 2, 2026
094b4d4
Technical report 0.2: the combined change, pinned to b987bd9d4198
sumchecker Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,21 @@ jobs:
exit 1
fi
done
# The GFNI kernels (field/bit_sums.rs, and the GFNI paths of mosaic.rs and witness.rs) compile only for x86-64 with
# AVX-512 F, BW, VBMI and GFNI, which the runner's CPU may lack. Type-check and lint them for such a CPU; nothing
# runs, so the runner needs none of these features. `--target` keeps the flags off the build scripts and proc
# macros, which do run here, and a target directory of its own keeps the native builds above.
- name: cargo check and clippy for x86-64 with AVX-512 VBMI and GFNI
env:
RUSTFLAGS: -C target-cpu=x86-64-v3 -C target-feature=+avx512f,+avx512bw,+avx512vbmi,+gfni,+pclmulqdq,+vpclmulqdq
CARGO_TARGET_DIR: target/gfni
run: |
cargo check --locked --all-targets --target x86_64-unknown-linux-gnu 2>&1 | tee /tmp/check-gfni.log
if grep -q '^warning' /tmp/check-gfni.log; then
echo "::error::warnings in the GFNI build"
exit 1
fi
cargo clippy --locked --all-targets --target x86_64-unknown-linux-gnu

# The README's plain release build on x86-64, for the Portability gate.
portability-ubuntu:
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/full-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
if-no-files-found: error
retention-days: 1

# Build once, in parallel: one job compiles the library tests, one the corpus and statement-binding test binaries.
# Build once, in parallel: one job compiles the library tests, one the corpus, statement-binding and Fiat-Shamir
# census test binaries.
# Every backend is built in; the integration tests prove with the default backend, which BINARY_JOLT_PCS selects at
# run time, so one binary serves every backend's test job. Both restore the same cache; only the library job saves
# it (on main), so they never race on one key.
Expand Down Expand Up @@ -127,16 +128,16 @@ jobs:
workspaces: crates/binary-jolt -> target
shared-key: full-tests
save-if: false
- name: Build the corpus and statement-binding test binaries
- name: Build the corpus, statement-binding and Fiat-Shamir census test binaries
run: |
out="$RUNNER_TEMP/full-pass-bin"
mkdir -p "$out"
cargo test --profile build-fast --locked \
--test corpus --test statement_binding --no-run --message-format=json-render-diagnostics |
--test corpus --test statement_binding --test fs_census_jolt --no-run --message-format=json-render-diagnostics |
jq -r 'select(.reason == "compiler-artifact" and .profile.test and .executable != null) | "\(.target.name) \(.executable)"' |
while read -r name exe; do cp "$exe" "$out/$name"; done
ls -l "$out"
test "$(find "$out" -type f | wc -l)" -eq 2
test "$(find "$out" -type f | wc -l)" -eq 3
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: full-pass-bin-integration
Expand Down Expand Up @@ -250,6 +251,16 @@ jobs:
- name: statement binding
timeout-minutes: 10
run: '"$RUNNER_TEMP/full-pass-bin/statement_binding"'
# The census records the frontend verifier, which every backend shares: one backend's job runs it.
- name: the verifier's Fiat-Shamir transcript is the security ledger's census
if: matrix.backend == 'whir'
timeout-minutes: 15
run: '"$RUNNER_TEMP/full-pass-bin/fs_census_jolt"'
# The census cases at T = 2^22 and 2^24, one proof at a time to bound the runner's memory.
- name: the census at n = 22 and 24
if: matrix.backend == 'whir'
timeout-minutes: 20
run: '"$RUNNER_TEMP/full-pass-bin/fs_census_jolt" --ignored --test-threads 1'

full-tests-akita:
name: Full tests (akita)
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ must use the same set.

| Backend | Kind | Notes |
|---|---|---|
| **Binary WHIR** (default) | hash-based (Keccak-256 Merkle), Reed–Solomon proximity over binary fields | Plonky3's binary WHIR, vendored with local changes; rate 1/4 by default; optional: rate 1/16 for every slot, or per-role rates (the precommitted program and trusted-advice slots at rate 1/16, the trace at rate 1/4; `pcs::hash::PerRoleHash`) ([note](docs/notes/binary-whir-backend.md)) |
| **Binary WHIR** (default) | hash-based (Keccak-256 Merkle), Reed–Solomon proximity over binary fields | Plonky3's binary WHIR, vendored with local changes; rate 1/4 by default; optional per-role rates (the precommitted program and trusted-advice slots at rate 1/16, the trace at rate 1/4; `BINARY_JOLT_WHIR_RATES=per-role`, `pcs::hash::PerRoleHash`). Rate 1/16 for every slot is not selectable with `BINARY_JOLT_WHIR_RATES`: only the Rust type `pcs::hash::whir::BinaryWhir<Sixteenth>` and `e2e_bench --pcs whir16` use it ([note](docs/notes/binary-whir-backend.md)) |
| **Akita / LaBinius** | lattice-based (Module-SIS), binary-source opening | Akita with its LaBinius binary-source route, built from a pinned branch of the public Akita repository (`experimental`) |
| **flock** | hash-based (SHA-256 Merkle), binary Ligerito | a vendored fork of flock; profiles slim, fast and P-UD |

Expand Down Expand Up @@ -210,8 +210,10 @@ slots, and 2 are refused by design (S1), as in the initial runs; none failed. Of
have the trace slot alone, whose proof is byte-identical under the per-role set by construction (the backend's tests
pin it), and the 53 refused are refused before any slot layout or proof is built, by checks the per-role set does not
change; so their results are unchanged. None fails unexpectedly. "Proved" means the proof verifies, and its outputs
and panic flag equal those of a reference execution. The step count and the trace digest are recorded next to the
verdict and compared with the reference's, without gating it; in the per-role runs, all 17 proved entries match both.
and panic flag equal those of a reference execution. The step count and the trace digest were recorded next to the
verdict and compared with the reference's, without gating it; in the per-role runs, all 17 proved entries matched both.
The corpus driver now records only the step count against Jolt's tracer (`steps_match_tracer`), still without gating
the verdict; it no longer records a trace digest.
To reproduce Jolt's example rows, run the corpus driver on the committed corpus `tests/fixtures/jolt-guests` (see
Building and running). The test-guest rows were produced with guest programs and generators that are not part of this
release; `tests/fixtures/` ships a subset of them as prebuilt ELFs, which the crate's tests use.
Expand Down
Loading
Loading