Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
ef6c2a3
chore(deps): bump CertiFRI pin to 2baa404 (S=1 Johnson STARK + LogUp …
johnchandlerburnham Nov 30, 2026
cdff478
feat(ixon,cli): add unhashed Ixon §7 binary CircuitMeta and IX_FORMAL…
johnchandlerburnham Nov 30, 2026
d9d84b9
feat(ixcc): certified Def.pap, Ent.fn lvl, depth-64 classifyDomain, c…
johnchandlerburnham Nov 30, 2026
3fd908f
feat(aiur): add certified Builtin.ptrEq, O(N) batched optimizer/group…
johnchandlerburnham Nov 30, 2026
8a8c8b3
feat(ixck): add certified fast-checker Env/Checker/Verify modules and…
johnchandlerburnham Nov 30, 2026
3394d98
feat(ixcc-aiur): certified FIR/lowering passes, IxonSchedule, Witness…
johnchandlerburnham Nov 30, 2026
69a3278
feat(ixcc-aiur): add single-source IxCCAiur.IxVM verified claim-check…
johnchandlerburnham Nov 30, 2026
68b6064
feat(aiur,tracegen,stark-key): wire-limit audit, ABI-6 arenas, bundle…
johnchandlerburnham Nov 30, 2026
312a418
feat(ix-prover,ixvm,runtime): add ixvm-proof pin/vk-audit/bench-compa…
johnchandlerburnham Nov 30, 2026
1a45797
ci,docs: wire IxCCAiur.IxVM, additive IxCK audits, and compiler docs
johnchandlerburnham Nov 30, 2026
c6838ed
security,docs: remove IX_FORMAL_KEYS/IX_ROOT_LAYOUT verify overrides,…
johnchandlerburnham Nov 30, 2026
74ad11b
fix(cert,ixcc-aiur): handle Builtin.ptrEq in ProgramPins, port TypedC…
johnchandlerburnham Nov 30, 2026
83288e0
perf(ixck): certified fast-checker ExprMeta, zero-fuel level eval, si…
johnchandlerburnham Nov 30, 2026
9e760e9
fix(ixcc-aiur): replace deprecated if_pos/if_neg with ite_eq_left/ite…
johnchandlerburnham Nov 30, 2026
9ad99cb
ci,cli,docs: add aggr-only VerifyContext, formal_generated byte traci…
johnchandlerburnham Nov 30, 2026
fbbbbb0
fix(ixcc-aiur): update SplitFastpath and PolyFunSpecialize proofs for…
johnchandlerburnham Nov 30, 2026
1f358ed
fix(cert): update AiurCompression.Consistency proofs for O(N) Aiur.Op…
johnchandlerburnham Nov 30, 2026
9764582
fix(ixcc): thread cfg.maxBackWork through BigNatReplay Recheck.anfOf
johnchandlerburnham Nov 30, 2026
0bf8072
fix(cert): close allocateColumns_eq and layOut_minimalConfig_eq in Ai…
johnchandlerburnham Nov 30, 2026
350f4f1
chore(pins): regenerate tools/formal-aiur.keys for Aiur optimizer upd…
johnchandlerburnham Nov 30, 2026
27d97da
fix(ixck): gate same-head spine congruence on ReducibilityHint.sameRe…
johnchandlerburnham Nov 30, 2026
6d0ffd6
refactor(ix-prover): remove heal-probe and hand-written fallbacks, re…
johnchandlerburnham Nov 30, 2026
8b8f2d0
fix(ixcc-aiur): close fastDedupExpr nil goal in Compression.EndToEndC…
johnchandlerburnham Nov 30, 2026
fb156e3
fix(ixcc-aiur): use pure NatSet in TypedRep to keep TypedClaimExt fre…
johnchandlerburnham Nov 30, 2026
f2fce0a
fix(ix-prover): unify lifetime 'a in option_some_payload_width
johnchandlerburnham Nov 30, 2026
95a1768
chore(ixcc): refresh trusted-externs ledger hashes and audited ix-ker…
johnchandlerburnham Dec 1, 2026
1eba3be
fix(ixcc-aiur): tighten Audit axiom fences for constructive TypedClai…
johnchandlerburnham Dec 1, 2026
eb1c40a
perf(ixcc-aiur): schedule certified IxCK fast-checker and sameRegular…
johnchandlerburnham Dec 1, 2026
3c1e34c
fix(ixck): drop unused _fuel parameter from ProjEntry.fireOkPure and …
johnchandlerburnham Dec 1, 2026
0a55c18
perf(ixcc-aiur): seed unused-fuel pass helpers in FuelErase and port …
johnchandlerburnham Dec 1, 2026
5d94bd0
proof(ixcc-aiur): compose certified Fir pass chain backward soundness…
johnchandlerburnham Dec 1, 2026
1173140
proof(ixcc-aiur): name the certified dead-field erasure witness in ru…
johnchandlerburnham Dec 1, 2026
61a034a
proof(ixcc-aiur): decidable checker for the inline-fuse backward side…
johnchandlerburnham Dec 1, 2026
c641691
proof(ixcc-aiur): structural recursion fix in noLetShadowB_sound; pin…
johnchandlerburnham Dec 1, 2026
192d992
feat(bignat): whole-program lowerProgramWithBigNat backward soundness…
johnchandlerburnham Nov 30, 2026
1a14ecc
feat(typed): word-primitive tPrimE backward lemmas (w32/w64 arith+bit…
johnchandlerburnham Nov 30, 2026
beadf83
feat(typed): checkTypedWorldWithWordBase pins UInt64::add/from_fields…
johnchandlerburnham Nov 30, 2026
d46ec3e
feat(ixcc-aiur): add CompressionLowerBridgeGen, OracleBackwardSim, an…
johnchandlerburnham Dec 1, 2026
b666325
chore(ixcc-aiur): pin BigNat, TypedWordBackward, CompressionLowerBrid…
johnchandlerburnham Dec 1, 2026
38b205b
feat(ixcc-aiur): port --certified-compile/--max-degree/--drop-intrins…
johnchandlerburnham Dec 1, 2026
894261e
fix(ixcc-aiur): avoid List field projection on OracleLog in not_hasBl…
johnchandlerburnham Dec 1, 2026
aa4dbb7
hardening: enforce tensor cap in verify-multistark, add IxCCAiur runt…
johnchandlerburnham Dec 1, 2026
bc09404
fix(ixcc-aiur): wrap multi-line checkRuntime calls in run_cmd do
johnchandlerburnham Dec 1, 2026
b537742
fix(ixcc-aiur): admit standard-axiom Mathlib compile_inductive csimps…
johnchandlerburnham Dec 1, 2026
98b76f1
feat(ixcc-aiur): prove standalone semantic Eval soundness in IxVM.Eva…
johnchandlerburnham Dec 1, 2026
3ee9dba
fix(ixcc-aiur): resolve Lean 4.34 elaboration and linter errors in Ix…
johnchandlerburnham Dec 1, 2026
bb2d58f
fix(ixcc-aiur): pass explicit subterm implicits in exprNoBinders fvar…
johnchandlerburnham Dec 1, 2026
2b168a6
ci: wire IxVM.EvalSound, IxVM.RuntimeAudit, FirPassCompose, InlineFus…
johnchandlerburnham Dec 1, 2026
b2b4ebb
ci: include Ix/DynamicLink/** in ixcc-aiur path filter
johnchandlerburnham Dec 1, 2026
804cc3f
ixcc-aiur: write PACKAGE.ixa.demand.json recording the compiled funct…
johnchandlerburnham Nov 30, 2026
523c321
Audit BLS compression release path and fix 19-op native BigNat compil…
arthurpaulino Nov 30, 2026
c133e26
ixcc/ixcc-aiur: clear Filecoin terminal defun.budget (port of 68d3e25…
arthurpaulino Dec 1, 2026
a7f090e
ixcc: fix certified 17-op --bignat runtime natOverflow and CLI ix lookup
arthurpaulino Nov 30, 2026
7de0bde
fix(ixcc): align Hostile.{betaMoves,retryLater} with Walk's 64/4096 m…
johnchandlerburnham Dec 1, 2026
4d5c135
perf(aiur-codegen): inline DirectHintKind word hints in native execut…
johnchandlerburnham Dec 1, 2026
e37ec6b
fix(aiur): remove redundant 0xff mask in direct-hint fallback test
johnchandlerburnham Dec 1, 2026
500b5ec
feat(ixck): re-home standalone native-op prim-equation reductions und…
johnchandlerburnham Dec 1, 2026
68600d3
feat(ixcc-aiur): add PrimEqnsBridge connecting checkRoleEquationsPure…
johnchandlerburnham Dec 1, 2026
25e0f24
ci: wire IxCK.Kernel.Binding.Audit and IxCCAiur.IxVM.PrimEqnsBridge i…
johnchandlerburnham Dec 1, 2026
4a36b6d
fix(ixcc-aiur): wrap Json.str literals in demandProbeJson HAppend lists
johnchandlerburnham Dec 1, 2026
251c283
fix(ixcc-aiur): annotate Lean.Json binders in writeDemandAdvice
johnchandlerburnham Dec 1, 2026
7de4283
perf(aiur,ix-prover): add untrusted fast Pass-1 demand engine with 50…
johnchandlerburnham Dec 1, 2026
447d4f1
perf(ixck,ixcc-aiur): let-only annotate skip (ExprMeta.hasLet), synta…
johnchandlerburnham Dec 1, 2026
60ed029
perf(ixcc-aiur): zero-guess splitRadix6Fast for IxVM address tries an…
johnchandlerburnham Dec 1, 2026
410c274
fix(ixcc-aiur): align EvalSound.planInterleavedLoopCircuit_steps_witn…
johnchandlerburnham Dec 1, 2026
b558e80
perf(aiur,ixcc-aiur): port GroupingSearch v6 with measured singletonS…
johnchandlerburnham Dec 1, 2026
2c9ca9e
feat(translate): harvest proof-producing Lean-to-SrcEval translator (…
johnchandlerburnham Dec 1, 2026
85bcdd1
ci: build and kernel-replay IxCCTranslate and IxCCAiur.Translate targets
johnchandlerburnham Dec 1, 2026
3fee672
perf(ix-prover): raise eager keep-trace threshold from 95% to 85%
johnchandlerburnham Dec 1, 2026
44648a2
feat(ixck): add DeclRunJ environment weakening suite and audit
johnchandlerburnham Dec 1, 2026
877162b
ci: register IxCK.Kernel.Audit.DeclWeakenAudit in leanchecker, CheckC…
johnchandlerburnham Dec 1, 2026
be4b9f6
feat(aiur,ixcc-aiur): discharge FirPassCompose clock bound from Aiur …
johnchandlerburnham Dec 1, 2026
8f6eaae
feat(ixck,ixcc-aiur): verified 19 non-Nat native ops with dynamic ixv…
johnchandlerburnham Dec 1, 2026
7bc89e0
ci: register new IxCK native-op modules in CheckCiFilters
johnchandlerburnham Dec 1, 2026
315caea
feat(ixcc-aiur): add WireLift parser refinement and zero-side-conditi…
johnchandlerburnham Dec 1, 2026
580c5c5
feat(ixcc,ixcc-aiur): add StructuredFront, InlineFuseDriverBridge, an…
johnchandlerburnham Dec 1, 2026
2aca303
perf(ixcc-aiur): selective single-call InlineFuse cap and call-weight…
johnchandlerburnham Dec 1, 2026
09dbda4
feat(ixcc-aiur): certified targeted PartialEval mode (no store deferr…
johnchandlerburnham Dec 1, 2026
5431e8c
GroupingSearch: model GPU quotient cost, slot occupancy/spill cliffs,…
johnchandlerburnham Dec 1, 2026
d20e262
perf(aiur): opt-in FRI-aware lookup_groups::retune policy and direct …
johnchandlerburnham Dec 1, 2026
5ce475e
perf(aiur,ix-prover): overlap lane prover init, lazy Aggr, shared Sys…
johnchandlerburnham Dec 1, 2026
4c2bd99
perf(aiur,cuda): per-shard device records, VRAM-safe Prefetch, and 1 …
johnchandlerburnham Dec 1, 2026
fc0fb74
feat(aiur,cuda): wire horizontal chip vectorization (lanes > 1) in Ru…
johnchandlerburnham Dec 1, 2026
993d29d
feat(ixon/shard): smallest-first claim-0 ordering, configurable parti…
johnchandlerburnham Dec 1, 2026
079fcc5
fri/pcs: support multi-arity FRI (max_log_arity 1..=3) and log_final_…
johnchandlerburnham Dec 1, 2026
9e46d89
chore(deps): pin multi-stark to CertiFRI b2b8b62dd2de (streaming quot…
johnchandlerburnham Dec 1, 2026
b5c477c
ci: register WireLift, StructuredFront, InlineFuseDriverBridge, and B…
johnchandlerburnham Dec 1, 2026
cf72ce1
fix(proof-compression): add 'static bounds on system_with_slots for m…
johnchandlerburnham Dec 1, 2026
75a9f52
fix(ixcc-aiur): project natCoreProgram to coreProgram in BoundSound.l…
johnchandlerburnham Dec 1, 2026
eb0a149
perf(ixvm-schedule): split hot/cold dispatchers and ungroup wide hot …
arthurpaulino Dec 1, 2026
c77343d
perf(ixvm,bignat): O(N) 64-bit-limb Nat blob decoding and klimbs_mul …
arthurpaulino Dec 1, 2026
0ff9f1e
perf(ixvm): bottom-up zetaElimAssumedFuel with O(1) hasLetFO skips
arthurpaulino Dec 1, 2026
71324b2
polish(ixvm): clean up dead hasLetEFO, docstrings, chunk boundary & z…
johnchandlerburnham Dec 1, 2026
9e4732e
IxonWire: fuse share conversion & binder annotation into 1-pass botto…
johnchandlerburnham Dec 1, 2026
f419a21
IxonWire: 3-word WExpr, 5-word WConstRefs, and 4-call hot parseWExprFuel
johnchandlerburnham Dec 1, 2026
bc81d24
proof(wirelift): update WExpr 3-word layout and 3-tier parseWExprFuel…
johnchandlerburnham Dec 1, 2026
5e70fbd
perf(ixck,ixcc-aiur): narrow exprMetaFO, d=0 instantiate fastpaths, a…
johnchandlerburnham Dec 1, 2026
69ef7f6
perf(blake3): fuse add/xor-rotate range checks and unroll 7-round com…
johnchandlerburnham Dec 1, 2026
ee679db
perf(multistark): hoist OOD dot products, distinct-height MMCS check,…
johnchandlerburnham Dec 1, 2026
80b899d
feat(multistark,cert): table-backed fixed kind=0 IxVM VK in ix_aggr +…
johnchandlerburnham Dec 1, 2026
89272c0
proof(ixck): K1-K5 partition coherence, Red.deltaThm elimination, and…
johnchandlerburnham Dec 1, 2026
bc02351
perf(shard,lanes,ix-prover,aiur): SmallestFirst default, IX_TARGET_SH…
johnchandlerburnham Dec 1, 2026
d246921
feat(stark-shrinker,proof-compression): native Blake3Air EP1-Turbo, P…
johnchandlerburnham Dec 1, 2026
90ca5c1
feat(cli,ffi,ix-prover,aiur): wire Blake3Air, compact 8-ary normalize…
johnchandlerburnham Dec 1, 2026
c530654
ci: register PartitionAudit (S3-3) and FixedIxvmKey (W3-10) in ci.yml…
johnchandlerburnham Dec 1, 2026
d63766f
feat(prover,controller,ffi,cli): wire fixed kind=0 IxVM VK ix_aggr en…
johnchandlerburnham Dec 1, 2026
680b722
chore(ix-prover): clear clippy map_err_ignore and as_chunks lints in …
johnchandlerburnham Dec 1, 2026
8b87b5c
perf(prover,lanes): overlap Aggr prover warm-up with leaf proving and…
johnchandlerburnham Dec 1, 2026
4fd8951
perf(ixck): IXCK-1 (constsResolveIdx, lamPW, Annot.letE') + IXCK-2 (4…
johnchandlerburnham Dec 1, 2026
ba2aa19
proof(ixck): pure-Nat UTF-8 string-literal decode + equivalence proof…
johnchandlerburnham Dec 1, 2026
7203c8b
perf(aiur,ixcc-aiur): IXCC-1 narrow sub_borrow_u32 / constCmpExpr + A…
johnchandlerburnham Dec 1, 2026
3e489b1
proof(ixcc-aiur): BigNatLower whole-program end-to-end backward sound…
johnchandlerburnham Dec 1, 2026
f38713e
proof(ixcc-aiur): certified structured-parameter reader and entry bac…
johnchandlerburnham Dec 1, 2026
1cf346e
ci,cert: bump pinnedAggregateDigest for W3-5 AGGR-1 and wire Utf8NatA…
johnchandlerburnham Dec 1, 2026
e9d46d9
fix(ixcc-aiur): sync PrimEqnsBridge, BoundSound, and BigNatWholeProof…
johnchandlerburnham Dec 1, 2026
34c35b5
soundness(aiur,ixcc-aiur): certify per-chip degree budgets via Artifa…
johnchandlerburnham Dec 1, 2026
0603414
soundness(ixcc-aiur): add BoundSound certifiers for BytesPrim, CodecP…
johnchandlerburnham Dec 1, 2026
c6250a5
chore(deps): bump multi-stark to certifri-batch5b 3c1c111354 (GPU-3a+…
johnchandlerburnham Dec 1, 2026
afd3f4a
perf(aiur,ixcc-aiur): extend AIUR-1 to K=8/16, unlock deg-2 retune, C…
johnchandlerburnham Dec 1, 2026
ee7088c
soundness(ixck): add synthetic 108-role Binding non-vacuity witness a…
johnchandlerburnham Dec 1, 2026
8a62137
soundness(aggr): add compiled-leaf aggregation instance and 128-bit s…
johnchandlerburnham Dec 1, 2026
ac92d8f
chore(deps): bump multi-stark to certifri-batch5b f5a5416c1f (GPU-4)
johnchandlerburnham Dec 1, 2026
d947e36
soundness(ixcc-aiur): add BigNatChainBridge clock-bounded, BigBoundSo…
johnchandlerburnham Dec 1, 2026
8ccf877
perf(aiur): add vec-aware singleton cost to GroupingSearch for zero-s…
johnchandlerburnham Dec 1, 2026
9974bdc
perf(compress): skip IxVM load, tune mimalloc purge delay, and defaul…
johnchandlerburnham Dec 1, 2026
09c8f15
perf(aiur-cuda): stream-ordered async mempool and batched slab upload…
johnchandlerburnham Dec 2, 2026
0863922
chore(deps): bump multi-stark to certifri-batch5b 90b0ead1a8 (GPU-5-k…
johnchandlerburnham Dec 2, 2026
eeea3ed
soundness(ixvm,ix-prover): close Stage-1 ClaimVerify gaps, add pure V…
johnchandlerburnham Dec 2, 2026
0de0820
chore(pins): regenerate formal-aiur.keys and closure manifests for Ba…
johnchandlerburnham Dec 2, 2026
84af12b
soundness(ixcc-aiur): add end-to-end compiled IxVM soundness chain Ix…
johnchandlerburnham Dec 2, 2026
0f61a43
fix(ixvm): normalize def-hidden inductive telescopes in synthRecIfMis…
johnchandlerburnham Dec 2, 2026
16bf1e0
fix(ixvm): remove duplicate docstring above effPreForDecls
johnchandlerburnham Dec 2, 2026
bcd3284
fix(ixvm): skip compiler-trust opaque roles in Binding seeds and add …
johnchandlerburnham Dec 2, 2026
ed9cb60
fix(ixvm): eliminate match-splitter continuation lambda in verifyOneM…
johnchandlerburnham Dec 2, 2026
ee8104b
ix-prover: fix lazy_assumed major-block bumps, overlay-guided Phase-1…
johnchandlerburnham Dec 2, 2026
4bc46a8
ix-prover: pass out explicitly in overlay_edges_of and drop unused De…
johnchandlerburnham Dec 2, 2026
1c15596
aiur(demand): clear-and-keep-memoizing MemoAdaptive tables with epoch…
johnchandlerburnham Dec 2, 2026
8de437b
aggregate-controller: backfill ready joins into hungry GPU gaps and b…
johnchandlerburnham Dec 2, 2026
88004cd
ixcc-aiur: harden BigNatLower natSub 0 on .obj via obj_nat_sub and dr…
johnchandlerburnham Dec 2, 2026
4c98df1
ixcc-translate: adapt CD3 translator & box runner for PureVerify and …
johnchandlerburnham Dec 2, 2026
a6e8189
ixcc-translate: fix export stub, irrelevant let, HK type rels, induct…
johnchandlerburnham Dec 2, 2026
093ae1f
ixcc-translate: simplify List.length before decide in fire_nat_rec / …
johnchandlerburnham Dec 2, 2026
1e1b7eb
ixcc-translate: add List.length_append and drop redundant decide on C…
johnchandlerburnham Dec 2, 2026
a957e00
ixcc-translate: add missing do keywords before nested mkSlotQ in synt…
johnchandlerburnham Dec 2, 2026
6903442
IxCCTranslate: support erased-argument beta-redexes and type-like fun…
johnchandlerburnham Dec 2, 2026
b23f8df
IxCCTranslate: guard processEq/provePre/closeByContra against default…
johnchandlerburnham Dec 2, 2026
16ea5b9
IxCCTranslate: bump isSimpleExpr fuel 4 -> 32 for deeply nested tuple…
johnchandlerburnham Dec 2, 2026
8ea374e
IxCCTranslate: supply explicit relation/encoder args in RootUse.lean.…
johnchandlerburnham Dec 2, 2026
3cd222d
ci,audit(s4-1): restore CI green (lamPW, CompiledCert, KernelLayout/T…
johnchandlerburnham Dec 2, 2026
4a3caee
ci,audit(s4-1): apply rustfmt, fix remaining 12 clippy lints, Decl.Co…
johnchandlerburnham Dec 2, 2026
6ad539f
ci(s4-1): add IxGroth16Verifier.sol to flake.nix and complete remaini…
johnchandlerburnham Dec 2, 2026
b735518
ci,audit(s4-1): refresh IxCC trust ledger pins (F1-06/K4) and add fin…
johnchandlerburnham Dec 2, 2026
a6fc878
ci(s4-1): add final lamPW case in IxVMRefinement.Decl.NativeRec
johnchandlerburnham Dec 2, 2026
e23f155
ci(s4-1): fix positional @lamPW pattern in NativeRec.lean:430
johnchandlerburnham Dec 2, 2026
d1d9c5f
perf(lanes,ix-prover): P5-1 P0 scheduler, calibrated admission, post-…
johnchandlerburnham Dec 2, 2026
8c6c528
style(lanes): fix rustfmt and clippy::map_err_ignore in lanes.rs
johnchandlerburnham Dec 2, 2026
49b80f8
fix(aiur): extract boolean covers & affine sums in check_enables fixp…
johnchandlerburnham Dec 2, 2026
b508055
style(aiur): fix rustfmt and cast_possible_truncation in check_enables
johnchandlerburnham Dec 2, 2026
f3b29ed
MultiStark/Aiur: add BLS12-381 compression stage programs and StarkSh…
johnchandlerburnham Dec 2, 2026
b747549
feat(compression): stage manifest precheck, pinned Ignition anchors, …
samuelburnham Nov 30, 2026
2e7a0a0
docs: endpoint security review (trusted setups, transparent regime, o…
samuelburnham Nov 30, 2026
fb24aa2
feat(aiur): add a constrained BLS12-381 pairing library
samuelburnham Nov 30, 2026
2272fbe
feat(multistark): narrow terminals check the pairing in the relation
samuelburnham Nov 30, 2026
72ee01a
IxCC: fold certified x86-64 backend, IxCCCorrect, ArrayInline, .rodat…
johnchandlerburnham Dec 2, 2026
eec852e
Endpoint 1: add Lean-compiled Aiur shrinker (IXSTARK6 v3) side-by-sid…
johnchandlerburnham Dec 2, 2026
03f31ec
ix verify: cut over to pure-Lean StarkKey.validateV6 + verifyBatchByt…
johnchandlerburnham Dec 2, 2026
2b0d86b
proof-compression, Tests: fold alpha-release security review fixes fr…
johnchandlerburnham Dec 2, 2026
b39b66c
proof-compression: auto-derive release pins from tools/formal-aiur.ke…
johnchandlerburnham Dec 2, 2026
bf65d37
docs, Cli: align CompressionCli error parity, CheckFormalKeys docstri…
johnchandlerburnham Dec 2, 2026
432dd32
proof-compression: fix BLS12-381 label assertion, non-parallel kzg bu…
johnchandlerburnham Dec 2, 2026
5776546
proof-compression: assert canonical zero witness rejection in plonkis…
johnchandlerburnham Dec 2, 2026
634062d
formal-keys: pin 6 Endpoint 1 Aiur shrinker v3 keys for 216ff47b veri…
johnchandlerburnham Dec 2, 2026
50a3f5f
stark-shrinker: size default_wide_capacities_log ROM heights for full…
johnchandlerburnham Dec 2, 2026
8bfd9b7
flake.nix: include tools/formal-aiur.keys in compressionData for proo…
johnchandlerburnham Dec 2, 2026
9fbe6c6
style: apply rustfmt and remove duplicate match arm in default_wide_c…
johnchandlerburnham Dec 2, 2026
65a105a
perf(p5-3): P1 arithmetization pack (SplitFastpath, aggr-priced Group…
johnchandlerburnham Dec 2, 2026
88726a2
fix(p5-3): exclude regrouped ixvm_ptreq_fast singletons in GroupingSe…
johnchandlerburnham Dec 2, 2026
5a5fabe
test(p5-3): fix expected entries in testEmitVecPlanExcludesPtreqPair
johnchandlerburnham Dec 2, 2026
88cfff5
soundness(ixvm): fold S4-2 verifier hardening (H11/V1/V3/V4/V5, stric…
johnchandlerburnham Dec 2, 2026
7ce9a75
soundness(ixvm): fold S4-4 VerifySemantics, EvalSound/Binding lifts &…
johnchandlerburnham Dec 2, 2026
bf3a0ca
soundness(ixvm): fold S4-5 PartitionCoherence idempotent steps, Condi…
johnchandlerburnham Dec 2, 2026
8b70599
soundness(ixcc-aiur): fold S4-3 chain repair (run-scoped collisions, …
johnchandlerburnham Dec 2, 2026
e841ed9
soundness(ixcc-aiur): fold S4-6 certified driver (--certified-build, …
johnchandlerburnham Dec 2, 2026
1f868ac
ci(ixcc-aiur): register VerifySemantics, ConditionalSound, PartitionG…
johnchandlerburnham Dec 2, 2026
9bedc9a
S4-integrate: wire VerifySemantics.verify_selfContained_semantic and …
johnchandlerburnham Dec 2, 2026
d5f6cff
soundness(ixcc-aiur): reconcile S4-2..S4-6 cross-lane compat seams (C…
johnchandlerburnham Dec 2, 2026
aa68e95
soundness(ixcc-aiur): fix set p and cases-generalization tactics in C…
johnchandlerburnham Dec 2, 2026
88da1ca
soundness(ixcc-aiur): fix hexec0 dsimp in ConditionalSound & rw-at-h …
johnchandlerburnham Dec 2, 2026
a641633
soundness(ixcc-aiur): bridge allowNativePrims matcher in ConditionalS…
johnchandlerburnham Dec 2, 2026
49d2289
soundness(ixcc-aiur): fix Wire.addressOfDigestWords namespace in IxVM…
johnchandlerburnham Dec 2, 2026
bd79062
soundness(ixcc-aiur): pin Wave 4 IxVM-C ClosureManifest (6251e979...,…
johnchandlerburnham Dec 2, 2026
c7b6be2
feat(p5-3): add retuneWithPolicy and FriAware LogUp equivalence to Mu…
johnchandlerburnham Dec 2, 2026
67d4f1b
fix(p5-3): skip auto-regrouping explicit --vectorize-plan targets in …
johnchandlerburnham Dec 2, 2026
d17c7b8
perf(aiur): multi-shard stage-1 retention, phase timers, width-priced…
johnchandlerburnham Dec 2, 2026
10345b4
chore(aiur): clean clippy map_err_ignore, match_same_arms, and unused…
johnchandlerburnham Dec 2, 2026
cad393c
test(aiur): fix borrow order in width-priced packer unit test
johnchandlerburnham Dec 2, 2026
8306b4f
perf(aiur): bump multi-stark to certifri-p5-gpu (v128+Batch5b+P5-2) a…
johnchandlerburnham Dec 2, 2026
ba72195
chore(lock): update multi-stark rev in Cargo.lock to 431c10f04b
johnchandlerburnham Dec 2, 2026
adcbfd5
perf(lanes,ix-prover): offload batch verification and join persistenc…
johnchandlerburnham Dec 2, 2026
ed44e46
style(lanes,ix-prover): box PostProveJob::Claim and fix rustfmt
johnchandlerburnham Dec 2, 2026
ecada68
perf(aiur): bump multi-stark to e5e0320bcdb1 and default CUDA shard b…
johnchandlerburnham Dec 2, 2026
1ad917d
chore(aiur): fix CUDA clippy truncation/map_err lints and memory.rs g…
johnchandlerburnham Dec 2, 2026
08fae07
perf(aiur,lanes): bump multi-stark to 74976c7504 (opt-in remat) and a…
johnchandlerburnham Dec 2, 2026
b72257b
security(d2,cuda): harden L3/shrinker verifiers, zero CUDA clippy war…
johnchandlerburnham Dec 3, 2026
0075e4c
fix(ci): clear StatementBinding warning, IxCCTests array/limb matches…
johnchandlerburnham Dec 2, 2026
9b26157
chore(aiur): regenerate grouping.ixa and depth.ixa fixtures for curre…
johnchandlerburnham Dec 2, 2026
2caf98c
fix(ixcc-tests): align nop2 llvm-mc decode, BigNat partial-replay not…
johnchandlerburnham Dec 3, 2026
bcfe378
chore(compression): install release 0.7 verifying keys and root layou…
johnchandlerburnham Dec 3, 2026
72de354
fix(ixcc-tests): refresh alignLoops artifacts, bignat fail-closed CLI…
johnchandlerburnham Dec 3, 2026
6510f84
chore(compression): install release 0.7 nat-add-comm.ixon-proof fixtu…
johnchandlerburnham Dec 3, 2026
3f7ba22
fix(ixcc-tests): match exe.cert.bignat digest mismatch diagnostic in …
johnchandlerburnham Dec 3, 2026
e2f6ec3
fix(ixcc): prefer first-order postOut.isNone fallback in Recheck.prod…
johnchandlerburnham Dec 3, 2026
cfe9c12
fix(ixcc): use [48, 40, 16, 0] fallback schedule in Recheck.produceAr…
johnchandlerburnham Dec 3, 2026
eb1353b
chore(gc): retire dead Lean CLI/benchmark scripts and map utilities (…
johnchandlerburnham Dec 3, 2026
7dcfdb7
refactor(cert): sever handwritten IxVM bridges from active Aggr/Multi…
johnchandlerburnham Dec 3, 2026
9f21ce0
feat(ixvm,prover): add ixvm.params.* advice channels and dual Prog::v…
johnchandlerburnham Dec 3, 2026
fd544e4
feat(ixcc-aiur): unify PureVerify/ClaimVerify binding parity, 2^55 fu…
johnchandlerburnham Dec 3, 2026
1ef49e7
feat(ixcc-aiur): add certified IxCCAiur.Fib end-to-end compilation ex…
johnchandlerburnham Dec 3, 2026
878bcfd
feat(ixcc-aiur): prove KeptIn native bridge and ConsistencyCorollary …
johnchandlerburnham Dec 3, 2026
7eb7014
feat(ixck,cert,ixcc-aiur): prove byte-tied partition coherence, Compi…
johnchandlerburnham Dec 3, 2026
cd4b737
feat(ixcc-aiur): prove depth-indexed bindings, row-cap fuel/alias hea…
johnchandlerburnham Dec 3, 2026
c5e760a
feat(ixcc-aiur,ix): prove LinkPasses unbound preservation, CertifiedB…
johnchandlerburnham Dec 3, 2026
e678d6e
chore(ixcc-aiur,ci): register ConsistencyCorollary & LinkPasses and e…
johnchandlerburnham Dec 3, 2026
3cd6084
chore(ixcc-aiur,ci): pin 31-root IxVM-C ClosureManifest (da7c8f17...)…
johnchandlerburnham Dec 3, 2026
76cde8d
perf(aiur): point multi-stark to certifri-p6-s1retain (aa66f55fe52b21…
johnchandlerburnham Dec 3, 2026
1310acd
perf(stark): wire evictable 1x Stage-1 retention, host 1x trace cache…
johnchandlerburnham Dec 3, 2026
6f6a5ab
chore: bump multi-stark to 1b4338a0f7 (clippy/test fixes)
johnchandlerburnham Dec 3, 2026
c0f0cb4
perf(stark): calibrate 1x VRAM model/reserve (5 GiB), tighten 4x tail…
johnchandlerburnham Dec 3, 2026
000bcb9
perf(stark): deduct 8 GiB CUDA pool warmup overhead in 1x planner, se…
johnchandlerburnham Dec 3, 2026
46e8088
perf(stark): default GPU 1x retention to opt-in (off) to preserve 84.…
johnchandlerburnham Dec 3, 2026
08deaab
fix(aiur): certify prefix-sum exclusions in ExclCtx and sync depth/v1…
johnchandlerburnham Dec 3, 2026
9b94f81
fix(aiur): resolve 7 tactic/Fin coercion glitches in Exclusions.lean
johnchandlerburnham Dec 3, 2026
9441335
fix(aiur): close splitSignedAdd_denote add/sub cases with calc + rfl
johnchandlerburnham Dec 3, 2026
2f5c9d0
fix(aiur): replace LinearNormalization/mergeSort with pure structural…
johnchandlerburnham Dec 3, 2026
949a234
chore(aiur,cert): refresh 17 compression .ixa fixtures and re-pin 5 E…
johnchandlerburnham Dec 3, 2026
8677735
feat(ixcc): wire shaped & grounded certified compile and .ix.cert enf…
johnchandlerburnham Dec 3, 2026
699af29
feat(ixcc-aiur): prove validators 10/11, axioms-tree non-installation…
johnchandlerburnham Dec 3, 2026
09abacb
feat(ixcc-aiur): wire --params-entry --certified-build cutover, in-ba…
johnchandlerburnham Dec 3, 2026
995c08a
perf(arith): wire FriAware Backend API + Q2-B effective-size shouldIn…
johnchandlerburnham Dec 3, 2026
7b4db70
style(aiur): wrap line in fri_aware backend test for rustfmt
johnchandlerburnham Dec 3, 2026
a2f4d97
chore(ixcc-aiur): refresh IxVM closure manifest pin for TypedRep InCh…
johnchandlerburnham Dec 3, 2026
561ed4b
chore(deps): bump multi-stark to f974649452 (jcb/certifri-consolidate…
johnchandlerburnham Dec 3, 2026
297d10b
chore(pins): refresh formal-aiur.keys, FRI/FFT pins, and 0.7 compress…
johnchandlerburnham Dec 3, 2026
bf422a9
feat(ixcc): production Denotes-free grounding default, .ix.cert CertL…
johnchandlerburnham Dec 3, 2026
3664bb9
feat(ixcc-aiur): eliminate vacuous collision/advice disjuncts and pro…
johnchandlerburnham Dec 3, 2026
d141f41
feat(ixcc-aiur): fail-closed --certified-build default, driver hypoth…
johnchandlerburnham Dec 3, 2026
d7cc8b1
feat(ixcc-aiur): certify all 23 certified-linked IxVM bindings includ…
johnchandlerburnham Dec 3, 2026
fdde8ea
feat(ixcc-aiur): authenticate BindingLeafWitness and tie sharded cont…
johnchandlerburnham Dec 3, 2026
80e764c
chore(ixcc-aiur,ci,deps): wire S7-1/S7-2 bridge, register Wave 7 root…
johnchandlerburnham Dec 3, 2026
57baa8c
chore(ixcc-aiur): pin 37-root IxVM-C closure manifest for Soundness W…
johnchandlerburnham Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
23 changes: 22 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,28 @@ Tests/Ix/AuxGen/Reference/*.lean linguist-generated=true
Tests/Ix/AuxGen/Reference/JsonTable.lean -linguist-generated

# The default role table, its evidence and the Ixon prelude (`kernel-pin-gen`)
IxC/Kernel/Ixon/RoleData.lean linguist-generated=true
IxCK/Kernel/Ixon/RoleData.lean linguist-generated=true

# The compiler's non-canonical record (the `twins` suite's re-record mode)
Tests/Ix/Compile/NonCanonicalDefault.lean linguist-generated=true

# The certified compiler (IxCC/), whose tools regenerate these: its Nix module
# manifest and reviewed coverage inventory (`check-build-graph --write`,
# `--write-coverage`), the artifacts its kernel evaluates
# (`gen-src-artifacts`, `gen-recheck-artifacts`, `corpus kernel-artifacts`),
# its fixtures' recorded census baselines, equation exports and step counts
# (`census`, the producer's `--equations` export, `check-steps --write`), and
# its measurement records. The hand-written fixture sources, manifests and C
# harnesses stay counted.
IxCC/nix/lean-modules.json linguist-generated=true
IxCC/nix/ci-coverage.json linguist-generated=true
IxCC/IxCCTests/Src/Artifacts/*.lean linguist-generated=true
IxCC/IxCCTests/Recheck/Artifacts/*.lean linguist-generated=true
IxCC/IxCCTests/Corpus/Artifacts/*.lean linguist-generated=true
IxCC/fixtures/**/*census.json linguist-generated=true
IxCC/fixtures/**/*equations.json linguist-generated=true
IxCC/fixtures/**/steps.json linguist-generated=true
IxCC/docs/performance/**/*.json linguist-generated=true

# Generated SHA-256 definitional closure manifests
Tests/Fixtures/*-closure-manifest.txt linguist-generated=true
294 changes: 294 additions & 0 deletions .github/workflows/bench-gpu-compress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,294 @@
# Manual GPU compression benchmark & verification workflow (RunsOn).
#
# Runs on the single-region `us-east-1` RunsOn stack, trying `g7e.8xlarge`
# (1x RTX PRO 6000 Blackwell 96 GiB, 32 vCPU, 256 GiB RAM) first and falling
# back to `g6e.8xlarge` (1x L40S 48 GiB, 32 vCPU, 256 GiB RAM) in list order
# (`spot=false`). RunsOn queues and retries while AWS reports
# `InsufficientInstanceCapacity`. Requires >= 32 vCPUs of EC2 "Running
# On-Demand G and VT instances" quota in the RunsOn member account in
# `us-east-1`.
name: GPU compression benchmark

on:
workflow_dispatch:
inputs:
target:
description: Environment to compile, prove, and compress
type: choice
default: Init
options:
- Init
- InitStd
suite:
description: Benchmark / verification suite to run
type: choice
default: all
options:
- all
- stark
- plonk-tests
stark-balanced:
description: Also run qpow=28 balanced STARK modes (in addition to fast qpow=24)
type: boolean
default: true
family:
description: RunsOn GPU instance fallback list (On-Demand, evaluated in order)
type: choice
default: g7e.8xlarge+g6e.8xlarge
options:
- g7e.8xlarge+g6e.8xlarge
- g7e.8xlarge
- g6e.8xlarge
- g6e.4xlarge

run-name: "GPU compress bench (${{ inputs.target }}, ${{ inputs.suite }}, ${{ inputs.family }})"

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.target }}
cancel-in-progress: false

jobs:
bench-gpu:
name: GPU compress (${{ inputs.target }})
# The sticky disk caches `.lake` only, not Cargo `target/`: `g7e` (Intel)
# and `g6e` (AMD Milan, no AVX-512) have different host CPU ISAs, so Rust
# artifacts are rebuilt per host through the S3 sccache instead.
runs-on: runs-on=${{ github.run_id }}-gpu-bench-${{ github.run_attempt }}/family=${{ inputs.family }}/spot=false/image=ubuntu24-gpu-x64/volume=200gb/sticky=bench-gpu-compress-lake:100gb/extras=s3-cache
timeout-minutes: 180
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- uses: runs-on/action@13fbb6a39310a0dac9ab4716da2c4e74a3326dfc # v2.7.0
with:
sccache: s3
sticky_cache: |
rust
custom,path=.lake,path=Aiur/.lake,path=MultiStark/.lake

- uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11

- name: Detect GPU hardware and CUDA architecture
id: gpu
run: |
nvidia-smi
nvcc --version || true
gpu_name=$(nvidia-smi --query-gpu=name --format=csv,noheader | head -n 1 | xargs)
vram_mib=$(nvidia-smi --query-gpu=memory.total --format=csv,noheader,nounits | head -n 1 | xargs)
cap_raw=$(nvidia-smi --query-gpu=compute_cap --format=csv,noheader | head -n 1 | xargs)
cuda_arch=${cap_raw//./}
host_ram_gib=$(awk '/MemTotal:/ { printf "%d", $2 / 1048576 }' /proc/meminfo)
echo "Detected GPU: ${gpu_name} (${vram_mib} MiB VRAM, sm_${cuda_arch}), Host RAM: ${host_ram_gib} GiB"
{
echo "name=${gpu_name}"
echo "vram_mib=${vram_mib}"
echo "cuda_arch=${cuda_arch}"
echo "host_ram_gib=${host_ram_gib}"
} >> "$GITHUB_OUTPUT"

- name: Log host CPU
uses: $/.github/actions/log-cpu
with:
label: GPU benchmark host CPU

- name: Install system build dependencies
run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends \
build-essential ca-certificates curl git libclang-dev

# `native`, not `portable`: g6e uses AMD Milan (Zen 3, no AVX-512),
# which fails setup-rust-toolchain's x86-64-v4 portable gate.
- uses: $/.github/actions/setup-rust-toolchain
with:
codegen: native
use-github-cache: "false"

- uses: leanprover/lean-action@50fcf42d2e460296f1a34b402e990d1b24f8b596 # v1.6.0
with:
auto-config: false
use-github-cache: false
use-mathlib-cache: true

- name: Run Rust CUDA+PLONK unit tests
if: inputs.suite == 'all' || inputs.suite == 'plonk-tests'
timeout-minutes: 60
env:
MULTI_STARK_CUDA_ARCHS: ${{ steps.gpu.outputs.cuda_arch }}
run: |
set -euo pipefail
mkdir -p bench-results
cargo test --release --locked --features "parallel,plonk,cuda" -p ix-proof-compression --lib aiur_backend:: | tee bench-results/rust-aiur-backend.log
cargo test --release --locked --features "parallel,plonk,cuda" -p ix-proof-compression --test bls12_381_e2e | tee bench-results/rust-bls12-381-e2e.log
cargo test --release --locked --features "parallel,plonk,cuda" -p ix-ffi --lib | tee bench-results/rust-ffi.log

- name: Build CUDA+PLONK ix CLI and Lean exporters
if: inputs.suite == 'all' || inputs.suite == 'stark'
timeout-minutes: 90
env:
IX_CUDA: "1"
IX_PLONK: "1"
MULTI_STARK_CUDA_ARCHS: ${{ steps.gpu.outputs.cuda_arch }}
run: |
lake build ix \
multiStark/stark-export \
multiStark/wide_export \
multiStark/tiling_export2 \
multiStark/plonk_export \
multiStark/compress_gl_bls_export \
multiStark/compress_narrow_fixed_bls_export \
multiStark/compress_final_narrow_bls_export

- name: Export Lean Aiur compression artifacts
if: inputs.suite == 'all' || inputs.suite == 'stark'
run: |
set -euo pipefail
mkdir -p .lake/aiur bench-results
lake env MultiStark/.lake/build/bin/stark-export export-trace .lake/aiur/compress-wrap.ixa --compress-wrap
lake env MultiStark/.lake/build/bin/stark-export export-trace .lake/aiur/stark-shrink.ixa --stark-shrink
lake env MultiStark/.lake/build/bin/stark-export export-trace .lake/aiur/compress-gl-bls.ixa --compress-gl-bls12-381
ls -lh .lake/aiur/*.ixa | tee bench-results/exported-artifacts.log

- name: Compile, shard, and prove target aggregate root on GPU
id: root
if: inputs.suite == 'all' || inputs.suite == 'stark'
env:
BENCH_TARGET: ${{ inputs.target }}
run: |
set -euo pipefail
mkdir -p bench-results
IX_BIN="$PWD/.lake/build/bin/ix"
SRC="Benchmarks/Compile/Compile${BENCH_TARGET}.lean"
IXE="$PWD/bench-results/${BENCH_TARGET}.ixe"
IXES="$PWD/bench-results/${BENCH_TARGET}.ixes"

echo "=== Compiling ${SRC} ==="
t0=$(date +%s.%N)
lake env "$IX_BIN" compile "$SRC" --no-build --out "$IXE" 2>&1 | tee bench-results/compile.log
t1=$(date +%s.%N)
compile_s=$(awk -v a="$t0" -v b="$t1" 'BEGIN { printf "%.1f", b - a }')

echo "=== Sharding ${IXE} ==="
lake env "$IX_BIN" shard "$IXE" --out "$IXES" 2>&1 | tee bench-results/shard.log

echo "=== Proving ${BENCH_TARGET} aggregate root on GPU ==="
t0=$(date +%s.%N)
if ! root_addr=$(lake env "$IX_BIN" prove --aggregate --fresh --ixe "$IXE" --ixes "$IXES" 2>bench-results/prove.log | tail -n 1 | tr -d '[:space:]'); then
tail -n 80 bench-results/prove.log >&2
exit 1
fi
t1=$(date +%s.%N)
prove_s=$(awk -v a="$t0" -v b="$t1" 'BEGIN { printf "%.1f", b - a }')
echo "Root address: ${root_addr} (${prove_s}s)"
tail -n 30 bench-results/prove.log

echo "=== Verifying ${BENCH_TARGET} aggregate root on CPU ==="
t0=$(date +%s.%N)
lake env "$IX_BIN" verify --aggregate "$root_addr" 2>&1 | tee bench-results/verify-root.log
t1=$(date +%s.%N)
verify_s=$(awk -v a="$t0" -v b="$t1" 'BEGIN { printf "%.3f", b - a }')

{
echo "addr=${root_addr}"
echo "compile_s=${compile_s}"
echo "prove_s=${prove_s}"
echo "verify_s=${verify_s}"
} >> "$GITHUB_OUTPUT"

- name: Benchmark the Aiur STARK shrinker (v6 and v6-zk)
id: stark
if: inputs.suite == 'all' || inputs.suite == 'stark'
env:
ROOT_ADDR: ${{ steps.root.outputs.addr }}
RUN_BALANCED: ${{ inputs.stark-balanced }}
IX_WIDE_EXPORT: ${{ github.workspace }}/MultiStark/.lake/build/bin/wide_export
IX_WIDE_EXPORT_CACHE: ${{ github.workspace }}/.lake/aiur/wide-export-cache
IX_COMPRESS_WRAP_ARTIFACT: ${{ github.workspace }}/.lake/aiur/compress-wrap.ixa
IX_COMPRESS_WRAP_LAYOUT: ${{ github.workspace }}/crates/stark-verifier/compress-wrap/m16384w64-v3.layout.json
IX_STARK_SHRINK_ARTIFACT: ${{ github.workspace }}/.lake/aiur/stark-shrink.ixa
run: |
set -euo pipefail
IX_BIN="$PWD/.lake/build/bin/ix"
RESULTS="$PWD/bench-results/stark-summary.md"
cat > "$RESULTS" <<'EOF'
| Mode | PoW | Prove (s) | CPU Verify (s) | Proof Address |
|---|---|---:|---:|---|
EOF

run_case() {
local label="$1"
local pow_label="$2"
local fast_pow="$3"
local mode_flag="$4"
local log_base="bench-results/stark-${label}"
echo "=== ${label} (${mode_flag} --aiur-shrinker, ${pow_label}) ==="
local t0 t1 prove_s verify_s shrunk_addr
t0=$(date +%s.%N)
if ! shrunk_addr=$(IX_AIUR_SHRINK_FAST_POW="$fast_pow" lake env "$IX_BIN" compress "$mode_flag" --aiur-shrinker --gpu-device 0 "$ROOT_ADDR" 2>"${log_base}.prove.log" | tail -n 1 | tr -d '[:space:]'); then
cat "${log_base}.prove.log" >&2
exit 1
fi
t1=$(date +%s.%N)
prove_s=$(awk -v a="$t0" -v b="$t1" 'BEGIN { printf "%.1f", b - a }')
cat "${log_base}.prove.log"

t0=$(date +%s.%N)
lake env "$IX_BIN" verify --aggregate "$shrunk_addr" 2>&1 | tee "${log_base}.verify.log"
t1=$(date +%s.%N)
verify_s=$(awk -v a="$t0" -v b="$t1" 'BEGIN { printf "%.3f", b - a }')

echo "| \`${label}\` | ${pow_label} | ${prove_s} | ${verify_s} | \`${shrunk_addr}\` |" >> "$RESULTS"
}

run_case "v6-fast" "qpow=24" "1" "--stark-128"
run_case "v6-zk-fast" "qpow=24" "1" "--stark-128-zk"

if [ "$RUN_BALANCED" = "true" ]; then
run_case "v6-balanced" "qpow=28" "0" "--stark-128"
run_case "v6-zk-balanced" "qpow=28" "0" "--stark-128-zk"
fi

cat "$RESULTS"

- name: Write job summary
if: always()
env:
BENCH_TARGET: ${{ inputs.target }}
BENCH_SUITE: ${{ inputs.suite }}
GPU_NAME: ${{ steps.gpu.outputs.name }}
GPU_VRAM_MIB: ${{ steps.gpu.outputs.vram_mib }}
GPU_ARCH: ${{ steps.gpu.outputs.cuda_arch }}
HOST_RAM_GIB: ${{ steps.gpu.outputs.host_ram_gib }}
COMPILE_S: ${{ steps.root.outputs.compile_s }}
PROVE_S: ${{ steps.root.outputs.prove_s }}
VERIFY_S: ${{ steps.root.outputs.verify_s }}
ROOT_ADDR: ${{ steps.root.outputs.addr }}
run: |
{
echo "## GPU Compression Benchmark (${BENCH_TARGET}, suite=${BENCH_SUITE})"
echo ""
echo "- **GPU**: ${GPU_NAME:-unknown} (${GPU_VRAM_MIB:-?} MiB VRAM, \`sm_${GPU_ARCH:-?}\`)"
echo "- **Host RAM**: ${HOST_RAM_GIB:-?} GiB"
if [ -n "${ROOT_ADDR:-}" ]; then
echo "- **Root (\`${BENCH_TARGET}\`)**: compile \`${COMPILE_S}s\`, GPU prove \`${PROVE_S}s\`, CPU verify \`${VERIFY_S}s\`, addr \`${ROOT_ADDR}\`"
fi
echo ""
if [ -f bench-results/stark-summary.md ]; then
echo "### Aiur STARK shrinker (\`--aiur-shrinker\`)"
echo ""
cat bench-results/stark-summary.md
fi
} >> "$GITHUB_STEP_SUMMARY"

- name: Upload benchmark logs
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gpu-compress-bench-${{ inputs.target }}-${{ github.run_id }}
path: bench-results/
if-no-files-found: ignore
retention-days: 14
4 changes: 2 additions & 2 deletions .github/workflows/bench-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
bench:
- 'Ix.lean'
- 'Ix/**'
- 'IxC/**'
- 'IxCK/**'
- 'Main.lean'
- 'Aiur/**'
- 'IxVM/**'
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
auto-config: false
use-github-cache: false
use-mathlib-cache: ${{ matrix.mathlib && 'true' || 'false' }}
- run: lake build Compile${{ matrix.env }} IxC.Kernel.PinGen.Certs
- run: lake build Compile${{ matrix.env }} IxCK.Kernel.PinGen.Certs
working-directory: ${{ env.COMPILE_DIR }}
# The measured compile: serializes the env to `<env>.ixe` at the
# workspace root and writes one results row keyed by the env name.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bench-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ jobs:
working-directory: Benchmarks/Compile
env:
COMPILE_ENV: ${{ matrix.env }}
run: lake build "Compile$COMPILE_ENV" IxC.Kernel.PinGen.Certs
run: lake build "Compile$COMPILE_ENV" IxCK.Kernel.PinGen.Certs
- name: Compile ${{ matrix.env }}.ixe
if: steps.compile-source.outputs.rebuild == 'true'
env:
Expand Down
Loading
Loading