parquet-go merges Lean-proven optimization, 3x faster kernel in 13 instructions
lemire · x · 2026-11-26
tsenart announced that parquet-go merged a Perfloop optimization backed by a formal Lean 4 proof: the AVX2 kernel previously computed a block's maximum to derive its bit width, but bitwise OR preserves width, so the proof justified replacing it — 42 instructions became 13 and the kernel is 3x faster, with a Lean 4 file in the PR proving correctness.
Quoting his earlier thread on formally verifying high-performance code, lemire argues proofs could be a game changer for code that "runs with scissors" for speed. The team now plans to extend Perfloop's toolset to Alive2, Kani, MIRI, and CBMC.
More from Infra
- Oracle and CoreWeave CDS spreads hit records as AI credit risk fears mount — nordicinst · 2026-11-26
- FT: Nvidia halts GPU shipments to Malaysia, Singapore, Thailand and Indonesia — bytebot · 2026-11-26
- Claude + 11 RTX 4090s break the 3D Moving Sofa Problem record at 1.8893629 — FinanceYF5 · 2026-11-26
- Another Nvidia executive tied to chip smuggling operation into China — AIandDesign · 2026-11-26
- Tencent's open Hy4 Flash hits Fireworks, matches Claude Opus at 200x lower cost — TencentHunyuan · 2026-11-26
- NVIDIA reportedly cuts gaming GPU allocations another 20-30% for the January quarter — mark_k · 2026-11-26