74 Commits

Author SHA1 Message Date
Kevin Jue
ea96e7a176
Arithmetic Extension Gate (#10)
* initial commit for arithmetic extension gate

* fixed bug

* added regex for arithmeticExtensionGate
2023-05-17 16:52:42 -07:00
Kevin Jue
219a2ea61b
Consolidate gate test cases (#9)
* consolidated gate tests

* added recursive step circuit info

* added all the test cases for the recursive step gates
2023-05-16 21:35:02 -07:00
Kevin Jue
ccb828bdb1
Random Access Gate (#8)
* first (non working) version of random access gate

* fixed a bug

* got random access gate workgin

* added parsing logic for the random access gate
2023-05-16 17:11:01 -07:00
Kevin Jue
a0d5ad37de
Base sum gate (#7)
* initial version of base_sum_gate

* add recursive circuit benchmark files

* added step circuit data and contant gate test

* moved step testing data into gate_testing_utils

* added test case for basesum gate

* added test for arithmetic_gate
2023-05-16 11:13:42 -07:00
Kevin Jue
11f5ee28c6
Circuit modifications for recent Plonky2 changes (#5)
* pretty print fibonacci data files

* added in new dummy proof serialized data

* updated powresponse calculation in the challenger chip

* changes to reflect these plonky2 changes:  40aecc8e95

* modified benchmark to accept circuit name
2023-05-11 15:31:32 -07:00
Nicholas Ward
70e24b1289 remove unused JSON file 2023-05-11 09:36:09 -07:00
Nicholas Ward
2d7f5ecf50 generate proof challenges instead of receiving through JSON 2023-05-01 10:26:45 -07:00
Nicholas Ward
2acec50b96 fix 2023-04-27 12:05:07 -07:00
Nicholas Ward
d6801149f2 deserialize ProofChallenges (now works with plonky2 randomizing PI wires) 2023-04-26 16:05:23 -07:00
Nicholas Ward
9a91db901d don't need challenges serialized 2023-04-12 09:25:51 -07:00
Nicholas Ward
6bfca5badb i - s, not s - i 2023-04-12 09:16:24 -07:00
Nicholas Ward
f20852831e fixes, cleanup, and deserialize ProofChallenges 2023-04-12 09:13:38 -07:00
Nicholas Ward
85283a0662 fix 2023-04-06 14:40:39 -07:00
Nicholas Ward
b8a7d44fa9 deserialize selector info 2023-04-06 14:19:18 -07:00
Nicholas Ward
4be4b48391 fix gate ID parsing, and verbose error 2023-04-06 14:14:11 -07:00
Nicholas Ward
9a51b67aca gate deserialization, ArithmeticGate, ConstantGate 2023-04-06 13:39:23 -07:00
Nicholas Ward
ad8e851fc6 fixes 2023-04-06 11:34:11 -07:00
Nicholas Ward
f1dc02d30f Poseidon extension function versions, and finished PoseidonGate 2023-04-06 11:15:07 -07:00
Nicholas Ward
e1ab30f6a0 oops included gate files 2023-04-05 18:21:01 -07:00
Nicholas Ward
64456ee082 initial work on PoseidonGate 2023-04-05 18:20:49 -07:00
Nicholas Ward
c0168a9769 updates: included evaluateGateConstraints 2023-04-05 14:26:08 -07:00
Nicholas Ward
58914e8f66 uint64 2023-04-04 13:47:29 -07:00
Nicholas Ward
4914844edb finished evaluateGateConstraints 2023-04-04 13:26:30 -07:00
Nicholas Ward
098cb42410 no more gate EvalFiltered 2023-04-04 13:21:12 -07:00
Nicholas Ward
7091e1e1b2 initial work: gate interface and PublicInput 2023-04-04 13:15:31 -07:00
Kevin Jue
57b7937ae8 added comment for where the custom gate constraints logic should be implemented 2023-03-31 10:35:42 -07:00
John Guibas
6e9f1a7c50 Cleanup repo for release 2023-03-28 10:59:36 -07:00
Kevin Jue
8fe0c7f6b6 added plonky2_verifier_benchmark 2022-11-22 17:57:26 -08:00
Kevin Jue
4498f175f1 added verifier_test 2022-11-22 16:50:43 -08:00
Kevin Jue
148788ea51 refactored fri and plonk test 2022-11-21 18:04:28 -08:00
Kevin Jue
c4458d0785 fixed a verifier test 2022-11-21 16:53:58 -08:00
Kevin Jue
9c50f40985 added dummy circuit test case in verifier 2022-11-21 14:49:54 -08:00
Kevin Jue
a0405cd207 added plonk_benchmark 2022-11-17 17:33:12 -08:00
Kevin Jue
1ad9e73634 standalone fri circuit 2022-11-17 16:23:14 -08:00
Kevin Jue
a16fe09634 fixed some bugs 2022-11-15 17:50:45 -08:00
Kevin Jue
1095665ed1 fixed bug 2022-11-15 12:12:13 -08:00
Kevin Jue
d847bbd8e8 finished interpolate function in fri round verification 2022-11-15 12:09:05 -08:00
Kevin Jue
f877e3bda3 calculated barycentric weights 2022-11-14 19:03:52 -08:00
Kevin Jue
8797fd15ed arity verification check with incomplete compute_evaluation 2022-11-14 18:40:28 -08:00
Kevin Jue
317f4baf0a some rearranging of the functions 2022-11-14 09:53:52 -08:00
Kevin Jue
cbb50ef3bd deserialized the steps 2022-11-11 18:14:40 -08:00
Kevin Jue
571d64abeb added the test challenges for the large circuit test 2022-11-11 16:24:16 -08:00
Kevin Jue
897030b335 added more test data 2022-11-11 13:47:03 -08:00
Kevin Jue
ccfe2b51c9 added reductionArityBits function 2022-11-10 17:46:49 -08:00
Kevin Jue
c3e16622a2 added GetFriInstance 2022-11-10 16:30:53 -08:00
Kevin Jue
393059b51d added the function friCombineInitial 2022-11-10 12:54:57 -08:00
Kevin Jue
8e9591c964 calculated subgroupX 2022-11-10 08:05:30 -08:00
Kevin Jue
21157cf4af added the merkle cap check 2022-11-09 10:54:27 -08:00
Kevin Jue
460709f65d got merkle proof traversal working 2022-11-08 17:54:01 -08:00
Kevin Jue
d6f73d101b correctly deserialize fri opening proofs 2022-11-08 14:52:22 -08:00