mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
Add comments for LDT fix in verifier
This commit is contained in:
parent
2bb0c4f4e7
commit
27ebc21faf
@ -281,6 +281,8 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
|
||||
sum = self.div_add_extension(numerator, denominator, sum);
|
||||
}
|
||||
|
||||
// Multiply the final polynomial by `X`, so that `final_poly` has the maximum degree for
|
||||
// which the LDT will pass. See github.com/mir-protocol/plonky2/pull/436 for details.
|
||||
self.mul_extension(sum, subgroup_x)
|
||||
}
|
||||
|
||||
|
||||
@ -160,6 +160,8 @@ pub(crate) fn fri_combine_initial<
|
||||
sum += numerator / denominator;
|
||||
}
|
||||
|
||||
// Multiply the final polynomial by `X`, so that `final_poly` has the maximum degree for
|
||||
// which the LDT will pass. See github.com/mir-protocol/plonky2/pull/436 for details.
|
||||
sum * subgroup_x
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user