Daniel Lubarov 7185c2d7d2
Fix & cleanup partial products (#355)
My previous change introduced a bug -- when `num_routed_wires` was a multiple of 8, the partial products "consumed" all `num_routed_wires` terms, whereas we actually want to leave 8 terms for the final product.

This also changes `check_partial_products` to include the final product constraint, and merges `vanishing_v_shift_terms` into `vanishing_partial_products_terms`. I think this is natural since `Z(x)`, partial products, and `Z(g x)` are all part of the product accumulator chain.
2021-11-14 11:58:44 -08:00
..
2021-11-10 12:14:23 -08:00
2021-11-14 11:58:14 -08:00
2021-11-12 12:12:58 -08:00
2021-11-14 11:57:36 -08:00
2021-11-10 12:14:23 -08:00
2021-11-02 12:29:26 -07:00
2021-11-09 15:14:41 -08:00