risc0_circuit_recursion/
info.rs

1// Copyright 2025 RISC Zero, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// This code is automatically generated
16
17use risc0_zkp::adapter::{CircuitInfo, ProtocolInfo};
18
19use super::CircuitImpl;
20
21impl CircuitInfo for CircuitImpl {
22    #[rustfmt::skip]
23    const CIRCUIT_INFO: ProtocolInfo = ProtocolInfo(*b"RECURSION:rev1v1");
24
25    #[rustfmt::skip]
26    const OUTPUT_SIZE: usize = 32;
27
28    #[rustfmt::skip]
29    const MIX_SIZE: usize = 20;
30}
31
32#[allow(dead_code)]
33pub const NUM_POLY_MIX_POWERS: usize = 158;
34
35#[allow(dead_code)]
36pub const POLY_MIX_POWERS: &[usize] = &[
37    0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
38    26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
39    50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
40    74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
41    98, 99, 100, 101, 103, 110, 121, 122, 132, 137, 144, 151, 158, 168, 177, 188, 203, 216, 224,
42    228, 231, 242, 243, 258, 265, 272, 279, 289, 298, 309, 324, 337, 345, 352, 363, 420, 501, 516,
43    533, 629, 696, 760, 862, 907, 1007, 1052, 1057, 1062, 1107, 1117, 1129, 1177, 1189, 1193, 1197,
44    1209, 1213, 1217, 1221, 1257,
45];