Commit a00566c
authored
chore: remove circuit simulator (#13689)
Remove all code related to the `CircuitSimulator`.
The idea of the `CircuitSimulator` was to allow us to write our
verification algorithms once and for all in "circuit" format then
achieve recursive verification through supplying a real builder (e.g.
Ultra/Mega) and native verification through supplying the
`CircuitSimulator`. The motivation was that the recursive circuits
should be the first class objects, rather than their native
counterparts. In practice this proved to be too complicated and was
never used. We don't have time to flesh it out at this point and it adds
a very high degree of complexity and clutter to some of our most complex
code.1 parent 0e604a1 commit a00566c
56 files changed
Lines changed: 356 additions & 1076 deletions
File tree
- barretenberg/cpp/src/barretenberg
- benchmark
- simulator_bench
- circuit_checker
- flavor
- stdlib_circuit_builders
- stdlib
- hash
- keccak
- poseidon2
- honk_verifier
- plonk_recursion
- transcript
- verification_key
- primitives
- bigfield
- biggroup
- bit_array
- bool
- byte_array
- circuit_builders
- field
- group
- logic
- packed_byte_array
- padding_indicator_array
- plookup
- safe_uint
- uint
- plookup
- witness
- protogalaxy_verifier
- translator_vm_verifier
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 137 deletions
This file was deleted.
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | 403 | | |
405 | 404 | | |
406 | 405 | | |
| |||
413 | 412 | | |
414 | 413 | | |
415 | 414 | | |
416 | | - | |
417 | 415 | | |
418 | 416 | | |
419 | 417 | | |
420 | | - | |
421 | 418 | | |
422 | 419 | | |
423 | 420 | | |
424 | 421 | | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
| |||
446 | 442 | | |
447 | 443 | | |
448 | 444 | | |
449 | | - | |
450 | 445 | | |
451 | 446 | | |
452 | 447 | | |
453 | | - | |
454 | 448 | | |
455 | 449 | | |
456 | 450 | | |
| |||
464 | 458 | | |
465 | 459 | | |
466 | 460 | | |
467 | | - | |
468 | 461 | | |
469 | 462 | | |
470 | 463 | | |
471 | | - | |
472 | 464 | | |
473 | 465 | | |
474 | 466 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | 834 | | |
839 | 835 | | |
840 | 836 | | |
| |||
921 | 917 | | |
922 | 918 | | |
923 | 919 | | |
924 | | - | |
925 | 920 | | |
926 | 921 | | |
927 | 922 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
Lines changed: 1 addition & 92 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 117 | | |
208 | 118 | | |
209 | 119 | | |
| |||
318 | 228 | | |
319 | 229 | | |
320 | 230 | | |
321 | | - | |
322 | 231 | | |
323 | | - | |
| 232 | + | |
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 53 | + | |
66 | 54 | | |
67 | 55 | | |
68 | 56 | | |
| |||
80 | 68 | | |
81 | 69 | | |
82 | 70 | | |
83 | | - | |
| 71 | + | |
0 commit comments