Restriction on polynomial degrees
The current version of PIL can only handle quadratics. That is, given any set of polynomials; , and ; PIL can only handle products of two polynomials at a time, but not higher degrees such as, These higher degree products are handled via an polynomial, conveniently dubbed . Consider again the constraint of the optimized Multiplier program: which involves the trinomial, A can be used in as follows, where in this case, . In the same sense that keywords and can be thought of as of polynomials, can also be regarded as a third type of polynomial in PIL.PIL compilation
In order to compile the above PIL code to a JSON file, follow the following steps.- Create a subdirectory/folder for the Multiplier SM and call it multiplier_sm.
-
Switch directory to the new subdirectory multiplier_sm, and open a new file. Name it multiplier.pil , copy in it the text below and save;
-
Switch directory to and run the below command,
- Input committed polynomials, denoted by .
- Quadratic polynomials, denoted by .
- Constant polynomials, denoted by .
- Intermediate polynomials, denoted by .
- The various identities that can be checked; the , the , the and the identities.