mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
book: Note that roots don't have to be constant
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
653cb6ca88
commit
2aea582865
1 changed files with 2 additions and 0 deletions
|
|
@ -23,3 +23,5 @@ $$(7 - c) \cdot (13 - c) = 0$$
|
|||
> supported polynomial degree is 2 (due to all constraints being of the form $a * b = c$).
|
||||
> In halo2 circuits, you can use arbitrary-degree polynomials - with the proviso that
|
||||
> higher-degree constraints are more expensive to use.
|
||||
|
||||
Note that the roots don't have to be constants; for example $(a - x) \cdot (a - y) \cdot (a - z) = 0$ will constrain $a$ to be equal to one of $\{ x, y, z \}$ where the latter can be arbitrary polynomials, as long as the whole expression stays within the maximum degree bound.
|
||||
|
|
|
|||
Loading…
Reference in a new issue