Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
70d73e6
feat: implement aggregate-first lift/join pipeline
johnchandlerburnham Aug 27, 2026
c83f6d9
feat: add structural aggregate joins
johnchandlerburnham Aug 28, 2026
6ea4bba
feat: support single-shard aggregate roots
johnchandlerburnham Aug 28, 2026
ccf17ce
feat: audit aggregate recursion activation and parameters
johnchandlerburnham Aug 28, 2026
5646af6
feat: add verified aggregate proof cache
johnchandlerburnham Aug 28, 2026
614cf55
perf(aggregate): avoid repeated shard closure walks
samuelburnham Aug 28, 2026
a3372b6
feat: parallelize aggregate proof scheduling
johnchandlerburnham Aug 28, 2026
80854d1
bench(aggregate): add tiny Init pair end-to-end benchmark
samuelburnham Aug 28, 2026
6c20e1c
bench: measure aggregate flat joins
johnchandlerburnham Aug 28, 2026
5665aa3
Bump Rust toolchain to 1.98
samuelburnham Aug 22, 2026
b017104
Bump multi-stark: width-binding policy, height bound, P3 v0.6.0
samuelburnham Aug 22, 2026
093365d
Bump Blake3.lean and lean-ffi for Rust 1.98
samuelburnham Aug 24, 2026
428d6ac
bench: feed the recursive phase advice bytes, fix RecursionDebug's claim
samuelburnham Aug 24, 2026
4a265c7
aggregate: adapt recursion pipeline to pruned FRI proofs
johnchandlerburnham Aug 29, 2026
33c618d
feat: ixAggr heterogeneous recursive aggregation toplevel
arthurpaulino Aug 29, 2026
91d1dd1
aggregate: converge production pipeline on ixAggr
johnchandlerburnham Aug 29, 2026
b70042d
bench: add converged aggregate policy handoff
johnchandlerburnham Aug 29, 2026
eec6064
merge: main into aggregate-first
johnchandlerburnham Aug 30, 2026
b0b0172
feat: compress aggregate roots with SP1
johnchandlerburnham Aug 30, 2026
8846eed
fix: satisfy cargo-deny for SP1 dependencies
johnchandlerburnham Aug 30, 2026
c258a02
feat: implement complete Flock Stage 3 prover
johnchandlerburnham Aug 30, 2026
b55db69
feat: prepare Flock Stage 3 for production aggregates
johnchandlerburnham Aug 31, 2026
18eb42b
test: report Flock Stage 3 phase timings
johnchandlerburnham Aug 31, 2026
3fb6d04
fix(nix): stabilize LSpec fetch and Flock source tracing
johnchandlerburnham Aug 31, 2026
eee28fd
perf(flock-stage3): eliminate padded prover overhead
johnchandlerburnham Aug 31, 2026
5d6946d
fix(ci): refresh parallel feature lockfile
johnchandlerburnham Aug 31, 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
764 changes: 764 additions & 0 deletions Benchmarks/AggregatePolicy.lean

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Benchmarks/Compile/lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "db25a8a21579d8211eec4347402721f5674bf2c1",
"rev": "e6e908bfd3af607ab44fb462fa2276a2c81addba",
"name": "Blake3",
"manifestFile": "lake-manifest.json",
"inputRev": "db25a8a21579d8211eec4347402721f5674bf2c1",
"inputRev": "e6e908bfd3af607ab44fb462fa2276a2c81addba",
"inherited": true,
"configFile": "lakefile.lean"},
{"url": "https://github.com/argumentcomputer/LSpec",
Expand Down
20 changes: 14 additions & 6 deletions Benchmarks/RecursionDebug.lean
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,24 @@ def proveConst (ixePath constName : String) (skipDeps : Bool)
match aiurSystem.proveAddrWithEnv funIdx envHandle addr.hash with
| .error e => IO.eprintln s!"proveAddrWithEnv failed: {e}"; return none
| .ok (claimBytes, proof, _) =>
-- `verify_claim`'s public input is the 32-G blake3 digest of the
-- serialized `Ix.Claim` (same recipe as `ix verify` / bench-typecheck).
-- `verify_claim`'s public input is the packed blake3 digest of the
-- serialized `Ix.Claim` (same recipe as `ix verify` / bench-typecheck:
-- 8 G elements of 4 LE bytes each, `ClaimHarness.packedDigestKey`).
let digest := Address.blake3 claimBytes
pure (Aiur.buildClaim funIdx (digest.hash.data.map .ofUInt8) #[], proof)
pure (Aiur.buildClaim funIdx (IxVM.ClaimHarness.packedDigestKey digest) #[], proof)
let t1 ← IO.monoNanosNow
let proofBytes := proof.toBytes
IO.println s!"inner prove: {secs t0 t1} s, proof {proofBytes.size} bytes"
IO.println s!"inner prove: {secs t0 t1} s, proof {proof.toBytes.size} bytes"
-- Sanity: the inner proof must verify out-of-circuit before we chase the
-- recursive verifier.
match aiurSystem.verify claim proof with
| .ok () => IO.println "inner proof verifies out-of-circuit: ok"
| .error e => IO.eprintln s!"⚠ inner proof FAILS out-of-circuit verify: {e}"
return some (proofBytes, aiurSystem.vkBytes, MultiStark.serializeClaims #[claim])
-- The in-circuit verifier consumes the per-query advice transport, not
-- the pruned-multiproof wire format.
match aiurSystem.proofToAdviceBytes claim proof with
| .error e => IO.eprintln s!"advice re-encoding failed: {e}"; return none
| .ok adviceBytes =>
return some (adviceBytes, aiurSystem.vkBytes, MultiStark.serializeClaims #[claim])

def main (args : List String) : IO UInt32 := do
let ixePath := (argStr args "--ixe").getD "init.ixe"
Expand All @@ -126,6 +131,9 @@ def main (args : List String) : IO UInt32 := do
let mode := (argStr args "--mode").getD "native"
let skipDeps := args.contains "--skip-deps"
let fri := friParams (argNat args "--queries" 100)
if fri.numQueries == 0 then
IO.eprintln "error: --queries must be positive"
return 1
let depth := argNat args "--depth" 2
let stackLimit := argNat args "--stack" 40
IO.FS.createDirAll dir
Expand Down
323 changes: 301 additions & 22 deletions Benchmarks/Typecheck.lean

Large diffs are not rendered by default.

Loading