This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
forked from zkcrypto/bellman
-
Notifications
You must be signed in to change notification settings - Fork 79
Recursive Redshift #20
Open
Konstantce
wants to merge
122
commits into
master
Choose a base branch
from
recursive_plonk
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
f98bac9
initial draft, no zk
shamatar d9df818
some cleanup
shamatar 2e857b6
backport IOP and FRI
shamatar 6c07a6f
add precomputations before we start
shamatar f0ce6b4
initial transparent commitment completed
shamatar 5619d4f
implement and test blake2s commitment
shamatar ec2627d
initial plonk without public inputs for transparent scheme
shamatar 5fe138a
start some benchmarking and optimizations
shamatar 4034ad0
start testing on large circuits
shamatar fa77d38
finished test on a large circut. Now optimize t-poly
shamatar e8a9f31
40% lde speedup
shamatar 603ba5f
cleanup and few experiments
shamatar 4f01fbd
chunked prover
shamatar f4081f6
copy-paste partial reduction from experimental repo
shamatar 237dc16
some cleanup and functions for bitreversed forms
shamatar 6f1094a
change FRI definisions to port coset combining FRI from experimental
shamatar 44b06b1
some draft redshift implementation
shamatar eaeecfb
fix/check correctness
shamatar 1ace312
redshift and plonk with optimizatioins
shamatar 7098ce7
place benchmarks, remove verbosity
shamatar 21bd85b
move blake2 locally
shamatar 440564e
push blake2
shamatar 7628e92
fix path
shamatar f31d595
fix circuit sizes
shamatar 5e23863
fix benchmark sizes
shamatar 18dc414
fix coset schedule
shamatar 5d2dd3e
don't test too large sizes
shamatar 18e5ff8
use required number of bases
shamatar 792bf2e
remove more verbosity
shamatar 4206d72
unchecked transpiler
Konstantce 4fe3f19
unchecked transpiler (right version)
Konstantce 9991a11
Merge branch 'plonk' of https://github.com/matter-labs/bellman into p…
shamatar ad18aae
start implementing alternative approach to transpiling
shamatar 734b241
initial transpiler routines
shamatar 6e81f2e
push initial transpiler
shamatar e497255
polish and fix
shamatar 57b9173
succesfully transpiles XOR circuit
shamatar 37ce786
proving on XOR must also work
shamatar 1c88588
make some parts public
shamatar a5f6d4c
transpiler is working on some real-world circuits
shamatar f04a5df
build pairing from git
shamatar a547f52
some verbosity
shamatar 29fa34c
try to implement cleaner adaptor for modified proof system
shamatar cce51ee
improve edge cases
shamatar b8b5ef4
fixes
shamatar aa961ed
commit the indexer
shamatar 1d30515
little bit of the prover
shamatar 8c898bf
tmp
shamatar 67e6dc7
draft if the prover is complete
shamatar d37b053
init
Konstantce a0beeb7
new genrators
Konstantce 2f158ea
bits of refactoring
Konstantce 01ab9c4
new prover: WiP
Konstantce fbc8f3c
rescue: WiP
Konstantce e01b7c1
rescue finished
Konstantce 40ca0fe
rescue tree finished
Konstantce 6facab8
FRI refactoring
Konstantce e11d977
FRI refactoring2
Konstantce 92bc75d
significant cleaning
Konstantce 2b5a42c
more cleaning
Konstantce d329be8
fixed dependency errors
Konstantce 7b005ee
channel class
Konstantce f1f2407
new attempt to refactor FRI
Konstantce 197db4d
FRI - FRI - FRI
Konstantce d1c5d20
combining all together
Konstantce c10b63e
more understanding of FRI
Konstantce ddc33d9
final FRI refactor: WiP
Konstantce 5133c58
final FRI refactor: almost done
Konstantce dd1f9ea
new coset Combiner
Konstantce 35fd607
new query producer
Konstantce 2316385
FRI verifier: WiP
Konstantce ae93dc4
generation of constants in rescue
Konstantce ae75558
FRI verifier: WiP
Konstantce 4dd277a
FRI verifier: almost done
Konstantce 659b663
FRI done
Konstantce 976c2a9
batched_oracle_required
Konstantce 4b17889
batched oracle and FRI support
Konstantce ae9aaa4
batched oracle and FRI support2
Konstantce 67d5d83
Redshift: prover works
Konstantce 7541a89
Redshift: almost final rework
Konstantce a17de3d
Redshift: almost final rework2
Konstantce 02b18ef
Redshift: almost final rework3
Konstantce 6449719
with labeled oracles
Konstantce d4bb800
verifier: final WiP
Konstantce 21ab328
verifier: almost done
Konstantce 3daac72
should modify coset combiner: WiP
Konstantce 863ff7a
verifier: almost done
Konstantce f2acdee
verifier: done
Konstantce 7306476
verifier: done finally all
Konstantce cec7a5b
verifying circuit: WiP
Konstantce b007540
reworking hashes
Konstantce ebaee8b
with BN256 Rescue params
Konstantce 7dd20cf
with modified channel and oracle, suitable for BN256
Konstantce eb7ea01
with fixed FRI
Konstantce 8be39b9
final modifications to work with BN256
Konstantce 62132a8
all is done to debug and test BN256-based redshift
Konstantce 6e50dc4
Pred-release
Konstantce b8046e2
some minor changes in cs
Konstantce c0ed561
some minor changes2
Konstantce 26d160a
some minor changes2
Konstantce f202024
some minor changes3
Konstantce 93eab59
some minor changes4
Konstantce 364fdf0
code style PR
Konstantce 44f9c82
debugging FRI
Konstantce 4b762ad
localizing problem
Konstantce c7880c4
localizing problem2
Konstantce cb4cd3b
FRI is fixed
Konstantce 6217c2d
before merging changes
Konstantce 15222f7
before merging changes2
Konstantce 7071422
fixed annoying bug
Konstantce fb3c5e3
fixed annoying bug2
Konstantce 1881538
with debug output
Konstantce 8562a5a
with debug output2
Konstantce 5f8f0e9
final version
Konstantce c6216e2
final version2
Konstantce a72c79e
final version3
Konstantce 5f1de5a
final version4
Konstantce 0db6f5d
final version4
Konstantce e8046c4
some minor compatibility changes
Konstantce 7450c10
some minor compatibility changes
Konstantce 279f35f
adjust fri_params final degree
Konstantce 1b83447
with poseidon
Konstantce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run Test Debugger", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/target/debug/buggin-70708b3916187eeb.exe", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": true, | ||
"preLaunchTask": "cargo test build", | ||
}, | ||
|
||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Launch", | ||
"args": [], | ||
"program": "${workspaceFolder}/target/debug/boa", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"sourceLanguages": ["rust"], | ||
"sourceMap": { | ||
"/rustc/*": "${env:HOME}/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust" | ||
} | ||
}, | ||
{ | ||
"name": "(Windows) Launch", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/target/debug/boa.exe", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"sourceFileMap": { | ||
"/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "${env:USERPROFILE}/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust" | ||
}, | ||
"symbolSearchPath": "https://msdl.microsoft.com/download/symbols", | ||
"environment": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, annotate why it is commented out.