wborgeaud
bae3777bcd
Use max filtered degree found with the tree method in CircuitBuilder::build
2021-06-29 14:00:34 +02:00
Daniel Lubarov
7734aed62c
Performance tweaks ( #77 )
2021-06-28 08:56:36 -07:00
wborgeaud
c2b2ef921a
PR feedback
2021-06-28 09:47:47 +02:00
wborgeaud
625377b4c0
Merge constant and sigma polynomials
2021-06-25 11:24:26 +02:00
wborgeaud
727919b14f
Comment and test for coset_ifft
2021-06-25 10:20:20 +02:00
wborgeaud
2e9d3f768e
Better error message when quotient hasn't correct degree
2021-06-25 09:56:15 +02:00
wborgeaud
35f73a505f
Clippy
2021-06-24 15:49:36 +02:00
wborgeaud
31f4eee367
Fix bug with shifted x
2021-06-24 14:11:47 +02:00
wborgeaud
f215dffa9d
Compute quotient directly
2021-06-24 11:45:16 +02:00
wborgeaud
ef7561fc84
Merge branch 'main' into permutation_argument
...
# Conflicts:
# src/circuit_builder.rs
# src/circuit_data.rs
# src/polynomial/commitment.rs
# src/prover.rs
# src/witness.rs
2021-06-24 10:51:18 +02:00
wborgeaud
492b04843e
Optimize some polynomial operations to avoid cloning.
2021-06-23 11:41:32 +02:00
wborgeaud
01053ab96a
Fix bug
2021-06-23 11:30:57 +02:00
wborgeaud
70e980488c
Merge branch 'main' into optimize_reductions
...
# Conflicts:
# src/fri/verifier.rs
# src/polynomial/commitment.rs
2021-06-23 11:03:59 +02:00
wborgeaud
15922d2518
Add comment for denominator polynomial
2021-06-21 10:32:32 +02:00
wborgeaud
37171505c7
Remove useless interpolation from open_plonk
2021-06-18 12:49:40 +02:00
wborgeaud
a4c86a6b08
lagrange.rs -> interpolation.rs
2021-06-18 11:44:06 +02:00
wborgeaud
7d4e79f069
Clippy
2021-06-18 11:22:38 +02:00
wborgeaud
621c046fe4
Use long division when dividing by quadratic polynomial
2021-06-18 11:17:15 +02:00
wborgeaud
4f8ef2e178
Optimize some polynomial operations
2021-06-18 11:10:33 +02:00
wborgeaud
9db7dce738
scale -> reduce
2021-06-17 22:06:53 +02:00
wborgeaud
92e0f60c23
Clippy
2021-06-17 21:57:31 +02:00
wborgeaud
fe9cd3f76b
Working commitments and verifier
2021-06-17 21:34:04 +02:00
wborgeaud
ad5c18b499
Comments and Clippy
2021-06-17 16:23:15 +02:00
wborgeaud
a71909ba15
Implement compute_z and rewrite of compute_vanishing_polys
2021-06-17 15:49:21 +02:00
wborgeaud
bfd5f06384
Hardcode Plonk polynomials indices and blinding flags.
2021-06-17 11:54:31 +02:00
wborgeaud
b44a01c975
Merge main
2021-06-15 09:20:00 +02:00
wborgeaud
19b47b5251
Clippy
2021-06-14 10:33:38 +02:00
wborgeaud
20741cfb4a
Implement out-of-circuit repeated_frobenius using hardcoded constants
2021-06-11 13:45:51 +02:00
Daniel Lubarov
f929f94626
Have rustfmt group imports ( #60 )
...
* Have rustfmt group imports
See `rustfmt.toml`; the rest is automated changes.
* fmt
2021-06-10 14:10:35 -07:00
Daniel Lubarov
60f3773a23
Try to simplify open_plonk and fri_combine_initial a bit more ( #59 )
...
* Try to simplify open_plonk and fri_combine_initial a bit more
- Use `alpha.powers()` in `open_plonk` instead of the more "manual" approach
- No more "manually" reducing with `alpha_powers`; now using helper methods for that.
- Renaming & other small tweaks
* Remove type hint
* Feedback
2021-06-09 16:17:56 -07:00
wborgeaud
7f63276623
Merge branch 'main' into recursive_verifier
2021-06-09 10:04:45 +02:00
Daniel Lubarov
72c2e19bc5
Bit of verifier work ( #54 )
...
* Bit of verifier work
* Minor
* next_plonk_zs now available after William's changes
2021-06-08 21:23:52 -07:00
wborgeaud
897ec3b053
Target version of proof structs
2021-06-04 10:47:46 +02:00
wborgeaud
9eb35c3c82
Remove D=1 case
2021-06-01 22:00:46 +02:00
wborgeaud
60e9464416
Remove unused
2021-06-01 11:32:06 +02:00
wborgeaud
482b40065d
Merge with main
2021-06-01 11:26:23 +02:00
wborgeaud
b465bcd8be
Clippy + comments
2021-06-01 11:17:54 +02:00
wborgeaud
2794cb9a95
Open wires at single point if D=1
2021-06-01 11:03:04 +02:00
wborgeaud
e09a6179fb
Remove useless field
2021-05-31 18:21:42 +02:00
wborgeaud
d882283761
Working with blindings
2021-05-31 18:19:44 +02:00
wborgeaud
6ee9ceacd5
Don't check Frobenius if D=1.
2021-05-31 18:00:53 +02:00
wborgeaud
abc0ca3bf1
Rewrite LPC code to be more PLONK-specific
2021-05-31 17:49:04 +02:00
Daniel Lubarov
cb7f8c8b8c
Draw challenge points from the extension field ( #51 )
...
* Draw challenge points from the extension field
* Now building
* Misc
* Default eval_unfiltered_base
* fmt
* A few field settings
* Add to Sage
* Display tweak
* eval_filtered_base
* Quartic in bench
* Missing methods
* Fix tests
* PR feedback
2021-05-30 13:25:53 -07:00
wborgeaud
845382b472
Working base field check for (non-batch) opening
2021-05-27 17:20:26 +02:00
Daniel Lubarov
6e83d956e9
Finish up
2021-05-19 23:03:52 -07:00
wborgeaud
78f71672a3
Change Field::exp to using a u64 power.
2021-05-19 12:17:43 +02:00
wborgeaud
4f6f2192ab
Minor fixes
2021-05-18 16:23:44 +02:00
wborgeaud
96a880193c
Clippy
2021-05-18 16:09:22 +02:00
wborgeaud
9cd00532ce
Generic tests
2021-05-18 16:06:47 +02:00
wborgeaud
adf5c2d4ec
Const generics everywhere
2021-05-18 15:44:50 +02:00