Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e2ba202
chore(akita): bump dependency to e2c49ed
RadNi Oct 6, 2026
60f7d02
Merge branch 'main' into codex/bump-akita-e2c49ed
RadNi Oct 6, 2026
a807a90
Replace packed Akita trace with fused native column batching
RadNi Oct 2, 2026
b2f71ce
Restrict Akita catalogs to production shapes and explicit fixtures
RadNi Oct 2, 2026
50b8a1e
chore(akita): pin merged native batching revision
RadNi Oct 2, 2026
9b08678
fix(ci): test generated projects against checked-out SDK
RadNi Oct 2, 2026
f82d98e
refactor(akita): pass the fixed fold chunk directly
RadNi Oct 2, 2026
aecd1de
fix(akita): preserve K16 batch coverage through 2^30 cycles
RadNi Oct 3, 2026
07f91fd
fix(akita): enforce trace mask capacity and prune K256 catalogs
RadNi Oct 5, 2026
fa281b1
docs: specify native Akita trace batching and cycle chunk locality
RadNi Oct 5, 2026
01d56f3
fix(akita): clarify batching scope and K256 support policy
RadNi Oct 5, 2026
a4f55c9
fix(akita): address native batching review follow-ups
RadNi Oct 6, 2026
a67cb02
fix(akita): close remaining review gaps
RadNi Oct 6, 2026
d27220e
docs(akita): measure native batching PR performance
RadNi Oct 6, 2026
d97705d
fix(akita): preserve merged planner coverage and fork CI after rebase
RadNi Oct 6, 2026
2e3ed2f
test(verifier): refresh inventory for rebased Spartan and HyperKZG so…
RadNi Oct 6, 2026
3e162e2
Merge remote-tracking branch 'origin/main' into codex/bump-akita-e2c49ed
sumchecker Oct 6, 2026
d60ffac
Merge branch 'main' into amir/akita-batch
sumchecker Oct 6, 2026
207122d
refactor(akita): make streamed trace openings batch-only
sumchecker Oct 7, 2026
32937d8
refactor(akita): finish naming and comment cleanup
sumchecker Oct 7, 2026
514d5b3
docs(akita): clarify digit zero and measured regressions
sumchecker Oct 7, 2026
8d3a24d
test(akita): reject swapped streamed trace evaluations
sumchecker Oct 7, 2026
28143a9
ci(akita): bound chunked field-inline provisioning coverage
sumchecker Oct 7, 2026
0791f79
feat(profiling): select Akita chunk profiles through the CLI
sumchecker Oct 7, 2026
6a74c84
fix(profiling): distinguish Akita chunk profile results
RadNi Oct 7, 2026
4f78420
refactor(akita): split trace read contract tests
RadNi Oct 7, 2026
58b9bce
chore(akita): bump pin to d98400c and regenerate schedules (#2016)
RadNi Oct 7, 2026
e62631e
refactor(akita): remove unused trace opening fold
RadNi Oct 7, 2026
f13ac87
ci(profiling): run chunk profile regression tests
sumchecker Oct 7, 2026
dd8e4c5
Merge branch 'main' into amir/akita-batch
sumchecker Oct 7, 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
34 changes: 17 additions & 17 deletions .github/workflows/fp64-formal-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:
runs-on: ubuntu-24.04-arm
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
toolchain: nightly
- name: Install cargo-fuzz
uses: taiki-e/install-action@v2
uses: taiki-e/install-action@83ac0ad63c0167e6f06796fab0fce28db1bf3db0 # v2
with:
tool: cargo-fuzz
- name: Compare field operations with the integer oracle
Expand All @@ -71,12 +71,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
toolchain: nightly
- name: Install cargo-fuzz
uses: taiki-e/install-action@v2
uses: taiki-e/install-action@83ac0ad63c0167e6f06796fab0fce28db1bf3db0 # v2
with:
tool: cargo-fuzz
- name: Require BMI2
Expand All @@ -91,8 +91,8 @@ jobs:
name: Validate the registered build matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2

- name: Validate the matrix and artifact checker
run: |
Expand Down Expand Up @@ -131,8 +131,8 @@ jobs:
runs-on: ubuntu-24.04-arm
timeout-minutes: 45
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2

- name: Install proof dependencies
run: |
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
--clean

- name: Upload proof evidence
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: fp64-aarch64-linux-gnu-evidence
path: ${{ runner.temp }}/fp64-aarch64-linux-gnu.json
Expand All @@ -177,8 +177,8 @@ jobs:
runs-on: macos-15
timeout-minutes: 60
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2

- name: Confirm the native target
run: |
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
--clean

- name: Upload proof evidence
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: fp64-aarch64-apple-darwin-evidence
path: ${{ runner.temp }}/fp64-aarch64-apple-darwin.json
Expand All @@ -228,8 +228,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2

- name: Install proof dependencies
run: |
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
--clean

- name: Upload proof evidence
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: fp64-x86-64-linux-gnu-evidence
path: ${{ runner.temp }}/fp64-x86-64-linux-gnu.json
Expand Down
80 changes: 39 additions & 41 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
filter: blob:none
- name: check style invariants
run: python3 scripts/check_style_invariants.py --base "origin/${{ github.base_ref || 'main' }}"
- name: Test benchmark profile selection
run: python3 -m unittest scripts.tests.test_benchmark_profiles -v

field-stack:
name: Shared field feature matrix
Expand Down Expand Up @@ -109,10 +111,10 @@ jobs:
- name: cargo clippy -p jolt-verifier --features akita
run: cargo clippy -p jolt-verifier --all-targets --features akita
# The akita fixture-driven tamper suite compiles under akita,prover-fixtures
# (the real packed prover generates its fixtures). Lint it explicitly.
# (the real Akita prover generates its fixtures). Lint it explicitly.
- name: cargo clippy -p jolt-verifier --features akita,prover-fixtures
run: cargo clippy -p jolt-verifier --all-targets --features akita,prover-fixtures
# The modular prover's packed (Akita) path: lint alone and with
# The modular prover's Akita path: lint alone and with
# prover-fixtures so the acceptance suites keep compiling.
- name: cargo clippy -p jolt-prover --features akita
run: cargo clippy -p jolt-prover --all-targets --features akita
Expand All @@ -132,7 +134,7 @@ jobs:
run: cargo clippy -p jolt-prover --all-targets --features profiling
- name: cargo clippy -p jolt-prover --features profiling,allocative
run: cargo clippy -p jolt-prover --all-targets --features profiling,allocative
# The packed profile harness: the same bin/smoke test driving
# The Akita profile harness: the same bin/smoke test driving
# akita::prove. Lint both flamegraph modes, like the Dory pair above.
- name: cargo clippy -p jolt-prover --features akita,profiling
run: cargo clippy -p jolt-prover --all-targets --features akita,profiling
Expand Down Expand Up @@ -178,7 +180,7 @@ jobs:
run: cargo clippy -p jolt-prover --all-targets --features prover-fixtures,field-inline,zk
- name: cargo clippy -p jolt-verifier --features prover-fixtures,field-inline
run: cargo clippy -p jolt-verifier --all-targets --features prover-fixtures,field-inline
# The packed field-inline combination: the full-width increment group rides the
# The Akita field-inline combination: the full-width increment group rides the
# dense-group heterogeneous batch beside advice.
- name: cargo clippy -p jolt-verifier --features field-inline,akita
run: cargo clippy -p jolt-verifier --all-targets --features field-inline,akita
Expand Down Expand Up @@ -409,10 +411,12 @@ jobs:
run: cargo install --path . --locked --force --profile ci --target-dir target
- name: Install nextest
uses: taiki-e/install-action@45fceba0fc176f41d2aee1ca9d6598ba628eea62 # nextest
# The Akita arm of the guest x mode matrix plus the packed-prover
# The Akita arm of the guest x mode matrix plus the Akita prover
# specifics: forced K=256, advice, committed-program, and live tampers.
- name: Run jolt-prover tests with akita feature
run: cargo nextest run --cargo-profile ci -p jolt-prover --features akita,prover-fixtures
- name: Test Akita profiling artifact and CSV names
run: cargo nextest run --cargo-profile ci -p jolt-prover --features akita,profiling --lib -E 'test(profile::tests)' --cargo-quiet

# NOTE: the profiling smoke test (`cargo nextest run -p jolt-prover
# --features profiling -E 'binary(profiling_smoke)'`) is deliberately not
Expand All @@ -426,19 +430,19 @@ jobs:
runs-on: ubuntu-latest
name: Test jolt-prover (field-inline matrix and e2e)
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
components: rust-src
cache: false
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
with:
shared-key: release-tests
save-if: false
cache-directories: ~/.cache/dory
- name: Cache ZeroOS musl toolchain
id: cache-zeroos-musl
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ~/.zeroos/musl
key: zeroos-musl-toolchain-musl-1.2.3-gcc-9.4.0-Linux-x86_64
Expand All @@ -451,7 +455,7 @@ jobs:
- name: Build and install jolt CLI
run: cargo install --path . --locked --force --profile ci --target-dir target
- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@badb8c3638e0b773c6c17a6025c2306a8f1c4303 # nextest
# e2e_matrix selects field_ops and muldiv for the field-inline
# profile. Run the full package to retain its specialized parity and
# tamper suites alongside matrix acceptance in both Dory modes.
Expand All @@ -466,21 +470,21 @@ jobs:

test-prover-akita-field-inline:
runs-on: ubuntu-latest
name: Test jolt-prover (packed field-inline matrix and e2e)
name: Test jolt-prover (Akita field-inline matrix and e2e)
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
components: rust-src
cache: false
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
with:
shared-key: release-tests
save-if: false
cache-directories: ~/.cache/dory
- name: Cache ZeroOS musl toolchain
id: cache-zeroos-musl
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ~/.zeroos/musl
key: zeroos-musl-toolchain-musl-1.2.3-gcc-9.4.0-Linux-x86_64
Expand All @@ -493,44 +497,46 @@ jobs:
- name: Build and install jolt CLI
run: cargo install --path . --locked --force --profile ci --target-dir target
- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@badb8c3638e0b773c6c17a6025c2306a8f1c4303 # nextest
# The same field_ops and muldiv matrix table runs over fp128.
# The full package also runs packed field-inline parity and tamper suites.
- name: Run packed field-inline matrix and specialized suites
# The full package also runs Akita field-inline parity and tamper suites.
- name: Run Akita field-inline matrix and specialized suites
run: cargo nextest run --cargo-profile ci -p jolt-prover --features prover-fixtures,field-inline,akita
# The combined-feature verifier unit suite (no fixtures).
- name: Run jolt-verifier with field-inline,akita
run: cargo nextest run --cargo-profile ci -p jolt-verifier --features field-inline,akita
# The combined-feature kernels unit suite: the composed packed field-inline
# The combined-feature kernels unit suite: the composed Akita field-inline
# kernels (akita parity tests with the field-inline geometry attached) run only
# under this pair.
- name: Run jolt-kernels with field-inline,akita
run: cargo nextest run --cargo-profile ci -p jolt-kernels --features field-inline,akita
# The packed field-inline provisioning checks and verifier fixture suite (the modular
# packed prover's eq-MLE proof; legacy-generated akita fixtures pin the
# The Akita field-inline provisioning checks and verifier fixture suite (the modular
# Akita prover's eq-MLE proof; legacy-generated akita fixtures pin the
# field-inline axis disabled).
- name: Run jolt-akita with field-inline
run: cargo nextest run --cargo-profile ci -p jolt-akita --features field-inline
run: >-
cargo nextest run --cargo-profile ci -p jolt-akita --features field-inline
-E 'not test(/field_inline_rows_cover_k16_w[248]r2_production_grid/)'
- name: Run jolt-verifier with prover-fixtures,field-inline,akita
run: cargo nextest run --cargo-profile ci -p jolt-verifier --features prover-fixtures,field-inline,akita --test-threads 1

test-verifier-field-inline-fixtures:
runs-on: ubuntu-latest
name: Test jolt-verifier (field-inline fixtures)
steps:
- uses: actions/checkout@v7
- uses: actions-rust-lang/setup-rust-toolchain@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2
with:
components: rust-src
cache: false
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
with:
shared-key: release-tests
save-if: false
cache-directories: ~/.cache/dory
- name: Cache ZeroOS musl toolchain
id: cache-zeroos-musl
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ~/.zeroos/musl
key: zeroos-musl-toolchain-musl-1.2.3-gcc-9.4.0-Linux-x86_64
Expand All @@ -543,7 +549,7 @@ jobs:
- name: Build and install jolt CLI
run: cargo install --path . --locked --force --profile ci --target-dir target
- name: Install nextest
uses: taiki-e/install-action@nextest
uses: taiki-e/install-action@badb8c3638e0b773c6c17a6025c2306a8f1c4303 # nextest
# The fixture-driven field-inline suites: valid-fixture acceptance
# (completeness/field_inline.rs) and the typed field-inline clear-claim tamper
# sweep (tampering/field_inline.rs), backed by fixtures the modular
Expand Down Expand Up @@ -584,7 +590,7 @@ jobs:
# The fixture-driven akita suites: valid-fixture acceptance
# (completeness/akita.rs) and the typed clear-claim, commitment-byte,
# proof-shape, and presence tamper sweeps (tampering/akita.rs), backed
# by fixtures the real packed prover generates at test time.
# by fixtures the real Akita prover generates at test time.
- name: Run jolt-verifier akita fixture and tamper suites
run: cargo nextest run --cargo-profile ci -p jolt-verifier --features akita,prover-fixtures --test-threads 1

Expand Down Expand Up @@ -618,13 +624,8 @@ jobs:
- name: Use the `jolt` binary to generate code
run: jolt new sample_project

- name: Pin jolt-sdk to current commit in Cargo.toml files
run: |
COMMIT_HASH=$(git rev-parse HEAD)
# Pin jolt-sdk in the host Cargo.toml
sed -i 's|jolt-sdk = { git = "https://github.com/a16z/jolt", features = \["host"\] }|jolt-sdk = { git = "https://github.com/a16z/jolt", rev = "'$COMMIT_HASH'", features = ["host"] }|' sample_project/Cargo.toml
# Pin jolt-sdk in the guest Cargo.toml
sed -i 's|jolt = { package = "jolt-sdk", git = "https://github.com/a16z/jolt" }|jolt = { package = "jolt-sdk", git = "https://github.com/a16z/jolt", rev = "'$COMMIT_HASH'" }|' sample_project/guest/Cargo.toml
- name: Use checked-out SDK in generated project
run: python3 scripts/ci/use_checkout_sdk.py sample_project

- name: Make sure the generated code runs
working-directory: ./sample_project
Expand Down Expand Up @@ -668,11 +669,8 @@ jobs:
- name: Generate sample project
run: jolt new sample_project

- name: Pin jolt-sdk to current commit
run: |
COMMIT_HASH=$(git rev-parse HEAD)
sed -i 's|jolt-sdk = { git = "https://github.com/a16z/jolt", features = \["host"\] }|jolt-sdk = { git = "https://github.com/a16z/jolt", rev = "'$COMMIT_HASH'", features = ["host"] }|' sample_project/Cargo.toml
sed -i 's|jolt = { package = "jolt-sdk", git = "https://github.com/a16z/jolt" }|jolt = { package = "jolt-sdk", git = "https://github.com/a16z/jolt", rev = "'$COMMIT_HASH'" }|' sample_project/guest/Cargo.toml
- name: Use checked-out SDK in generated project
run: python3 scripts/ci/use_checkout_sdk.py sample_project

- name: Set up prover and verifier scripts
run: |
Expand Down Expand Up @@ -903,7 +901,7 @@ jobs:
run: cargo nextest run --cargo-profile ci -p tracer --features test-utils --cargo-quiet
- name: Run tracer tests with field-inline
run: cargo nextest run --cargo-profile ci -p tracer --features test-utils,field-inline --cargo-quiet
# The packed chain's two-limb field value encoding on the tracer side.
# The Akita chain's two-limb field value encoding on the tracer side.
- name: Run tracer tests with field-inline,fp128-field-inline
run: cargo nextest run --cargo-profile ci -p tracer --features test-utils,field-inline,fp128-field-inline --cargo-quiet

Expand Down
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The proof system is split into focused crates under `crates/`. Top-level crates

Arkworks dependencies use a fork: `a16z/arkworks-algebra` branch `dev/twist-shout`, pinned in the root `Cargo.toml`.

**jolt-prover** — Prover orchestration for the staged Jolt protocol; Dory is the default PCS, `akita` selects the packed lattice path, and `zk` enables BlindFold.
**jolt-prover** — Prover orchestration for the staged Jolt protocol; Dory is the default PCS, `akita` selects the native lattice batching path, and `zk` enables BlindFold.

**jolt-verifier / jolt-claims** — Verifier staging and the symbolic protocol relations shared with the prover.

Expand All @@ -117,7 +117,7 @@ Arkworks dependencies use a fork: `a16z/arkworks-algebra` branch `dev/twist-shou

**common** — Shared constants (`XLEN`, `REGISTER_COUNT`, thresholds) and `JoltDevice`/`MemoryLayout` types

The SDK's `host` feature enables native build/prove APIs. On `jolt-prover`, `akita` selects the packed lattice protocol and is mutually exclusive with `zk`.
The SDK's `host` feature enables native build/prove APIs. On `jolt-prover`, `akita` selects the native lattice batching protocol and is mutually exclusive with `zk`.

### Key Type Parameters

Expand All @@ -134,7 +134,7 @@ T: Transcript<Challenge = PCS::Field>

1. **Preprocess**: `jolt-program` expands bytecode and builds the program/RAM view; the selected PCS builds prover and verifier preprocessing.
2. **Trace and witness**: `jolt-host`/`tracer` execute the guest; `jolt-witness` exposes trace-backed committed and virtual polynomials.
3. **Commit**: stage 0 commits the trace objects. Dory streams individual polynomials; Akita packs the one-hot trace and auxiliary objects.
3. **Commit**: stage 0 commits the trace objects. Dory streams individual polynomials; Akita commits the one-hot columns as one native group and auxiliary objects separately.
4. **Reduce**: `jolt-prover/src/stages/` proves stages 1–7 from the symbolic relations in `jolt-claims`.
5. **Open**: stage 8 reduces the remaining claims and dispatches the joint PCS opening.
6. **BlindFold**: ZK builds prove the committed sumcheck transcript with `jolt-blindfold`.
Expand Down
Loading
Loading