Apple Silicon Zero-Knowledge Proving: Mobile Halo2 and Tachyon Acceleration on M-Series and A-Series Chips

Hey folks! Strahn here.

You probably have seen (or not seen) We just achieved a double speedup over the SoTA (pasta_curves) for batched same-base MSM for Halo2 on Apple Silicon! - #3 by strahncryptography , where we achieved a 2x (or rather, 1.5x-1.8x speedup after some memory corruption bugs) over SoTA pasta_curves multiexp prover on 4 threads.

We wish to expand this performance across the ecosystem, and are requesting for a grant to integrate FUJI into Orchard and Tachyon provers for Macs, and most importantly, as proven in the Mac implementation, speedups are possible and will be implemented in iPhones and iPads! (they share ARM architecture thanks to Apple’s craziness for it)

Apple holds a dominating market share in the US (and many other countries) for mobile devices, and what makes it even so much better is that since the Apple ecosystem is surprisingly homogenous, we only have to implement for the M1, M2, M3 chips (Mac) and A14-A17 chips on iPhone to achieve a dominant speedup at the assembly level!

This is not achievable in Windows or Android, since the processor chipsets vary WILDLY.

I hope this grant request is well-received!

1 Like