Open TurtlePU opened 1 month ago
Currently, one of the slowest tests in our test suite is the test of correctness of FFT polynomial multiplication:
propMultiplication (p1, p2) = p1 * p2 == p1 `naive` p2
This runs slowly because the naive part runs in $O(|p_1| |p_2|)$. I suggest changing it to:
naive
propMultiplication p q x = evalPoly (p * q) x == evalPoly p x * evalPoly q x
Pros:
Cons:
Currently, one of the slowest tests in our test suite is the test of correctness of FFT polynomial multiplication:
This runs slowly because the
naive
part runs in $O(|p_1| |p_2|)$. I suggest changing it to:Pros:
Cons: