wborgeaud
72021a56fa
Simplify
2021-07-19 19:42:39 +02:00
wborgeaud
b72d4d126b
Remove indices in WirePartitions
2021-07-19 19:38:39 +02:00
Daniel Lubarov
a9e5f1e4e2
More routed wires for recursion ( #104 )
...
* More routed wires for recursion
For the insertion gate, which (with a FRI arity of 4) uses 1 wire for the insertion index, D for the elemnet to insert, 3D for the original list, and 4D for the output list.
* import
2021-07-19 08:52:10 -07:00
Nicholas Ward
4dc6a603a1
Merge pull request #90 from mir-protocol/insertion_gate
...
Insertion gate
2021-07-19 07:59:55 -07:00
wborgeaud
8868378fda
Merge pull request #103 from mir-protocol/remove_frobenius_opening
...
Remove openings at the Frobenius of zeta
2021-07-19 16:57:19 +02:00
wborgeaud
661c6d0069
Merge pull request #102 from mir-protocol/trim_final_poly
...
Trim final polynomial and check total FRI arity
2021-07-19 16:54:59 +02:00
wborgeaud
52cc7c79f5
Remove openings at the Frobenius of zeta
2021-07-19 16:45:38 +02:00
wborgeaud
9baea1ae26
Trim final poly and check FRI arity
2021-07-19 16:24:21 +02:00
Daniel Lubarov
35c8643681
Tiny cleanup
2021-07-18 23:31:21 -07:00
Daniel Lubarov
d11bcd1928
Optional zk ( #101 )
...
* Make ZK optional
* Remove rate from FriConfig
Seems redundant, and we've had some tests break due to the two fields not matching.
* zero_knowledge: false in bench
2021-07-18 23:24:33 -07:00
Daniel Lubarov
0a5d46bfa9
Have prove return Result ( #100 )
...
* Have `prove` return `Result`
To address that TODO.
* PR feedback
2021-07-18 23:14:48 -07:00
Daniel Lubarov
9c17a00c00
Division related changes ( #99 )
...
* Division related changes
- Simplify `div_unsafe_extension` using virtual targets
- Add methods for inversion and safe division
As a followup I'll switch some calls to safe division.
* Test safe division also
* add_virtual_extension_target
2021-07-18 23:05:57 -07:00
wborgeaud
b937679292
Merge pull request #95 from mir-protocol/more_recursive_verifier
...
Recursive verifier
2021-07-19 07:11:57 +02:00
wborgeaud
b7d51db979
Fix merge problems
2021-07-19 07:11:40 +02:00
wborgeaud
461f24a57e
Merge branch 'main' into more_recursive_verifier
...
# Conflicts:
# src/polynomial/commitment.rs
# src/proof.rs
2021-07-19 07:08:06 +02:00
wborgeaud
097413479e
PR feedback
2021-07-18 10:35:42 +02:00
Nicholas Ward
d8af0a9334
Merge main
2021-07-15 15:06:38 -07:00
Nicholas Ward
6b214410f2
fixes
2021-07-15 13:57:50 -07:00
Daniel Lubarov
573badc96f
Parallel proof-of-work search ( #92 )
2021-07-15 07:40:41 -07:00
Daniel Lubarov
77ce69dc15
Proof serialization ( #93 )
...
Using `serde_cbor` for now. It's probably far from optimal, as we have many `Vec`s which I assume it will prefix with their lengths, but it's a nice and easy method for now.
2021-07-15 07:35:12 -07:00
Daniel Lubarov
83a1430038
Fix some warnings ( #94 )
2021-07-15 07:34:46 -07:00
wborgeaud
4bc06deed8
zs_root -> zs_partial_products_root
2021-07-15 10:59:53 +02:00
wborgeaud
a6bc83217b
Minor
2021-07-15 10:55:18 +02:00
wborgeaud
fe05da6720
Clipp
2021-07-15 10:39:57 +02:00
wborgeaud
7d41785ac6
Comments
2021-07-15 10:24:11 +02:00
wborgeaud
2e12ee8e82
Minor
2021-07-15 10:13:13 +02:00
wborgeaud
7dec6efc6c
Rewrite Markable to avoid Arcs
2021-07-15 09:52:42 +02:00
wborgeaud
0ba5916346
Minor
2021-07-15 09:11:54 +02:00
wborgeaud
becd0c969e
Merge branch 'main' into more_recursive_verifier
...
# Conflicts:
# src/gadgets/insert.rs
# src/plonk_common.rs
# src/verifier.rs
2021-07-15 09:01:36 +02:00
Nicholas Ward
d3127c73d3
insertion gadget (test fails)
2021-07-14 23:54:22 -07:00
Daniel Lubarov
c678c55452
Imports
2021-07-14 21:43:55 -07:00
Daniel Lubarov
e68be51085
Imports
2021-07-14 21:42:14 -07:00
Nicholas Ward
ea07db14ac
fixed in recursive version too
2021-07-14 17:38:39 -07:00
Nicholas Ward
220c9bc87a
fixed bug oops
2021-07-14 17:38:24 -07:00
Nicholas Ward
82d08ff27c
Merge branch 'main' into insertion_gate
2021-07-14 17:31:27 -07:00
Nicholas Ward
c708d7e428
eval_unfiltered_recursively
2021-07-14 17:17:45 -07:00
Nicholas Ward
16ae68795a
cleanup
2021-07-14 16:55:27 -07:00
Nicholas Ward
9f2f987f20
minor fixes
2021-07-14 15:57:35 -07:00
Nicholas Ward
27c93f8f4b
addressed comments
2021-07-14 15:47:59 -07:00
wborgeaud
4a86e3dac2
Optimize get_sigma_map
2021-07-14 22:34:16 +02:00
wborgeaud
514ee0feda
More realistic config
2021-07-14 21:52:34 +02:00
wborgeaud
92c4bba2a3
Fix bug in GMiMC
2021-07-14 21:16:04 +02:00
wborgeaud
7793b5a956
Identify problem in GMiMc
2021-07-14 20:54:30 +02:00
wborgeaud
dcdbb6be33
Check copy constraints in PartialWitness
2021-07-14 18:44:58 +02:00
wborgeaud
c24fe65f44
Merge pull request #86 from mir-protocol/fix_z_check
...
Fix high degree `z` check by using partial products
2021-07-14 08:40:01 +02:00
wborgeaud
02f0715040
PR feedback
2021-07-14 08:39:09 +02:00
wborgeaud
c3d53392c4
Problem in permutation argument
2021-07-14 08:14:00 +02:00
Nicholas Ward
0a32e0fdeb
cargo fmt
2021-07-13 16:54:04 -07:00
Nicholas Ward
bad2e646c3
Merge branch 'main' into insertion_gate
2021-07-13 16:53:08 -07:00
Nicholas Ward
f4c7756f56
removed test debugging
2021-07-13 16:51:45 -07:00