You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To compute multi pairings checks hints, we need to have a function that computes a product of extension field elements (the 12-degree extension) in the form of polynomials of degree 11, and store both the quotient Q and the remainder R, as polynomials.
Q can be of arbitrary degree, but R must of degree 11 (12 coefficients)
Implement an equivalent version of this function that works with polynomials in input and output., parametrized by <F> (or Polynomial<F>), although it should work only for BN and BLS.
They key is that this function takes a list of Polynomial<F> as input, and returns Q, R, two polynomials such that they correspond to the euclidean division of the product of the input by some constant Polynomial parametrized by <F>
The constant polynomials are defined in definitions.py. Only use the degree-12 one.
To perform the computation, polynomial.rs has the necessary methods, especially divmod.
The text was updated successfully, but these errors were encountered:
feltroidprime
changed the title
feat: Rust extension field multiplications utilities.
feat: Rust product of extension field utilities.
Aug 19, 2024
feltroidprime
changed the title
feat: Rust product of extension field utilities.
feat: Rust product of extension field elements utilities.
Aug 19, 2024
To compute multi pairings checks hints, we need to have a function that computes a product of extension field elements (the 12-degree extension) in the form of polynomials of degree 11, and store both the quotient Q and the remainder R, as polynomials.
Q can be of arbitrary degree, but R must of degree 11 (12 coefficients)
garaga/hydra/garaga/hints/extf_mul.py
Lines 17 to 45 in c344b09
Implement an equivalent version of this function that works with polynomials in input and output., parametrized by
<F>
(orPolynomial<F>
), although it should work only for BN and BLS.They key is that this function takes a list of
Polynomial<F>
as input, and returns Q, R, two polynomials such that they correspond to the euclidean division of the product of the input by some constant Polynomial parametrized by<F>
The constant polynomials are defined in
definitions.py
. Only use the degree-12 one.To perform the computation, polynomial.rs has the necessary methods, especially divmod.
The text was updated successfully, but these errors were encountered: