306 Commits

Author SHA1 Message Date
Daniel Lubarov
1b9c4778d8 Enumerate constants_to_targets in a deterministic order
Fixes #684.
2022-08-23 11:25:00 -07:00
Daniel Lubarov
cbfc13c33f Minor paper update 2022-08-18 08:50:49 -07:00
Daniel Lubarov
e3d131b99d Update paper 2022-08-17 16:29:30 -07:00
Daniel Lubarov
faa75178a2 MIT + Apache2 licenses 2022-08-15 07:43:00 -07:00
Daniel Lubarov
65a20bcd8a Merge remote-tracking branch 'proxima/log-portability' 2022-08-06 23:00:32 -04:00
Daniel Lubarov
385a990c50 Unsuppress warnings 2022-08-06 22:27:17 -04:00
Daniel Lubarov
1e5383c63d Stub push/pop 2022-08-06 22:18:53 -04:00
Sladuca
e7216f2683 feature-gate rand 2022-08-06 11:35:41 -04:00
Sebastien La Duca
8c515b4f2c selectors can stay pub(crate) 2022-08-02 17:12:27 -04:00
Sebastien La Duca
243bc09293 make modules public 2022-08-02 16:42:37 -04:00
Sebastien La Duca
5563176bad make rest of gates public 2022-08-02 16:20:58 -04:00
Daniel Lubarov
bb45c8c850
Merge pull request #629 from proxima-one/maybe-rayon
add rayon shim
2022-07-28 11:38:56 -07:00
Sebastien La Duca
85111b0f02 fix missing underscore 2022-07-27 23:58:16 -04:00
Sebastien La Duca
a6931d4555 fmt 2022-07-27 23:53:33 -04:00
Sebastien La Duca
585495d314 feature-gate stub TimingTree 2022-07-27 23:53:26 -04:00
Sebastien La Duca
16ddfcb94c make env_logger dev-dependency 2022-07-27 23:35:15 -04:00
Daniel Lubarov
c028afa1f8 Update paper 2022-07-27 07:37:38 -07:00
Daniel Lubarov
cddc749a7e Fix comparison 2022-07-24 08:06:02 -07:00
Daniel Lubarov
0e5dd59d35 Use a fixed input buffer size in Challenger.
Alternate implementation of #633, using `SPONGE_RATE` as the buffer size.
2022-07-23 22:29:45 -07:00
Sebastien La Duca
81e14bf5b3 fmt 2022-07-21 17:02:03 -04:00
Sebastien La Duca
529add1c0a switch rest of names back 2022-07-21 17:01:21 -04:00
Sebastien La Duca
a281e28d54 add rayon shim 2022-07-21 16:59:20 -04:00
Daniel Lubarov
539364c87a clippy 2022-07-18 21:53:31 -07:00
Daniel Lubarov
dec0765fb5
Tweak Merkle proof API and make it public (#588)
- Add `_to_cap` to existing methods for clarity
- Add variants which deal with Merkle roots instead of caps
- Simplify `verify_merkle_proof_to_cap` - it can call `verify_merkle_proof_to_cap_with_cap_index`
- Make them all public except `verify_merkle_proof_to_cap_with_cap_index`, which is pretty niche
2022-06-27 20:39:47 -07:00
Daniel Lubarov
e73d01a037
packed_field -> packed (#584)
* `packed_field` -> `packed`

For cleaner imports; "field" is usually clear from context

* fix
2022-06-27 15:07:52 -07:00
Daniel Lubarov
3346d3f902
field_types -> types (#583)
* `field_types` -> `types`

Here too, I think "field" is usually clear from context, e.g. in `use plonky2::field::types::Field;`.

* fixes

* fmt
2022-06-27 12:24:09 -07:00
Daniel Lubarov
410e03349c
extension_field -> extension (#581)
It seems redundant in most contexts, e.g. `use plonky2::field::extension_field::Extendable;`. One could import `extension_field`, but it's not that common in Rust, and `field::extension` is now about as short.
2022-06-27 07:18:21 -07:00
wborgeaud
ccc9c024a2 Change some fn to take iterators instead of slices 2022-06-03 19:20:19 +02:00
wborgeaud
6f5c8e46f6 s/right/next 2022-06-02 23:55:56 +02:00
wborgeaud
683f325413 PR feedback 2022-06-02 19:01:44 +02:00
wborgeaud
2e3a738bc5 Implement multi-table CTLs 2022-06-01 18:53:19 +02:00
wborgeaud
acb7b8bc05 Use reduce_base in reduce_with_powers_circuit 2022-05-31 02:51:39 +02:00
wborgeaud
fd7eb9e915 PR feedback and add reduce_with_powers_circuit fn 2022-05-30 20:13:25 +02:00
wborgeaud
1fdb41755e Recursive proof isn't correct (yet) 2022-05-26 16:27:15 +02:00
wborgeaud
e13bbf563e Add num_ctl_zs 2022-05-25 08:00:41 +02:00
wborgeaud
8e8e4daa9c Start of impl 2022-05-20 11:21:13 +02:00
wborgeaud
781d1edb8e Remove marking 2022-05-18 19:37:05 +02:00
wborgeaud
917af4267f
Merge pull request #544 from mir-protocol/standard_gadget_suffix
Standardize gadget suffix to `*_circuit`
2022-05-17 20:52:52 +02:00
wborgeaud
28d90d0e9e s/gate_index/row/ 2022-05-17 19:32:51 +02:00
wborgeaud
a31de48d88 More changes 2022-05-17 11:47:00 +02:00
wborgeaud
4cd37ca8d4 Rename fields of Wire 2022-05-17 11:31:45 +02:00
wborgeaud
b606d99e07 Use *_circuit suffix for gadgets 2022-05-17 11:04:35 +02:00
Daniel Lubarov
52faa0ceb7 Move paper 2022-05-06 13:08:58 -07:00
Remco Bloemen
7769c269bf
Do not export global allocator (#533)
* Do not export allocator

* Make sure to use jemalloc in all downstream tests

* Update readme

* Remove test jemalloc boilerplate

* One more

* Fix clippies

* One more

* Clippy

Co-authored-by: Daniel Lubarov <daniel@lubarov.com>
2022-05-03 13:16:53 -07:00
wborgeaud
c505c6759d Fix new clippy lints 2022-04-29 16:58:41 +02:00
Daniel Lubarov
dbc2d85b78 fmt 2022-04-14 19:24:01 -07:00
Remco Bloemen
9cff202e1a
Move benches to bins (#534)
* Copy recusion bench to bin

* Add command line arguments

* Allow ranges for inner_size

* Accept range for threads

* Log2 inner size

* CLI args for logging

* Update readme

* Use split_once

* Cleanup

* Correct inner proof size

* Shrink public surface

* Print stats on inner proofs
2022-04-14 19:23:43 -07:00
wborgeaud
b58d5d6747 Move u32 stuff to plonky2_u32 crate 2022-04-06 08:50:45 +02:00
wborgeaud
3c6ec8755b
Merge pull request #525 from mir-protocol/remove_const_gate
Generate constants in `RandomAccessGate`
2022-04-05 07:27:39 +02:00
Daniel Lubarov
8faf644f87
Change gate method for extra constants (#528)
* Change gate method for extra constants

* Rename

* feedback
2022-04-04 14:33:54 -07:00