wborgeaud
4b1f368e89
Use Frobenius optimization in the circuit
2021-06-11 14:16:40 +02:00
wborgeaud
bc7f67c316
In-circuit repeated frobenius
2021-06-11 13:58:05 +02:00
wborgeaud
20741cfb4a
Implement out-of-circuit repeated_frobenius using hardcoded constants
2021-06-11 13:45:51 +02:00
wborgeaud
1ebeab2c3a
Implement Frobenius optimization discussed in #61 comments to avoid calling the Frobenius for every wires.
2021-06-11 10:27:03 +02:00
wborgeaud
4106a47ded
Test rotate gadget
2021-06-11 09:59:55 +02:00
wborgeaud
1eb372326a
Add CircuitConfig::large_config() for tests.
2021-06-11 09:44:19 +02:00
wborgeaud
ccd31d1718
Remove useless Generator
2021-06-11 09:39:14 +02:00
wborgeaud
2cd99ff84c
Change ExtensionTarget::frobenius to use 4 constants instead of 1.
2021-06-11 09:35:22 +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
wborgeaud
bdf8417c28
Modify rotate to use binary
2021-06-10 17:58:41 +02:00
wborgeaud
dea6db00ac
Rotation gadgets
2021-06-10 17:45:45 +02:00
wborgeaud
81ce0eb710
Fix bugs
2021-06-10 16:48:05 +02:00
wborgeaud
f8dd35b748
Use low-high in query round.
2021-06-10 16:08:57 +02:00
wborgeaud
cdce82e1f8
Small fix
2021-06-10 15:56:17 +02:00
wborgeaud
6cce4c1f78
Add low-high split
2021-06-10 15:55:29 +02: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
bb551092a0
Remove mul_extension_naive
2021-06-09 21:12:15 +02:00
wborgeaud
3db6e38d26
Convert some mul_extension_naive to mul_extension
2021-06-09 18:04:58 +02:00
wborgeaud
f7e92af963
Comment out errors
2021-06-09 17:55:49 +02:00
wborgeaud
89761ef22a
Added in-circuit reverse_bits and exp.
2021-06-09 17:39:45 +02:00
wborgeaud
9adf5bb43f
Use ExtensionAlgebra + new CircuitBuilder::mul_extension
2021-06-09 10:51:50 +02: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
2b5b5f87e1
Merge pull request #57 from mir-protocol/quartic_quartic_algebra
...
Field extension algebras
2021-06-08 19:36:48 +02:00
wborgeaud
f965211435
Use Daniel's fmt
2021-06-08 19:36:30 +02:00
wborgeaud
e1e4bb36db
Started query round
2021-06-08 19:32:23 +02:00
wborgeaud
94ca809b94
Merge pull request #58 from mir-protocol/remove_quartic_quartic
...
Remove quartic_quartic
2021-06-08 19:31:39 +02:00
Daniel Lubarov
db1ef913e0
Remove quartic_quartic
2021-06-08 10:08:17 -07:00
wborgeaud
c6c71ef574
Working fri_combine_initial
2021-06-08 14:56:49 +02:00
wborgeaud
47da1ef68c
Add MLE tests for algebras
2021-06-08 14:01:47 +02:00
wborgeaud
c674d6c1f6
Remove unused imports
2021-06-08 12:53:04 +02:00
wborgeaud
19a38682ab
Minor tweaks
2021-06-08 12:49:45 +02:00
wborgeaud
070dc7c9f1
s/ext_ext/ext_algebra
2021-06-08 11:30:39 +02:00
wborgeaud
d727f84a56
Working test
2021-06-08 11:18:21 +02:00
wborgeaud
5678c7ebda
Added ExtensionAlgebra
2021-06-08 10:58:03 +02:00
wborgeaud
e50d0aa63d
Interpolation of two points
2021-06-07 21:24:41 +02:00
wborgeaud
8cf2758b6c
Division gadget for extension field
2021-06-07 17:55:27 +02:00
wborgeaud
a8da9b945e
Working MulExtensionGate
2021-06-07 17:09:53 +02:00
wborgeaud
6f2275bc6d
Progress
2021-06-07 11:19:54 +02:00
wborgeaud
f5dfe95b2e
Added recursive powers
2021-06-04 17:36:48 +02:00
wborgeaud
eee117512b
Fill todo!
2021-06-04 17:12:39 +02:00
wborgeaud
1169870163
Added test
2021-06-04 17:07:14 +02:00
wborgeaud
51c06d74ee
Recursive PoW
2021-06-04 16:02:48 +02:00
wborgeaud
42d5b80a7a
BaseSum gate
2021-06-04 15:40:54 +02:00
wborgeaud
897ec3b053
Target version of proof structs
2021-06-04 10:47:46 +02:00
wborgeaud
c24ad60688
Merge pull request #55 from mir-protocol/check_base_field
...
Check base field
2021-06-02 09:59:00 +02:00
Daniel Lubarov
7334341cfa
Attempt at simplification
2021-06-01 23:27:09 -07: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