30 const auto emit_unencrypted_log_IS_WRITE_LOG_LENGTH = in.get(C::emit_unencrypted_log_start);
31 const auto emit_unencrypted_log_WRONG_NEXT_TAG = (
FF(1) - in.get(C::emit_unencrypted_log_correct_tag_shift));
34 using View =
typename std::tuple_element_t<0, ContainerOverSubrelations>::View;
35 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error)) *
36 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error)));
40 using View =
typename std::tuple_element_t<1, ContainerOverSubrelations>::View;
41 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
42 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_start)));
46 using View =
typename std::tuple_element_t<2, ContainerOverSubrelations>::View;
47 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
48 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_end)));
52 using View =
typename std::tuple_element_t<3, ContainerOverSubrelations>::View;
53 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
54 static_cast<View
>(in.get(C::precomputed_first_row));
58 using View =
typename std::tuple_element_t<4, ContainerOverSubrelations>::View;
59 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_shift)) *
60 (
static_cast<View
>(in.get(C::emit_unencrypted_log_start_shift)) -
61 CView(emit_unencrypted_log_LATCH_CONDITION));
65 using View =
typename std::tuple_element_t<5, ContainerOverSubrelations>::View;
66 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
67 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)));
71 using View =
typename std::tuple_element_t<6, ContainerOverSubrelations>::View;
72 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_shift)) -
73 static_cast<View
>(in.get(C::emit_unencrypted_log_sel))) *
74 (
FF(1) -
CView(emit_unencrypted_log_LATCH_CONDITION));
78 using View =
typename std::tuple_element_t<7, ContainerOverSubrelations>::View;
79 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
80 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)));
84 using View =
typename std::tuple_element_t<8, ContainerOverSubrelations>::View;
85 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
86 (((
CView(constants_PUBLIC_LOG_HEADER_LENGTH) +
87 static_cast<View
>(in.get(C::emit_unencrypted_log_log_size))) -
89 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)));
93 using View =
typename std::tuple_element_t<9, ContainerOverSubrelations>::View;
94 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
95 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)) -
FF(1)) -
96 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_shift)));
100 using View =
typename std::tuple_element_t<10, ContainerOverSubrelations>::View;
101 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
102 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)) *
103 (
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
104 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_inv))) +
105 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_inv))) -
107 static_cast<View
>(in.get(C::emit_unencrypted_log_end)));
111 using View =
typename std::tuple_element_t<11, ContainerOverSubrelations>::View;
112 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
113 (
static_cast<View
>(in.get(C::emit_unencrypted_log_max_mem_addr)) -
114 CView(constants_AVM_HIGHEST_MEM_ADDRESS));
118 using View =
typename std::tuple_element_t<12, ContainerOverSubrelations>::View;
119 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
120 (((
static_cast<View
>(in.get(C::emit_unencrypted_log_log_address)) +
121 static_cast<View
>(in.get(C::emit_unencrypted_log_log_size))) -
123 static_cast<View
>(in.get(C::emit_unencrypted_log_end_log_address)));
127 using View =
typename std::tuple_element_t<13, ContainerOverSubrelations>::View;
128 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
129 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds_shift)) -
130 static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds)));
134 using View =
typename std::tuple_element_t<14, ContainerOverSubrelations>::View;
135 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields)) *
136 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields)));
140 using View =
typename std::tuple_element_t<15, ContainerOverSubrelations>::View;
141 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
142 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields)) +
143 CView(emit_unencrypted_log_TOTAL_LOG_FIELDS_SIZE)) -
144 static_cast<View
>(in.get(C::emit_unencrypted_log_expected_next_log_fields)));
148 using View =
typename std::tuple_element_t<16, ContainerOverSubrelations>::View;
149 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
150 (
static_cast<View
>(in.get(C::emit_unencrypted_log_public_logs_payload_length)) -
151 CView(constants_FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH));
155 using View =
typename std::tuple_element_t<17, ContainerOverSubrelations>::View;
156 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)) *
157 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)));
161 using View =
typename std::tuple_element_t<18, ContainerOverSubrelations>::View;
162 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
163 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch_shift)) -
164 static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)));
168 using View =
typename std::tuple_element_t<19, ContainerOverSubrelations>::View;
169 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)) *
170 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)));
174 using View =
typename std::tuple_element_t<20, ContainerOverSubrelations>::View;
175 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
176 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag));
180 using View =
typename std::tuple_element_t<21, ContainerOverSubrelations>::View;
181 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
182 (((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag))) *
183 CView(emit_unencrypted_log_WRONG_NEXT_TAG) +
184 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag))) -
185 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag_shift)));
189 using View =
typename std::tuple_element_t<22, ContainerOverSubrelations>::View;
190 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
191 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)) -
192 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)));
196 using View =
typename std::tuple_element_t<23, ContainerOverSubrelations>::View;
198 static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
199 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields))) *
200 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch))) *
201 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_static))) -
202 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_logs_wrong_tag_is_static))));
206 using View =
typename std::tuple_element_t<24, ContainerOverSubrelations>::View;
208 static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
209 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds))) *
210 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_logs_wrong_tag_is_static))) -
211 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))));
215 using View =
typename std::tuple_element_t<25, ContainerOverSubrelations>::View;
216 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
217 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields)) +
218 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))) *
219 CView(emit_unencrypted_log_TOTAL_LOG_FIELDS_SIZE)) -
220 static_cast<View
>(in.get(C::emit_unencrypted_log_next_num_unencrypted_log_fields)));
224 using View =
typename std::tuple_element_t<26, ContainerOverSubrelations>::View;
225 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)) *
226 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)));
230 using View =
typename std::tuple_element_t<27, ContainerOverSubrelations>::View;
231 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address_shift)) -
232 static_cast<View
>(in.get(C::emit_unencrypted_log_start)));
236 using View =
typename std::tuple_element_t<28, ContainerOverSubrelations>::View;
237 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
238 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)));
242 using View =
typename std::tuple_element_t<29, ContainerOverSubrelations>::View;
243 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
244 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value));
248 using View =
typename std::tuple_element_t<30, ContainerOverSubrelations>::View;
249 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
250 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) +
251 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address))) -
252 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value_shift)));
256 using View =
typename std::tuple_element_t<31, ContainerOverSubrelations>::View;
257 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory)) -
258 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
259 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds))));
263 using View =
typename std::tuple_element_t<32, ContainerOverSubrelations>::View;
264 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
265 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_log_address)) +
266 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value))) -
267 static_cast<View
>(in.get(C::emit_unencrypted_log_log_address_shift)));
271 using View =
typename std::tuple_element_t<33, ContainerOverSubrelations>::View;
272 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
273 (
static_cast<View
>(in.get(C::emit_unencrypted_log_execution_clk)) -
274 static_cast<View
>(in.get(C::emit_unencrypted_log_execution_clk_shift)));
278 using View =
typename std::tuple_element_t<34, ContainerOverSubrelations>::View;
280 CView(emit_unencrypted_log_NOT_END) * (
static_cast<View
>(in.get(C::emit_unencrypted_log_space_id)) -
281 static_cast<View
>(in.get(C::emit_unencrypted_log_space_id_shift)));
285 using View =
typename std::tuple_element_t<35, ContainerOverSubrelations>::View;
286 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
287 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory))) *
288 (
FF(0) -
static_cast<View
>(in.get(C::emit_unencrypted_log_value)));
292 using View =
typename std::tuple_element_t<36, ContainerOverSubrelations>::View;
293 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
294 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory))) *
295 (
CView(constants_MEM_TAG_FF) -
static_cast<View
>(in.get(C::emit_unencrypted_log_tag)));
299 using View =
typename std::tuple_element_t<37, ContainerOverSubrelations>::View;
300 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)) *
301 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)));
305 using View =
typename std::tuple_element_t<38, ContainerOverSubrelations>::View;
306 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
307 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_tag)) *
308 (
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)) *
309 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_tag_inv))) +
310 static_cast<View
>(in.get(C::emit_unencrypted_log_tag_inv))) -
312 static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)));
316 using View =
typename std::tuple_element_t<39, ContainerOverSubrelations>::View;
317 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
318 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))) *
319 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_discard))) -
320 static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs)));
324 using View =
typename std::tuple_element_t<40, ContainerOverSubrelations>::View;
325 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
326 (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs_shift)) -
327 static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs)));
331 using View =
typename std::tuple_element_t<41, ContainerOverSubrelations>::View;
332 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
333 ((
CView(constants_AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_PUBLIC_LOGS_ROW_IDX) +
334 CView(constants_FLAT_PUBLIC_LOGS_HEADER_LENGTH) +
335 static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields))) -
336 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index)));
340 using View =
typename std::tuple_element_t<42, ContainerOverSubrelations>::View;
341 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
342 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index)) +
FF(1)) -
343 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index_shift)));
347 using View =
typename std::tuple_element_t<43, ContainerOverSubrelations>::View;
348 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
349 (
static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address)) -
350 static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address_shift)));
354 using View =
typename std::tuple_element_t<44, ContainerOverSubrelations>::View;
355 auto tmp =
CView(emit_unencrypted_log_IS_WRITE_LOG_LENGTH) *
356 (
static_cast<View
>(in.get(C::emit_unencrypted_log_log_size)) -
357 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));
361 using View =
typename std::tuple_element_t<45, ContainerOverSubrelations>::View;
362 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)) *
363 (
static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address)) -
364 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));
368 using View =
typename std::tuple_element_t<46, ContainerOverSubrelations>::View;
369 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
370 (
static_cast<View
>(in.get(C::emit_unencrypted_log_value)) -
371 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));