Spartan icon indicating copy to clipboard operation
Spartan copied to clipboard

Proving math functions with Spartan

Open Fobow opened this issue 1 year ago • 2 comments

Thanks for your great work. I wonder if it is possible to prove math functions such as simple comparison, square root, reciprocal or (more complex) exponential functions using Spartan. Could you shed some light on this? Thanks a lot!

Fobow avatar Dec 05 '23 22:12 Fobow

I think the challenge is expressing these non-linear computations in R1CS?

Fobow avatar Dec 05 '23 22:12 Fobow

Yes, exactly. There are tools like circom and noir that can let you express high-level computation and they can then be proven with spartan.

srinathsetty avatar Apr 11 '24 23:04 srinathsetty