31 auto tmp = in.get(C::note_hash_tree_check_sel) * (
FF(1) - in.get(C::note_hash_tree_check_sel));
32 tmp *= scaling_factor;
33 std::get<0>(evals) +=
typename Accumulator::View(tmp);
37 auto tmp = in.get(C::note_hash_tree_check_write) * (
FF(1) - in.get(C::note_hash_tree_check_write));
38 tmp *= scaling_factor;
39 std::get<1>(evals) +=
typename Accumulator::View(tmp);
43 auto tmp = in.get(C::note_hash_tree_check_should_silo) * (
FF(1) - in.get(C::note_hash_tree_check_should_silo));
44 tmp *= scaling_factor;
45 std::get<2>(evals) +=
typename Accumulator::View(tmp);
50 in.get(C::note_hash_tree_check_should_unique) * (
FF(1) - in.get(C::note_hash_tree_check_should_unique));
51 tmp *= scaling_factor;
52 std::get<3>(evals) +=
typename Accumulator::View(tmp);
56 auto tmp = in.get(C::note_hash_tree_check_write) * (
FF(1) - in.get(C::note_hash_tree_check_sel));
57 tmp *= scaling_factor;
58 std::get<4>(evals) +=
typename Accumulator::View(tmp);
62 auto tmp = note_hash_tree_check_READ * in.get(C::note_hash_tree_check_should_silo);
63 tmp *= scaling_factor;
64 std::get<5>(evals) +=
typename Accumulator::View(tmp);
69 in.get(C::note_hash_tree_check_should_silo) * (
FF(1) - in.get(C::note_hash_tree_check_should_unique));
70 tmp *= scaling_factor;
71 std::get<6>(evals) +=
typename Accumulator::View(tmp);
75 auto tmp = in.get(C::note_hash_tree_check_sel) * (
FF(1) - in.get(C::note_hash_tree_check_should_silo)) *
76 (in.get(C::note_hash_tree_check_note_hash) - in.get(C::note_hash_tree_check_siloed_note_hash));
77 tmp *= scaling_factor;
78 std::get<7>(evals) +=
typename Accumulator::View(tmp);
82 auto tmp = in.get(C::note_hash_tree_check_sel) *
83 (constants_GENERATOR_INDEX__SILOED_NOTE_HASH - in.get(C::note_hash_tree_check_siloing_separator));
84 tmp *= scaling_factor;
85 std::get<8>(evals) +=
typename Accumulator::View(tmp);
89 auto tmp = note_hash_tree_check_READ * in.get(C::note_hash_tree_check_should_unique);
90 tmp *= scaling_factor;
91 std::get<9>(evals) +=
typename Accumulator::View(tmp);
96 in.get(C::note_hash_tree_check_sel) * (
FF(1) - in.get(C::note_hash_tree_check_should_unique)) *
97 (in.get(C::note_hash_tree_check_siloed_note_hash) - in.get(C::note_hash_tree_check_unique_note_hash));
98 tmp *= scaling_factor;
103 auto tmp = in.get(C::note_hash_tree_check_sel) *
104 (constants_AVM_PUBLIC_INPUTS_PREVIOUS_NON_REVERTIBLE_ACCUMULATED_DATA_NULLIFIERS_ROW_IDX -
105 in.get(C::note_hash_tree_check_first_nullifier_pi_index));
106 tmp *= scaling_factor;
111 auto tmp = in.get(C::note_hash_tree_check_sel) *
112 (constants_GENERATOR_INDEX__NOTE_HASH_NONCE - in.get(C::note_hash_tree_check_nonce_separator));
113 tmp *= scaling_factor;
118 auto tmp = in.get(C::note_hash_tree_check_sel) * (constants_GENERATOR_INDEX__UNIQUE_NOTE_HASH -
119 in.get(C::note_hash_tree_check_unique_note_hash_separator));
120 tmp *= scaling_factor;
125 auto tmp = in.get(C::note_hash_tree_check_sel) *
126 ((note_hash_tree_check_PREV_LEAF_VALUE_UNIQUE_NOTE_HASH_DIFF *
127 (in.get(C::note_hash_tree_check_exists) *
128 (
FF(1) - in.get(C::note_hash_tree_check_prev_leaf_value_unique_note_hash_diff_inv)) +
129 in.get(C::note_hash_tree_check_prev_leaf_value_unique_note_hash_diff_inv)) -
131 in.get(C::note_hash_tree_check_exists));
132 tmp *= scaling_factor;
137 auto tmp = in.get(C::note_hash_tree_check_write) *
138 (in.get(C::note_hash_tree_check_unique_note_hash) - in.get(C::note_hash_tree_check_next_leaf_value));
139 tmp *= scaling_factor;
144 auto tmp = in.get(C::note_hash_tree_check_sel) *
145 (constants_NOTE_HASH_TREE_HEIGHT - in.get(C::note_hash_tree_check_note_hash_tree_height));
146 tmp *= scaling_factor;
151 auto tmp = (in.get(C::note_hash_tree_check_write) * (
FF(1) - in.get(C::note_hash_tree_check_discard)) -
152 in.get(C::note_hash_tree_check_should_write_to_public_inputs));
153 tmp *= scaling_factor;
158 auto tmp = in.get(C::note_hash_tree_check_should_write_to_public_inputs) *
159 ((constants_AVM_PUBLIC_INPUTS_AVM_ACCUMULATED_DATA_NOTE_HASHES_ROW_IDX +
160 in.get(C::note_hash_tree_check_note_hash_index)) -
161 in.get(C::note_hash_tree_check_public_inputs_index));
162 tmp *= scaling_factor;