Daniel Lubarov
c9cfcecc9f
Logic CTL for xor
2022-09-04 16:53:04 -07:00
Daniel Lubarov
2c77247d43
Keccak sponge STARK
...
It contains a row for each absorb step of the sponge.
2022-09-01 09:41:19 -07:00
wborgeaud
05c3c4d907
First pass
2022-08-26 10:12:45 +02:00
Daniel Lubarov
aa87f2c3ba
Public memory
2022-08-25 20:19:18 -07:00
Daniel Lubarov
522cac5e15
Keccak memory stark
2022-08-24 09:29:17 -07:00
Daniel Lubarov
8e220ac623
Fix for CTL challenges
...
See this line -
```rust
challenges: ctl_data.challenges.challenges[i % config.num_challenges],
```
This doesn't work if we have multiple lookers from the same table; then `zs_columns` will contain multiple contiguous entries for the same challenge.
We could fix the index calculation, but it seems a bit error-prone. Seems easier to store the specific challenge as part of `zs_columns`.
2022-08-23 23:30:52 -07:00
Daniel Lubarov
782d7d0e18
Revert "Support accessing local row in CTLs"
2022-08-23 12:22:54 -07:00
Daniel Lubarov
00081890f3
feedback
2022-08-23 10:23:28 -07:00
Daniel Lubarov
a37dec9881
Support accessing previous row in CTLs
2022-08-22 15:20:10 -07:00
wborgeaud
d35d3e2095
PR feedback + underflow check
2022-07-11 19:53:00 +02:00
wborgeaud
5e27e7264d
unwrap_or_else -> unwrap_or
2022-07-11 14:56:27 +02:00
wborgeaud
50ebf39d37
Comment
2022-07-11 14:24:12 +02:00
wborgeaud
3ff67e38dc
Minor
2022-07-11 14:16:58 +02:00
wborgeaud
36c8aa34c1
Comments
2022-07-11 14:13:07 +02:00
wborgeaud
91fcf26289
Better CTL error
2022-07-11 11:07:16 +02: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
b9265ccf0e
Sanity check
2022-06-16 02:15:40 +02:00
wborgeaud
29f750ed51
Fix CTL verification
2022-06-16 02:06:43 +02:00
wborgeaud
0d8461d66d
PR feedback
2022-06-15 17:01:30 +02:00
wborgeaud
6a13ecf164
Remove enum and use Option for filter
2022-06-14 19:09:03 +02:00
wborgeaud
499d2d07bf
Minor
2022-06-14 16:30:34 +02:00
wborgeaud
1dce18495a
Remove Keccak input limbs
2022-06-14 01:21:17 +02:00
wborgeaud
d626679c6c
Column enum
2022-06-14 00:53:31 +02:00
wborgeaud
e969f10b20
PR feedback
2022-06-13 18:54:12 +02:00
wborgeaud
4e848c77db
Merge conflicts
2022-06-09 18:13:41 +02:00
wborgeaud
afda9db00a
Merge branch 'evm_keccak_stark' into filtered_ctl
...
# Conflicts:
# evm/src/all_stark.rs
# evm/src/cross_table_lookup.rs
2022-06-09 18:04:58 +02:00
wborgeaud
f36c012e9c
Checks
2022-06-07 23:37:35 +02:00
wborgeaud
05d2c69eb0
Add constraints
2022-06-07 23:09:09 +02:00
wborgeaud
47fc968b0a
Set default to an Option
2022-06-07 22:19:36 +02:00
Nicholas Ward
c39e927d52
added check on length of
2022-06-07 10:57:06 -07:00
wborgeaud
4deccb094f
Change partial product
2022-06-07 18:08:12 +02:00
wborgeaud
dcb8c37f45
Add linear combination of filter columns
2022-06-07 17:23:46 +02:00
wborgeaud
820456fc88
Add TableWithColumns struct
2022-06-06 20:51:14 +02:00
wborgeaud
6f5c8e46f6
s/right/next
2022-06-02 23:55:56 +02:00
wborgeaud
e376196475
Remove collect
2022-06-01 20:21:59 +02:00
wborgeaud
2e3a738bc5
Implement multi-table CTLs
2022-06-01 18:53:19 +02:00
wborgeaud
bd738399dd
Clippy
2022-05-26 20:44:59 +02:00
wborgeaud
d47b22d2b5
Compiles
2022-05-24 16:24:52 +02:00
wborgeaud
d9b237d998
Add ctl check vars logic
2022-05-23 17:49:04 +02:00
wborgeaud
8e8e4daa9c
Start of impl
2022-05-20 11:21:13 +02:00
wborgeaud
9f01840a57
Make evm structs more generic
2022-05-19 09:41:15 +02:00
Daniel Lubarov
c54896dcb8
Rename starky2 -> evm ( #547 )
2022-05-18 10:32:14 -07:00