Daniel Lubarov
bffdc553dc
fixes
2022-12-03 22:44:54 -08:00
Daniel Lubarov
1303a83f7f
Misc witness generation fixes
2022-12-03 21:09:57 -08:00
Daniel Lubarov
a3d8ecc52c
Merge pull request #834 from mir-protocol/use_keccak_sponge
...
Use Keccak sponge table for bootloading
2022-12-03 12:25:34 -08:00
Daniel Lubarov
f4fdb6a12f
Fix
2022-12-03 12:02:51 -08:00
Daniel Lubarov
d091910d79
fmt
2022-12-03 11:22:56 -08:00
Daniel Lubarov
b8b2fefe52
Use Keccak sponge table for bootloading
...
And get rid of the deprecated Keccak memory table.
2022-12-03 11:21:31 -08:00
Daniel Lubarov
4a0fbb289c
Merge pull request #833 from mir-protocol/witness_gen_fixes
...
Fixes & re-enabling most constraints
2022-12-03 08:53:28 -08:00
Daniel Lubarov
20183c260b
Fixes & re-enabling most constraints
2022-12-02 22:47:07 -08:00
Daniel Lubarov
520bb5a8cd
Merge pull request #816 from mir-protocol/jacqui/witness-generation
...
WIP: witness generation
2022-12-02 20:11:09 -08:00
Daniel Lubarov
3c5489493f
Merge pull request #830 from mir-protocol/more-witness-generation
...
Misc work on witness generation
2022-12-02 20:06:01 -08:00
Daniel Lubarov
bfa680fcea
Fix recursive constraints
2022-12-02 19:43:01 -08:00
Daniel Lubarov
21719222de
fmt
2022-12-02 19:19:04 -08:00
Daniel Lubarov
b96c22a4f4
Interpreter fixes
2022-12-02 19:18:37 -08:00
Daniel Lubarov
82d0f08193
clippies
2022-12-02 17:06:30 -08:00
Daniel Lubarov
7293054062
Warnings
2022-12-02 14:49:32 -08:00
Daniel Lubarov
1f92d73177
Misc fixes
2022-12-02 14:31:18 -08:00
Daniel Lubarov
74446659a3
TODO
2022-12-02 14:00:22 -08:00
Daniel Lubarov
a63b73a851
Misc fixes
2022-12-02 13:56:52 -08:00
Hamish Ivey-Law
ce786c7a9c
Halve number of columns used by arithmetic table ( #813 )
...
* Add comments about number of columns used.
* Split modular operations across two rows.
* Fix test setup.
* Use constraint_transition() in common code.
* Ensure all inputs/outputs are on the first row.
* Fix constraint for single-row ops.
* Tidy up loop; make MODULAR_AUX_INPUT length reflect reality.
2022-12-02 17:11:31 +11:00
Daniel Lubarov
4f66d58de5
Fixes
2022-12-01 17:14:40 -08:00
Daniel Lubarov
05ab3d7933
Fixes
2022-12-01 16:23:39 -08:00
Daniel Lubarov
9bf47ef8ac
Fixes
2022-12-01 12:46:14 -08:00
Daniel Lubarov
3069363d35
Keccak fix
2022-12-01 12:13:34 -08:00
Daniel Lubarov
d3aa33975a
generate_keccak_general, generate_byte
2022-12-01 12:06:29 -08:00
Daniel Lubarov
25205f319a
fix
2022-12-01 11:21:52 -08:00
Daniel Lubarov
231042acb6
Pop
2022-12-01 11:21:40 -08:00
Daniel Lubarov
027dfc14b6
Refactor to support PROVER_INPUT
2022-12-01 11:15:51 -08:00
Daniel Lubarov
b6326c56b2
stubs
2022-11-30 22:03:00 -08:00
Daniel Lubarov
ea0e37480d
misc
2022-11-30 21:56:59 -08:00
Daniel Lubarov
19e2239d3a
fix
2022-11-30 21:34:06 -08:00
Daniel Lubarov
cb1b6cbb39
Generate memory ops
2022-11-30 21:30:21 -08:00
Daniel Lubarov
526dc9bb77
Flush out operation list
2022-11-30 21:00:48 -08:00
Daniel Lubarov
97ac5c59d6
Fixes
2022-11-30 18:12:31 -08:00
Daniel Lubarov
906a47a1ef
generate_push and misc other progress
2022-11-30 17:45:31 -08:00
Daniel Lubarov
2471f5a391
Push and arithmetic ops
2022-11-30 15:25:16 -08:00
Daniel Lubarov
afb3e4b1e1
Misc work on witness generation
2022-11-30 14:58:40 -08:00
Daniel Lubarov
2d92b4b6b4
Fix warning
2022-11-30 10:11:48 -08:00
Daniel Lubarov
206f527338
Merge branch 'main' into jacqui/witness-generation
2022-11-30 10:09:57 -08:00
Daniel Lubarov
73de231e34
Merge pull request #827 from mir-protocol/cyclic_recursion_tweaks
...
Cyclic recursion tweaks
2022-11-29 13:19:18 -08:00
Daniel Lubarov
3515fbddac
fix
2022-11-29 12:39:53 -08:00
Daniel Lubarov
ad58dcbc0e
fix
2022-11-29 12:39:17 -08:00
Daniel Lubarov
c3ae52f5b0
fix
2022-11-29 12:19:40 -08:00
Daniel Lubarov
b23193ba8d
use hashmap
2022-11-29 12:17:33 -08:00
Daniel Lubarov
319d9b5a52
Feedback
2022-11-29 12:02:54 -08:00
Daniel Lubarov
55e5d56795
Trie fix
2022-11-29 08:52:37 -08:00
Daniel Lubarov
7612c39c01
Merge pull request #828 from mir-protocol/proof_with_pis_reference
...
Make `proof_with_pis` a reference
2022-11-29 08:52:03 -08:00
Daniel Lubarov
5a153278aa
fix
2022-11-28 22:34:29 -08:00
Daniel Lubarov
644a8a2336
Make proof_with_pis a reference
2022-11-28 22:18:42 -08:00
Daniel Lubarov
c528da4e66
Cyclic recursion tweaks
...
- Have the caller to `cyclic_recursion` create and pass in the virtual proof
- Split `dummy_proof` into preprocessing and proving, so that we don't need to redo the preprocessing work in each `set_cyclic_recursion_data_target` call
- Have the caller update `num_public_inputs` instead of doing it in `cyclic_recursion`. This is a little less convenient but I think it's best not to modify the caller's config (principle of least surprise)
- Have `set_cyclic_recursion_data_target` take a sparse set of public inputs. Taking some PIs with the lowest indices didn't seem very general. I still have some reservations about this part of the API - I think it would seem cleaner if PIs of a proof which wasn't selected for verification were simply ignored - but perhaps there are some optimization reasons to keep using them.
2022-11-28 21:02:41 -08:00
BGluth
5ee283b267
Merge pull request #829 from mir-protocol/ci_nightly_freeze
...
Set CI to use an older version of nightly
2022-11-28 18:07:27 -07:00