Paper 2024/859 Original: eprint.iacr.org/2024/859 ↗

Novel approximations of elementary functions in zero-knowledge proofs

Kaarel August Kurik
Peeter Laud
Abstract

In this paper, we study the computation of complex mathematical functions in statements executed on top of zero-knowledge proofs (ZKP); these functions may include roots, exponentials and logarithms, trigonometry etc. While existing approaches to these functions in privacy-preserving computations (and sometimes also in general-purpose processors) have relied on polynomial approximation, more powerful methods are available for ZKP. In this paper, we note that in ZKP, all algebraic functions are exactly computable. Recognizing that, we proceed to the approximation of transcendental functions with algebraic functions. We develop methods of approximation, instantiate them on a number of common transcendental functions, and benchmark their precision and efficiency in comparison with best polynomial approximations.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2025-06-11: last updated
2024-05-31: published
Short URL
https://ia.cr/2024/859
License
https://creativecommons.org/licenses/by-nc-nd/4.0/

BibTeX

@misc{cryptoeprint:2024/859,
      author = {Kaarel August Kurik and Peeter Laud},
      title = {Novel approximations of elementary functions in zero-knowledge proofs},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/859},
      year = {2024},
      url = {https://eprint.iacr.org/2024/859}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.