Repository navigation
Consolidated CertiFRI + multi-stark/ v6 128-Bit Formal Soundness, Native BLAKE3 AIR, & CUDA Prover - #9
Open
johnchandlerburnham wants to merge 154 commits into
Open
Consolidated CertiFRI + multi-stark/ v6 128-Bit Formal Soundness, Native BLAKE3 AIR, & CUDA Prover#9johnchandlerburnham wants to merge 154 commits into
CertiFRI + multi-stark/ v6 128-Bit Formal Soundness, Native BLAKE3 AIR, & CUDA Prover#9johnchandlerburnham wants to merge 154 commits into
Conversation
…ards, and multi-arity HVZK fix
…Goldilocks htensor elimination
Port binary & multi-arity tensor STARK soundness (unpruned & pruned MMCS,
single & batch, constraints & LogUp lookups) from full-transcript Hit
(c = ((B.shards+1)*maxRounds+3)/2) to SpongeCommitted (entryCap = 1),
giving collision term 3*N^2/(2*|D|) independent of B.shards and maxRounds.
- Exec/Stark/SpongeGoodLogTensor.lean: GoodLogSponge, prob_not_goodLogSponge_le,
spongeToFS, deriveSpongeA and prefix-stability helpers.
- Exec/Stark/SoundnessTensorSponge.lean: shard-level and end-to-end sponge
soundness (generic RbrSound + unconditional UD) for verifyTensor,
verifyBatchTensor (+pruned), verify{,Batch}TensorMultiArityPruned.
- ShardGoodTensor / MultiArity.StarkSoundness: oracle-agnostic
shard_goodTensor{,Multi}_of_doomedL reused verbatim (no duplication).
- P3/GoldilocksExt3{,MultiArity}Soundness: Fp3 instantiations incl.
Digest (2^256) / Digest64 (2^512), compact400KBBalanced, ultraCompact400KBZk.
- Audit128: axiom locks (strictly propext, Classical.choice, Quot.sound).
All existing full-transcript theorems kept unchanged.
…ndness
Lemmas A-E beyond the unique-decoding radius (2^(-lb) < theta^2), zero sorry,
axioms [propext, Classical.choice, Quot.sound]:
- Lemma A (JohnsonBall.decodeOnSet_eq, Link.exists_decoder_of_not_claimsFail):
coherence of all claims at one height on one agreement set, no StrictMargin.
- Lemma B (exists_ballFinset): per-circuit interleaved Johnson ball has <= L tuples.
- Lemma C (ConstraintFailJ/AlphaFailJ/ZetaFailJ, fractionLE_alphaFailJ/zetaFailJ):
list-quantified constraint and out-of-domain rounds, error L*cB/|K|, L*zB/|K|.
- Lemma D (claimsFail_of_zetaFailJ, sdoomedTensorJL / sdoomedTensorMultiJL,
good_of_*, shard_goodTensor{,Multi}J_of_doomedL): Johnson state functions with
per-circuit balls, error independent of #circuits, heights and #shards;
SupportedJ carries the runtime tensor cap (tensorCap_of_checkTensor{,Multi}).
- Sponge (c = 3/2) Johnson soundness, binary and multi-arity, single and batch
pruned: soundness_verify{Batch,}Tensor{,MultiArity}PrunedSpongeJ.
- Lemma E (P3/GoldilocksExt3JohnsonStark): roundErrJ <= (3/4)/2^128 under explicit
system-size bounds; PCS discharge for v6 (569/1024, 71/128; L = 5) and EP1
(compact400KBBalanced 77/256 L = 8, ultraCompact400KBZk 37/128 L = 10);
Digest64 corollary <= N/2^128 for any number of shards.
Residual (documented): no LogUp balance claim in the Johnson regime.
Document the Tier-2 full-Goldilocks tensor PCS theorems, sponge chaining (c = 3/2), and the Johnson-regime STARK soundness (Lemmas A-E) with concrete v6/EP1 instances. Record residuals honestly: no lookup-balance claim in the Johnson regime (L^(#circuits*S)), explicit system-size hypotheses, lb >= 1, runtime tensor cap. No Verifier.lean preamble hook needed (t4-ix-stark passes v6BatchInit as the initial challenger).
…r Fp^3
Prove unconditional single-shard (B.shards = 1, arbitrary #circuits and #heights)
Johnson-regime STARK soundness including global LogUp balance over GoldilocksExt3
(Fp^3) without unique decoding, for both binary (v6) and multi-arity (EP1) tensor
FRI with c = 3/2 incremental sponge ROM and literal Digest64 <= N / 2^128 bounds:
- Theory/PcsRbrTensorJoint.lean: single-set joint-agreement tensor FRI RbrSound
(doomedTensorJoint, doomedTensorMultiJoint) with per-level geometric-sum Round 0
union bound (<= 2 * eps_0 instead of (R + 1) * eps_0).
- Exec/Stark/JohnsonShardBall.lean: pullback interleaved Johnson list over the top
shard domain (|L_shard| <= L_J), single-shard LogUp (beta, gamma) Schwartz-Zippel
bounds multiplying error by only L_J (no L_J^S blowup), and constraint/zeta bounds.
- Exec/Stark/JohnsonShardLink.lean: link single-shard joint decoder to
ClaimsFailJoint and ClaimsFailJointMulti.
- Exec/Stark/StateTensorJohnsonLogup.lean: single-shard Johnson + LogUp RBR state
(sdoomedTensorJ1L, sdoomedTensorMultiJ1L) and roundErrJ1.
- Exec/Stark/SoundnessTensorJohnsonLogup.lean: generic c = 3/2 sponge ROM theorems
(soundness_verify{,Batch}Tensor{,MultiArity}PrunedSpongeJ1) proving SingleShardSoundJ.
- P3/GoldilocksExt3JohnsonLogup.lean: concrete <= (3/4)/2^128 and Digest64 <= N/2^128
instantiations for v6 (theta = 569/1024, 71/128; maxLogDegree + 2 <= 31),
EP1 compact400KBBalanced (theta = 77/256; full Goldilocks maxLogDegree + 4 <= 32),
and EP1 ultraCompact400KBZk (theta = 37/128; maxLogDegree + 4 <= 31).
- Audit128.lean: Milestone 5 #guard_msgs #print axioms locks (propext, Classical.choice,
Quot.sound only).
…preprocessed commitments
…ped profiles Adds the building blocks set out in docs/verified-128-bit-stark-design.md. Builds with `lake build --wfail` in both packages (9142 jobs in Proofs). Executable (Mathlib-free): - CertiFri/Stark/Admissible: Profile, numericOk, batchCoveredOk, FixedOk / HeightOk / LookupsPlain checkers, System.admissible. - CertiFri/Stark/VerifierZk: verifier for the hiding (v6-zk) proof shape, with a hidingMmcs wrapper for salted leaves. - CertiFriP3/Wire, VerifyBytes: byte decoders for key, claims and batch proof, and Profile.verifyBytes comparing verified with expected claims. Proofs: - AdmissibleSound: soundness of each check; Johnson instances restated over the Bool checks. - GoldilocksExt3Ud160: unique-decoding STARK soundness and lookup balance at (lb 2, q >= 160, pow 20), delta = 3071/8192. - Digest32Budget: N'/2^128 under 6 N' <= 2^128 for the 32-byte digest. - LookupsGeneral, JohnsonLookups, GoldilocksExt3JohnsonLookups: generalised LogUp sum identity, stage-1 Johnson ball, lookup-round events and bounds, joint-witness core, bad-log bounds for both Endpoint 1 profiles. - BalanceWeight, MultiplicityWeight, BalanceIntBatch: integer balance from field balance under a weight bound; sent = received for fixed-arity messages. - ShapeZk: hiding-shape facts and the single-circuit reduction of the check at zeta. - EncodingInjective, ChallengerUniform(Core), ByteOracle, ByteLink: hash input injectivity, exact rejection sampling, the byte-level experiment, and obstruction theorems for the ideal-to-byte link. - WireRoundTrip, VerifyBytesCovered: decoder round trips; acceptance implies the batch bounds. - Audit128/*: axiom pins for the above. Not yet proved: the Johnson lookup-balance headline, integer balance for prover-chosen table multiplicities, hiding-shape soundness, and the ideal-to-byte link (stated as ByteLinkObligation). See the design doc's "Corrections from the first implementation pass".
…hard
Proves the joint-witness soundness theorem for the pruned, sponge-chained
batch verifiers, binary and multi-arity
(soundness_verifyBatchTensor{,MultiArity}PrunedSpongeJBL): the probability
that an accepted, covered batch has no tuple in its circuit's Johnson ball
that both satisfies every constraint and has balanced lookup messages is at
most N' * eps + 3 N'^2 / (2 |D|), with eps bounding roundErrJB.
Hypotheses beyond the constraint-only Johnson theorems:
sys.circuits.size = 1, LookupsPlain for that circuit, (2 : K) != 0, and
B.shards = 1.
Adds concrete GoldilocksExt3 instances for compact400KBBalanced (L = 8) and
ultraCompact400KBZk (L = 10) at (3/4)/2^128 per query, and axiom pins.
No existing declaration is changed; the private sponge helpers needed are
copied into the new file. `lake build --wfail` passes (9143 jobs).
…the state function The shard and batch wrappers for the Johnson regime are now generic in a state function P that implies sdoomedTensor(Multi)JL and holds of the empty transcript, and additionally return `ShardTranscript P m0 l β γ`: the shard's transcript is in state P, with its first message read from the log's committed rows and its first two challenges. The constraint-only theorems instantiate P at the Johnson state; the joint constraint-and- balance theorems instantiate it at the state with the lookup rounds and finish with two arity-independent lemmas (`not_lookupFailJ_of_shardTranscript`, `exists_balanced_of_batchChecks`). Removes the copied helper lemmas and the duplicated JBL wrappers, and three older private duplicates (`baseRows_congr` in ShardGood and ShardGoodTensor, `sizes_of_shapeOkT`). `baseRows_congr`, `sizes_of_shapeOk`, `digestsIn_batchFirstMessageS` and `headerOk_of_shardOkS` become public. Statements of every `soundness_*` theorem are unchanged.
…es by checks
One `Profile` and `BatchBounds` (CertiFri/Stark/Admissible.lean), with the
FRI parameters, the size bounds, the list size `L`, `zk` and a new flag
`rejectInactivePreprocessed` (default false). `Profile.verifyBytes` and its
lemmas use it; `Profile.preambleOk` checks coverage and, under the flag,
`Admissible.fixedActiveOk` before the STARK verifier runs.
Proved:
- `Profile.verifyBytes_fixedActive`: under the flag, every accepted batch
activates, in every shard, every circuit with a fixed trace.
- `Admissible.openingOk_sound`: `maxWidthBound sys d ≤ 2^32`,
`maxOpeningsBound sys ≤ 2^32`, `maxLogDegree ≤ 32`.
- `Admissible.singleOk_sound`: one circuit, plain lookups for it under
`admissible`, one shard.
- `soundness_verifyBatchTensorMultiArityPrunedSpongeJBL_{compact400KBBalanced,
ultraCompact400KBZk}_checked` and `_digest32_checked`: the joint-witness
instances with `admissible`, `numericOk` (lookup rounds with factor L) and
`singleOk` in place of every hypothesis on the system and the bounds.
- `soundness_verifyBatchTensorPrunedSponge{,_lookups}_ud160_checked`: the
160-query instances over `admissible`, `numericOk` at L = 1 and `openingOk`.
- `soundness_verifyBatchTensorMultiArityPrunedSpongeJBL_*_digest32`:
`≤ N' / 2^128` under `6 N' ≤ 2^128` for the 32-byte digest.
The `_checked` instances move to P3/GoldilocksExt3Checked.lean, leaving
Exec/Stark/AdmissibleSound.lean generic. Docstrings of the
`_ultraCompact400KBZk` theorems state that they cover the non-hiding proof
shape only. All new theorems are pinned in Audit128 to
[propext, Classical.choice, Quot.sound] or a subset.
…ulti-stark The fixtures (CertiFriTest/vectors/stark/v6-bytes, from Ix's Tests/Fixtures/MultiStark) are accepted under a profile with the key's FRI parameters and the batch sizes as bounds, and rejected after flipped proof, claims or key bytes, truncation, tighter bounds, other parameters or a hiding profile. `admissible`, `numericOk` (L = 1) and `openingOk` hold on every key; `singleOk` only on single_no_prep. `two_shard` is accepted by default and rejected with `rejectInactivePreprocessed`. Fixed tables at another height are rejected; a nonzero commit grinding witness at zero bits is accepted, as in Plonky3. The design document records what the fixtures establish, that they use binary folding with 77 queries and 10-bit query grinding, and the inactive fixed-trace difference from Ix and the flag.
…ties Field balance of senders (small integer lifts) against table receivers (prover-chosen multiplicities) gives membership and counting by message, and integer balance with equal sent/received multisets when table entries are distinct. Adds executable checks with soundness for the sender/receiver classification, booleanity from c*(c-1) zeros, channel arity, and distinct entries of a fixed table, with corollaries for allItems, the unique-decoding lookup conclusion and the Johnson joint witness.
…ti-circuit Johnson balance Prove the design-C pinning lemma (an out-of-domain sample separates the members of a Johnson ball except on a C(L,2)*d/|K| fraction, additively over the (shard, circuit) pairs of a batch), the pinned state function over the rounds z0, beta, gamma with unique-decoding lookup errors, and the joint-witness core for balance across all circuits and shards. For the unchanged protocol, prove the L^P union bound over selections. Document why cross-shard balance at 128 bits fails for the multi-circuit profile: shards fork after beta, gamma, so an adversary with two codewords at agreement 5/8 per shard solves a subset-sum after the lookup challenges and grinds each shard's queries separately, at about 2^114.8 queries.
…s and shards Lift the selection-level lookup rounds to the pruned tensor batch verifiers (binary and multi-arity): a state function with the lookup rounds over selections of one stage-1 tuple per (shard, circuit) pair, its bad-log bounds, the transcript and batch-check glue across shards, and the soundness theorems with one witness per pair for constraints and balance over the whole batch. The lookup rounds cost L^(shards * circuits) times the unique-decoding errors, which the accompanying analysis shows cannot be avoided across shards without a protocol change.
# Conflicts: # Proofs/CertiFriProofs.lean # docs/verified-128-bit-stark-design.md
…607644) Preserves 100% of Batch 5b Blackwell CUDA kernels (Blake3Air 16-row chip, CompactNoLde cache, GPU-2b batched NTT/LDEs, GPU-3/GPU-4 packed Acc160 quotient + 128B padded NTT, GPU-5-keep warp-coalesced bit-rev selectors + 4x row-strip gather/scatter) and 100% of verified128/checkpoint-1's 250 Lean 128-bit knowledge-soundness proofs, stage-1 pinning (pinning.rs, batch.rs, verifier.rs), and byte fixtures. Also implements CudaTwoAdicFriPcs::open_with_known across resident GPU, streamed GPU, and CPU fallback paths so GoldilocksV6Config::open_with_known works identically under both CPU and --features cuda (preserving known z0 openings and passing values_from_the_commitment_are_not_evaluated_again on GPU).
…iRound pub(crate), needless_for_each)
…1 Merkle retention, 1x trace retention, and parallel small lookups
…lias MainCommitResult
…tree cap to 512 MiB
…ault on large-L2 GPUs)
…1x Stage-1 trace retention
…t scratch pool HWM
…kups, and SM-align global scratch
…eadroom-aware 512 MiB scratch budget
…in quotient JIT prologue
…axr=128, never spill Vars, and gate JIT on rows>=1M
…c blocks, unpin loop params, and add HotSpot 4B-work tier-up
…JIT worker pool + 512-node chunks + opt-in cubin disk cache
…2 to eliminate CPU contention and transient RSS
…otient JIT cache hashing/matching
arthurpaulino
previously approved these changes
Dec 3, 2026
johnchandlerburnham
dismissed
arthurpaulino’s stale review
December 3, 2026 15:59
The merge-base changed after approval.
arthurpaulino
previously approved these changes
Dec 3, 2026
johnchandlerburnham
dismissed
arthurpaulino’s stale review
December 3, 2026 16:10
The merge-base changed after approval.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope: Consolidates every active
CertiFRIworkstream (remediation/t4-certifri,verified128/checkpoint-1,jcb/certifri-batch5a,jcb/certifri-batch5b,jcb/opt3-ep1-turbo,jcb/certifri-v128-batch5b,jcb/certifri-p5-gpu,jcb/certifri-p6-s1retain, andjcb/certifri-p6-quotient) onto one unified, CI-green branch soix,aiur, andstark-shrinkercan pin a singleargumentcomputer/CertiFRIrevision.Summary of Changes
1. Formal 128-Bit Soundness, Extraction, & CI (
origin/main→verified128/checkpoint-1e607644)Preserved verbatim as an exact linear ancestor of
HEAD(0Lean diffs vsverified128/checkpoint-1):BatchedLineListCA,c = 3/2STARK Sponge Chaining, Johnson-Regime Tensor STARK Soundness, and Multi-Arity HVZK Fix #8 (remediation/t4-certifri2baa404): UnconditionalBatchedLineListCA,c = 3/2STARK sponge chaining, Johnson-regime tensor STARK soundness (including single-shardS = 1+ LogUp balance oververified128/checkpoint-1(e607644): Byte-level straight-line extractor and knowledge soundness for the pinned batch verifier with generated keys at the keyed soundness bound (with no residual hypothesis), executable fixed-trace commitments (pinned_three_shard), integer lookup balance semantics per channel, plain-statement row-level constraint enforcement, axiom-pin guards (scripts/CheckAxioms.lean), and unified CI (scripts/ci.sh+.github/workflows/ci.yml).2. Native BLAKE3 AIR, Prover Key Disk Cache, & Plonkish EP1-Turbo (
multi-stark/Batch 5a —8ee26cb..25f6370)Blake3AirChip & 3-Byte Plonkish Bridge (src/blake3_air.rs,src/plonkish/{builder,hash,stark,witness}.rs): Adds native 16-rowBlake3Airconstraints and compact 3-byte Plonkish hashing bridge (compact_hashtests), cutting EP1-Turbo compression proving overhead.src/cache.rs): Persistent, integrity-verified disk cache forSystemandProverKeypreprocessed commitments, plusCacheMode::CompactNoLde(.orig + .merkle + .meta, recomputing LDE on load) and safe 1× trace materialization outside snapshot locks.src/cuda/{mod,mmcs,pcs,sppark,witness}.rs,cuda/{kernels,sppark_ntt}.cu):781bd17,963ac67).9a299e9).8ee26cb).3. CUDA Kernel & Memory Pipeline Overhaul (
multi-stark/Batch 5b —3c1c111..90b0ead)3c1c111): Packed quotient bytecode IR, 12-instruction Goldilocks modular arithmetic (cuda/goldilocks.cuh), SMEM lookup evaluation, batched Stage 3, and 1 GiB temporary buffer cap.f5a5416): CoalescedAcc160quotient accumulation, padded NTT stride, tiled coset shift, and swizzled scatter.90b0ead): Warp-coalesced bit-reversed selectors, 4× row-strip gather/scatter, and stream synchronization / slab pool cleanup.4. Wave 5 GPU Memory Headroom & Stage-1 Retention (
jcb/certifri-p5-gpu—b118798..74976c7)cuda/pcs.rsproactive_spillCliff (7e4e06f): Replaced thesource_bytes >= total_bytes / 12(8.55 GB) premature spill trigger (which caused a6.1×lookup_sumregression above1.57Bcells with52–64 GiBVRAM free) with an actual low-headroom guard (source_bytes >= total_bytes / 4 && free_bytes < total_bytes / 3), unlocking2.0Bcells/shard on 96 GiB GPUs with zero NVMe spill.b118798,431c10f,e5e0320): Retains truncated Stage-1 Merkle trees up to a512 MiBcap with reuse hooks (100%Stage-1 tree reuse across aggregation joins) while dropping unretained 1× host traces promptly.b118798,e5e0320,74976c7): Defaulted off on large-L2 GPUs (where remat regresses BLAKE3 compression by+66–69%), preserved behindMULTI_STARK_QUOTIENT_REMAT_TARGETfor memory-constrained cards.5. Wave 6
P6-1Host Upload & Retention (jcb/certifri-p6-s1retain—43a2444..70ddeb6)128 MiBPinned Upload Ring +MADV_HUGEPAGE(43a2444,c37c611): Cuts Stage-1 R2 upload latency by-64.8%on joins while keeping peak VRAM flat.43a2444): Opt-in device-side 1× retention (off by default to preserve full 96 GiB headroom).70ddeb6): Restoredfirst_indexwave ordering after measuring+4.32 GiBconcurrent per-stream scratch pool pinning from LPT sorting.6. Wave 6
P6-2Quotient Occupancy & Zero-Stall Async Direct PTX HotSpot JIT (jcb/certifri-p6-quotient+f974649—fba2ede..f974649)All changes are strictly P0 (zero wire format, verifying key, or proof-byte changes):
P6-2aInterpreter Occupancy & Register Pressure (fba2ede):13×IPC collapse ontile=32/64SMEM launches (1 warp/SM,2.08%occupancy onsm_120): promotes< 192threads/SM circuits to L1/L2-backed global scratch withcudaSharedmemCarveoutMaxL1(128 KBL1/SM) and SM-alignedblocks = k * sm_count.Ext3lookup handlers (__noinline__), cuttingevaluate_quotient_packed_t<Ext3>register usage from166 → 148(STACK=0, LOCAL=0).P6-2bZero-Stall Async Background Direct PTX HotSpot JIT (cuda/quotient_jit.cuh,cuda/kernels.cu,src/cuda/mod.rs—7ba70db..5f1b4c8):libcuda.so.1(dlopen) and compiles hot SSA quotient graphs (rows >= 524,288, HotSpot4Bcumulative row-nodes) via an out-of-process lock-freeposix_spawn(ptxas -arch sm_XX -O1 -maxrregcount 128)worker pool (2workers atnice +15, envMULTI_STARK_QUOTIENT_JIT*), falling back cleanly to theP6-2ainterpreter on first hit or ifptxasis unavailable..param.funchelpers forext2_mul/ext3_mul,512-node.visible .funcchunk splitting, SSA linear-scan (16%sregisters) that never spillsVarloads to scratch (Blake32,368 → 64mem slots =-97.3%), algebraic constant identities, and headroom-aware512 MiBglobal scratch budget.MULTI_STARK_QUOTIENT_JIT_CACHE_DIR): Added explicit zero-initialized_pad: u32(static_assert(sizeof(ConstraintNode) == 32)) and field-by-fieldnodes_equal(5f1b4c8), achieving83/83(100.0%) cross-run cache hits with0.064stotalload_ms.f974649): Appliedcargo fmt --allacross 10 pre-existing files and updatedcuda_full_system_multi_arity_v6_zktrace heights(256, 2048, 512) → (512, 4096, 1024)to satisfyv6-zk's512minimum height check.Blackwell (
RTX PRO 6000 Blackwell Server Edition,sm_120,96 GiB) BenchmarksMeasured end-to-end on
ixcompiledIxVM(Init+Std,2.0Bdefault cell budget, zero NVMe spill, bit-exact aggregate rootaf371c00364cf07a908b11245f7da972036bf7c68a0206301f960d207db94e05, independently verified via Pure-CPU zero-CUDAix verify --aggregate):Init+StdWall>85G)quotient_evalproving1.0Bdefault)8:51.47p5-gpu74976c7,2.0B)7:31.99(-15.0%)80.77 GiB84.47 GiBP6-1(p6-s1retain70ddeb6)7:25.94(-16.0%)80.77 GiB84.47 GiB(0/446)82.68s271.6sP6-2a(fba2ede, interpreter)7:16.88(-17.8%)75.20 GiB84.41 GiB(0/437)52.92s(-36.0%)241.7s(-29.9s)P6-2bR7 Cold (5f1b4c8,2w +15)7:26.2274.09 GiB84.26 GiB(0/447)40.02s(-51.6%)231.4s(-40.2s)P6-2bR7 Warm (83/83 = 100%hit)7:37.26*88.07 GiB*84.66 GiB(0/458)26.08s(-68.5%/3.17×)216.6s(-55.0s/-20.3%)*On
Init+Std, wall clock is CPU-execution-bound (claim 5vsjoin 2tie shifted DAG scheduling by+12son the warm pass).Measured Full Mathlib (
689,237constants,1,191shards, 100% HONEST COLD, ZERO perf env overrides, ZERO NVMe spill)Measured on
ix@561ed4bd71pinning this exact branch (f974649452), bit-exact aggregate root8937429c8c1d9e20e71e94631a4a5e1ae4d86eb5f77f66fd71a3fad1bc986ee4, verified via Pure-Lean zero-FFIix verify --aggregate(3.46s,0.77 GiBRSS) +4/4tamper negative controls:74976c7)f9746494521h 25m 56s1h 17m 21s1h 08m 19s(4,099s)-9m 02s(-11.7%) /-17m 37s(-20.5%)prove(round2GPU)1,956.6s1,191.0s-765.6s(-12m 46s/-39.1%/1.64×!)proving(Claims + Joins)3,553.5s2,680.2s-873.3s(-14m 33s/-24.6%!)quotient(1,191sh)~1,150s(~59%)353.9s(31.7%)~3.25×faster (no longer #1!)>88 GiB) / Spills087.32 GiB/087.48 GiB(0/2,050 >88G) /0+0.16 GiB(flat),8.11 GiBheadroomaiur_shrinkerv3 (v6)1m 05.11s0m 48.55s(3.95 MB,2.60sCPU verify)-16.56s(-25.4%!)plonkishEP1-Turbo (v6)3m 51.3s3m 37.52s3m 35.50s(510.3 KiB,4.60 msSTARK verify)-2.0s/-15.8sVerification Results (
f974649452081214c0190fbb1470c37037af1402)multi-stark/CPU & CI (scripts/ci.sh multi-stark)cargo fmt --all -- --check: PASS (0diffs)cargo clippy --release --locked --all-targets --features parallel -- -D warnings: PASS (0warnings)cargo clippy --release --locked --all-targets --no-default-features -- -D warnings(at5f1b4c8): PASS (0warnings)cargo test --locked --profile dev-ci --features parallel: PASS (244/244passed,0failed,2ignored)multi-stark/CUDA (RTX PRO 6000 Blackwell,sm_120, CUDA 13.3)cargo clippy --release --locked --all-targets --features cuda,parallel -- -D warnings: PASS (0warnings)cargo clippy --release --locked --all-targets --features cuda -- -D warnings(at5f1b4c8): PASS (0warnings)cargo test --release --locked --features cuda,parallel -- --test-threads=1: PASS (307/307passed:260/260lib incl.cuda_full_system_multi_arity_v6_zk+47/47integration,0failed)MULTI_STARK_QUOTIENT_JIT=forceCUDA quotient suite (8default +6--ignored): PASS (14/14passed,231JIT compiles,0failures)MULTI_STARK_QUOTIENT_JIT=force MULTI_STARK_QUOTIENT_JIT_CHUNK_NODES=16: PASS (14/14passed)Formal Lean 4 Proofs (
CertiFri,CertiFriP3,CertiFriProofs)git diff origin/verified128/checkpoint-1..HEAD -- ':!multi-stark'is empty (0files changed) — all Lean sources, proofs, axiom checks, and CI scripts are bit-identical toorigin/verified128/checkpoint-1(e607644) and will be re-validated automatically by GitHub Actions (Lean build, kernel replay, axioms).origin/jcb/ep1-zk-verifier7de946fforv6-zkEP1 Lean soundness remains separate and is intentionally not included in this PR.)