Optimizing beyond the compiler with kernel‑checked equivalence proofs
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Tacit Research describes an agent that rewrites hot Arm64 functions and proves each rewrite equivalent to the original binary in Lean, with a kernel-checked proof, and checks that security protections are kept. Its reported results are unzip 1.61×, ICU 1.28×, libsignal 1.13×, and 1.33× on average, all measured by the authors on one Graviton4 processor. Four of six rewritten functions gained speed. AWS's hand-tuned s2n-bignum variants beat the agent's rewrites on eight of ten routines. The method handles one function at a time and assumes a single thread.