-
Hello, Lattigo Team! May I ask what is the purpose of the VerifyTestVectors in CKKS test? lattigo/schemes/ckks/precision.go Lines 70 to 93 in 1f00f3c Specifically, from the following codes, it seems that the CKKS test codes want to verify whether lattigo/schemes/ckks/precision.go Line 83 in 1f00f3c lattigo/schemes/ckks/ckks_test.go Lines 426 to 441 in 1f00f3c I wonder why this property must be checked, and is there any theoretical explanation of this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The CKKS scheme is approximate, we must therefore define some lower bound on the accepted precision when checking the correctness of the operations. This defines heuristic lower bound that is a function of the ring degree and scaling factor and is achieved with overwhelming probability. |
Beta Was this translation helpful? Give feedback.
The CKKS scheme is approximate, we must therefore define some lower bound on the accepted precision when checking the correctness of the operations. This defines heuristic lower bound that is a function of the ring degree and scaling factor and is achieved with overwhelming probability.