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_sel)) *
36 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)));
40 using View =
typename std::tuple_element_t<1, ContainerOverSubrelations>::View;
41 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error)) *
42 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error)));
46 using View =
typename std::tuple_element_t<2, ContainerOverSubrelations>::View;
47 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
48 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_start)));
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 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_end)));
58 using View =
typename std::tuple_element_t<4, ContainerOverSubrelations>::View;
59 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
60 static_cast<View
>(in.get(C::precomputed_first_row));
64 using View =
typename std::tuple_element_t<5, ContainerOverSubrelations>::View;
65 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_shift)) *
66 (
static_cast<View
>(in.get(C::emit_unencrypted_log_start_shift)) -
67 CView(emit_unencrypted_log_LATCH_CONDITION));
71 using View =
typename std::tuple_element_t<6, ContainerOverSubrelations>::View;
72 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
73 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)));
77 using View =
typename std::tuple_element_t<7, ContainerOverSubrelations>::View;
78 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_shift)) -
79 static_cast<View
>(in.get(C::emit_unencrypted_log_sel))) *
80 (
FF(1) -
CView(emit_unencrypted_log_LATCH_CONDITION));
84 using View =
typename std::tuple_element_t<8, ContainerOverSubrelations>::View;
85 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
86 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)));
90 using View =
typename std::tuple_element_t<9, ContainerOverSubrelations>::View;
91 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
92 (((
CView(constants_PUBLIC_LOG_HEADER_LENGTH) +
93 static_cast<View
>(in.get(C::emit_unencrypted_log_log_size))) -
95 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)));
99 using View =
typename std::tuple_element_t<10, ContainerOverSubrelations>::View;
100 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
101 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)) -
FF(1)) -
102 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_shift)));
106 using View =
typename std::tuple_element_t<11, ContainerOverSubrelations>::View;
107 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
108 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows)) *
109 (
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
110 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_inv))) +
111 static_cast<View
>(in.get(C::emit_unencrypted_log_remaining_rows_inv))) -
113 static_cast<View
>(in.get(C::emit_unencrypted_log_end)));
117 using View =
typename std::tuple_element_t<12, ContainerOverSubrelations>::View;
118 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
119 (
static_cast<View
>(in.get(C::emit_unencrypted_log_max_mem_size)) -
CView(constants_AVM_MEMORY_SIZE));
123 using View =
typename std::tuple_element_t<13, ContainerOverSubrelations>::View;
124 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
125 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_log_address)) +
126 static_cast<View
>(in.get(C::emit_unencrypted_log_log_size))) -
127 static_cast<View
>(in.get(C::emit_unencrypted_log_end_log_address_upper_bound)));
131 using View =
typename std::tuple_element_t<14, ContainerOverSubrelations>::View;
132 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
133 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds_shift)) -
134 static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds)));
138 using View =
typename std::tuple_element_t<15, ContainerOverSubrelations>::View;
139 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields)) *
140 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields)));
144 using View =
typename std::tuple_element_t<16, ContainerOverSubrelations>::View;
145 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
146 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields)) +
147 CView(emit_unencrypted_log_TOTAL_LOG_FIELDS_SIZE)) -
148 static_cast<View
>(in.get(C::emit_unencrypted_log_expected_next_log_fields)));
152 using View =
typename std::tuple_element_t<17, ContainerOverSubrelations>::View;
153 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
154 (
static_cast<View
>(in.get(C::emit_unencrypted_log_public_logs_payload_length)) -
155 CView(constants_FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH));
159 using View =
typename std::tuple_element_t<18, ContainerOverSubrelations>::View;
160 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)) *
161 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)));
165 using View =
typename std::tuple_element_t<19, ContainerOverSubrelations>::View;
166 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
167 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch_shift)) -
168 static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)));
172 using View =
typename std::tuple_element_t<20, ContainerOverSubrelations>::View;
173 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)) *
174 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)));
178 using View =
typename std::tuple_element_t<21, ContainerOverSubrelations>::View;
179 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
180 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag));
184 using View =
typename std::tuple_element_t<22, ContainerOverSubrelations>::View;
185 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
186 (((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag))) *
187 CView(emit_unencrypted_log_WRONG_NEXT_TAG) +
188 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag))) -
189 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag_shift)));
193 using View =
typename std::tuple_element_t<23, ContainerOverSubrelations>::View;
194 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_end)) *
195 (
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch)) -
196 static_cast<View
>(in.get(C::emit_unencrypted_log_seen_wrong_tag)));
200 using View =
typename std::tuple_element_t<24, ContainerOverSubrelations>::View;
202 static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
203 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_log_fields))) *
204 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_tag_mismatch))) *
205 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_static))) -
206 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_logs_wrong_tag_is_static))));
210 using View =
typename std::tuple_element_t<25, ContainerOverSubrelations>::View;
212 static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
213 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds))) *
214 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_too_many_logs_wrong_tag_is_static))) -
215 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))));
219 using View =
typename std::tuple_element_t<26, ContainerOverSubrelations>::View;
220 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
221 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields)) +
222 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))) *
223 CView(emit_unencrypted_log_TOTAL_LOG_FIELDS_SIZE)) -
224 static_cast<View
>(in.get(C::emit_unencrypted_log_next_num_unencrypted_log_fields)));
228 using View =
typename std::tuple_element_t<27, ContainerOverSubrelations>::View;
229 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)) *
230 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)));
234 using View =
typename std::tuple_element_t<28, ContainerOverSubrelations>::View;
235 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address_shift)) -
236 static_cast<View
>(in.get(C::emit_unencrypted_log_start)));
240 using View =
typename std::tuple_element_t<29, ContainerOverSubrelations>::View;
241 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
242 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)));
246 using View =
typename std::tuple_element_t<30, ContainerOverSubrelations>::View;
247 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
248 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value));
252 using View =
typename std::tuple_element_t<31, ContainerOverSubrelations>::View;
253 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
254 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) +
255 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address))) -
256 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value_shift)));
260 using View =
typename std::tuple_element_t<32, ContainerOverSubrelations>::View;
261 auto tmp = (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory)) -
262 static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
263 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
264 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error_out_of_bounds))));
268 using View =
typename std::tuple_element_t<33, ContainerOverSubrelations>::View;
269 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
270 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_log_address)) +
271 static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value))) -
272 static_cast<View
>(in.get(C::emit_unencrypted_log_log_address_shift)));
276 using View =
typename std::tuple_element_t<34, ContainerOverSubrelations>::View;
277 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
278 (
static_cast<View
>(in.get(C::emit_unencrypted_log_execution_clk)) -
279 static_cast<View
>(in.get(C::emit_unencrypted_log_execution_clk_shift)));
283 using View =
typename std::tuple_element_t<35, ContainerOverSubrelations>::View;
285 CView(emit_unencrypted_log_NOT_END) * (
static_cast<View
>(in.get(C::emit_unencrypted_log_space_id)) -
286 static_cast<View
>(in.get(C::emit_unencrypted_log_space_id_shift)));
290 using View =
typename std::tuple_element_t<36, ContainerOverSubrelations>::View;
291 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
292 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory))) *
293 (
FF(0) -
static_cast<View
>(in.get(C::emit_unencrypted_log_value)));
297 using View =
typename std::tuple_element_t<37, ContainerOverSubrelations>::View;
298 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
299 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_read_memory))) *
300 (
CView(constants_MEM_TAG_FF) -
static_cast<View
>(in.get(C::emit_unencrypted_log_tag)));
304 using View =
typename std::tuple_element_t<38, ContainerOverSubrelations>::View;
305 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)) *
306 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)));
310 using View =
typename std::tuple_element_t<39, ContainerOverSubrelations>::View;
311 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_sel)) *
312 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_tag)) *
313 (
static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)) *
314 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_tag_inv))) +
315 static_cast<View
>(in.get(C::emit_unencrypted_log_tag_inv))) -
317 static_cast<View
>(in.get(C::emit_unencrypted_log_correct_tag)));
321 using View =
typename std::tuple_element_t<40, ContainerOverSubrelations>::View;
322 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
323 ((
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_error))) *
324 (
FF(1) -
static_cast<View
>(in.get(C::emit_unencrypted_log_discard))) -
325 static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs)));
329 using View =
typename std::tuple_element_t<41, ContainerOverSubrelations>::View;
330 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
331 (
static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs_shift)) -
332 static_cast<View
>(in.get(C::emit_unencrypted_log_sel_should_write_to_public_inputs)));
336 using View =
typename std::tuple_element_t<42, ContainerOverSubrelations>::View;
337 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_start)) *
338 ((
CView(constants_AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_PUBLIC_LOGS_ROW_IDX) +
339 CView(constants_FLAT_PUBLIC_LOGS_HEADER_LENGTH) +
340 static_cast<View
>(in.get(C::emit_unencrypted_log_prev_num_unencrypted_log_fields))) -
341 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index)));
345 using View =
typename std::tuple_element_t<43, ContainerOverSubrelations>::View;
346 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
347 ((
static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index)) +
FF(1)) -
348 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_index_shift)));
352 using View =
typename std::tuple_element_t<44, ContainerOverSubrelations>::View;
353 auto tmp =
CView(emit_unencrypted_log_NOT_END) *
354 (
static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address)) -
355 static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address_shift)));
359 using View =
typename std::tuple_element_t<45, ContainerOverSubrelations>::View;
360 auto tmp =
CView(emit_unencrypted_log_IS_WRITE_LOG_LENGTH) *
361 (
static_cast<View
>(in.get(C::emit_unencrypted_log_log_size)) -
362 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));
366 using View =
typename std::tuple_element_t<46, ContainerOverSubrelations>::View;
367 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_contract_address)) *
368 (
static_cast<View
>(in.get(C::emit_unencrypted_log_contract_address)) -
369 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));
373 using View =
typename std::tuple_element_t<47, ContainerOverSubrelations>::View;
374 auto tmp =
static_cast<View
>(in.get(C::emit_unencrypted_log_is_write_memory_value)) *
375 (
static_cast<View
>(in.get(C::emit_unencrypted_log_value)) -
376 static_cast<View
>(in.get(C::emit_unencrypted_log_public_inputs_value)));