Skip to content

Commit

Permalink
perf, feat, refactor: improve some plonk primitives (#456)
Browse files Browse the repository at this point in the history
* feat: iop.Evaluate now takes buffer for result

* feat: add cobra bit reverse

* experiment: generate code for CobraInPlace

* unroll not good

* fix previous commit

* refactor: simplify some expressions in bitReverse

* style: cleaning up the PR

* build: gofmt stuff

* feat: iop.Expression takes row as param too

* feat: ToLagrange and ToCanonical takes nbTask to use for FFT in param

* feat: moved ecc/fr/kzg -> ecc/kzg

* feat: addition of srs conversion canonical->lagrange bls12377

* feat: code gen for kzg srs conversion canonical->lagrange

* feat: special type for srs in Lagrange

* feat: commit srs Lagrange, test ok

* fix: fixed import kzg

* refactor: wip

* checkpoint

* add TODO

* clean: remove kzg.ProvingKey.Clone()

* fix: edge case in compute twiddles

* style: cleaned comment for canonical -> lagrange transfo

---------

Co-authored-by: Thomas Piellard <[email protected]>
  • Loading branch information
gbotrel and ThomasPiellard authored Oct 12, 2023
1 parent da0317f commit 2065441
Show file tree
Hide file tree
Showing 163 changed files with 3,826 additions and 501 deletions.
19 changes: 1 addition & 18 deletions ecc/bls12-377/fr/fft/domain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions ecc/bls12-377/fr/generator.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions ecc/bls12-377/fr/iop/expressions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ecc/bls12-377/fr/iop/expressions_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 21 additions & 10 deletions ecc/bls12-377/fr/iop/polynomial.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ecc/bls12-377/fr/iop/quotient_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/permutation/permutation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/permutation/permutation_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/plookup/plookup_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/plookup/table.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-377/fr/plookup/vector.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2065441

Please sign in to comment.