@@ -1230,7 +1230,7 @@ where
12301230
12311231 let mut polynomials = polys
12321232 . iter ( )
1233- . map ( |( p, d1_size) | ( coefficients_form ( p) , None , non_hiding ( * d1_size) ) )
1233+ . map ( |( p, d1_size) | ( coefficients_form ( p) , non_hiding ( * d1_size) ) )
12341234 . collect :: < Vec < _ > > ( ) ;
12351235
12361236 let fixed_hiding = |d1_size : usize | PolyComm {
@@ -1245,62 +1245,52 @@ where
12451245 //~~ * the poseidon selector
12461246 //~~ * the 15 registers/witness columns
12471247 //~~ * the 6 sigmas
1248- polynomials. push ( (
1249- coefficients_form ( & public_poly) ,
1250- None ,
1251- fixed_hiding ( num_chunks) ,
1252- ) ) ;
1253- polynomials. push ( ( coefficients_form ( & ft) , None , blinding_ft) ) ;
1254- polynomials. push ( ( coefficients_form ( & z_poly) , None , z_comm. blinders ) ) ;
1248+ polynomials. push ( ( coefficients_form ( & public_poly) , fixed_hiding ( num_chunks) ) ) ;
1249+ polynomials. push ( ( coefficients_form ( & ft) , blinding_ft) ) ;
1250+ polynomials. push ( ( coefficients_form ( & z_poly) , z_comm. blinders ) ) ;
12551251 polynomials. push ( (
12561252 evaluations_form ( & index. column_evaluations . generic_selector4 ) ,
1257- None ,
12581253 fixed_hiding ( num_chunks) ,
12591254 ) ) ;
12601255 polynomials. push ( (
12611256 evaluations_form ( & index. column_evaluations . poseidon_selector8 ) ,
1262- None ,
12631257 fixed_hiding ( num_chunks) ,
12641258 ) ) ;
12651259 polynomials. push ( (
12661260 evaluations_form ( & index. column_evaluations . complete_add_selector4 ) ,
1267- None ,
12681261 fixed_hiding ( num_chunks) ,
12691262 ) ) ;
12701263 polynomials. push ( (
12711264 evaluations_form ( & index. column_evaluations . mul_selector8 ) ,
1272- None ,
12731265 fixed_hiding ( num_chunks) ,
12741266 ) ) ;
12751267 polynomials. push ( (
12761268 evaluations_form ( & index. column_evaluations . emul_selector8 ) ,
1277- None ,
12781269 fixed_hiding ( num_chunks) ,
12791270 ) ) ;
12801271 polynomials. push ( (
12811272 evaluations_form ( & index. column_evaluations . endomul_scalar_selector8 ) ,
1282- None ,
12831273 fixed_hiding ( num_chunks) ,
12841274 ) ) ;
12851275 polynomials. extend (
12861276 witness_poly
12871277 . iter ( )
12881278 . zip ( w_comm. iter ( ) )
1289- . map ( |( w, c) | ( coefficients_form ( w) , None , c. blinders . clone ( ) ) )
1279+ . map ( |( w, c) | ( coefficients_form ( w) , c. blinders . clone ( ) ) )
12901280 . collect :: < Vec < _ > > ( ) ,
12911281 ) ;
12921282 polynomials. extend (
12931283 index
12941284 . column_evaluations
12951285 . coefficients8
12961286 . iter ( )
1297- . map ( |coefficientm| ( evaluations_form ( coefficientm) , None , non_hiding ( num_chunks) ) )
1287+ . map ( |coefficientm| ( evaluations_form ( coefficientm) , non_hiding ( num_chunks) ) )
12981288 . collect :: < Vec < _ > > ( ) ,
12991289 ) ;
13001290 polynomials. extend (
13011291 index. column_evaluations . permutation_coefficients8 [ 0 ..PERMUTS - 1 ]
13021292 . iter ( )
1303- . map ( |w| ( evaluations_form ( w) , None , non_hiding ( num_chunks) ) )
1293+ . map ( |w| ( evaluations_form ( w) , non_hiding ( num_chunks) ) )
13041294 . collect :: < Vec < _ > > ( ) ,
13051295 ) ;
13061296
@@ -1310,7 +1300,6 @@ where
13101300 {
13111301 polynomials. push ( (
13121302 evaluations_form ( range_check0_selector8) ,
1313- None ,
13141303 non_hiding ( num_chunks) ,
13151304 ) ) ;
13161305 }
@@ -1319,7 +1308,6 @@ where
13191308 {
13201309 polynomials. push ( (
13211310 evaluations_form ( range_check1_selector8) ,
1322- None ,
13231311 non_hiding ( num_chunks) ,
13241312 ) ) ;
13251313 }
@@ -1330,7 +1318,6 @@ where
13301318 {
13311319 polynomials. push ( (
13321320 evaluations_form ( foreign_field_add_selector8) ,
1333- None ,
13341321 non_hiding ( num_chunks) ,
13351322 ) ) ;
13361323 }
@@ -1341,23 +1328,14 @@ where
13411328 {
13421329 polynomials. push ( (
13431330 evaluations_form ( foreign_field_mul_selector8) ,
1344- None ,
13451331 non_hiding ( num_chunks) ,
13461332 ) ) ;
13471333 }
13481334 if let Some ( xor_selector8) = index. column_evaluations . xor_selector8 . as_ref ( ) {
1349- polynomials. push ( (
1350- evaluations_form ( xor_selector8) ,
1351- None ,
1352- non_hiding ( num_chunks) ,
1353- ) ) ;
1335+ polynomials. push ( ( evaluations_form ( xor_selector8) , non_hiding ( num_chunks) ) ) ;
13541336 }
13551337 if let Some ( rot_selector8) = index. column_evaluations . rot_selector8 . as_ref ( ) {
1356- polynomials. push ( (
1357- evaluations_form ( rot_selector8) ,
1358- None ,
1359- non_hiding ( num_chunks) ,
1360- ) ) ;
1338+ polynomials. push ( ( evaluations_form ( rot_selector8) , non_hiding ( num_chunks) ) ) ;
13611339 }
13621340
13631341 //~~ * optionally, the runtime table
@@ -1368,17 +1346,13 @@ where
13681346 let sorted_comms = lookup_context. sorted_comms . as_ref ( ) . unwrap ( ) ;
13691347
13701348 for ( poly, comm) in sorted_poly. iter ( ) . zip ( sorted_comms) {
1371- polynomials. push ( ( coefficients_form ( poly) , None , comm. blinders . clone ( ) ) ) ;
1349+ polynomials. push ( ( coefficients_form ( poly) , comm. blinders . clone ( ) ) ) ;
13721350 }
13731351
13741352 //~~ * add the lookup aggreg polynomial
13751353 let aggreg_poly = lookup_context. aggreg_coeffs . as_ref ( ) . unwrap ( ) ;
13761354 let aggreg_comm = lookup_context. aggreg_comm . as_ref ( ) . unwrap ( ) ;
1377- polynomials. push ( (
1378- coefficients_form ( aggreg_poly) ,
1379- None ,
1380- aggreg_comm. blinders . clone ( ) ,
1381- ) ) ;
1355+ polynomials. push ( ( coefficients_form ( aggreg_poly) , aggreg_comm. blinders . clone ( ) ) ) ;
13821356
13831357 //~~ * add the combined table polynomial
13841358 let table_blinding = if lcs. runtime_selector . is_some ( ) {
@@ -1399,7 +1373,7 @@ where
13991373
14001374 let joint_lookup_table = lookup_context. joint_lookup_table . as_ref ( ) . unwrap ( ) ;
14011375
1402- polynomials. push ( ( coefficients_form ( joint_lookup_table) , None , table_blinding) ) ;
1376+ polynomials. push ( ( coefficients_form ( joint_lookup_table) , table_blinding) ) ;
14031377
14041378 //~~ * if present, add the runtime table polynomial
14051379 if lcs. runtime_selector . is_some ( ) {
@@ -1408,7 +1382,6 @@ where
14081382
14091383 polynomials. push ( (
14101384 coefficients_form ( runtime_table) ,
1411- None ,
14121385 runtime_table_comm. blinders . clone ( ) ,
14131386 ) ) ;
14141387 }
@@ -1418,27 +1391,21 @@ where
14181391 if let Some ( runtime_lookup_table_selector) = lcs. runtime_selector . as_ref ( ) {
14191392 polynomials. push ( (
14201393 evaluations_form ( runtime_lookup_table_selector) ,
1421- None ,
14221394 non_hiding ( 1 ) ,
14231395 ) )
14241396 }
14251397 if let Some ( xor_lookup_selector) = lcs. lookup_selectors . xor . as_ref ( ) {
1426- polynomials. push ( ( evaluations_form ( xor_lookup_selector) , None , non_hiding ( 1 ) ) )
1398+ polynomials. push ( ( evaluations_form ( xor_lookup_selector) , non_hiding ( 1 ) ) )
14271399 }
14281400 if let Some ( lookup_gate_selector) = lcs. lookup_selectors . lookup . as_ref ( ) {
1429- polynomials. push ( ( evaluations_form ( lookup_gate_selector) , None , non_hiding ( 1 ) ) )
1401+ polynomials. push ( ( evaluations_form ( lookup_gate_selector) , non_hiding ( 1 ) ) )
14301402 }
14311403 if let Some ( range_check_lookup_selector) = lcs. lookup_selectors . range_check . as_ref ( ) {
1432- polynomials. push ( (
1433- evaluations_form ( range_check_lookup_selector) ,
1434- None ,
1435- non_hiding ( 1 ) ,
1436- ) )
1404+ polynomials. push ( ( evaluations_form ( range_check_lookup_selector) , non_hiding ( 1 ) ) )
14371405 }
14381406 if let Some ( foreign_field_mul_lookup_selector) = lcs. lookup_selectors . ffmul . as_ref ( ) {
14391407 polynomials. push ( (
14401408 evaluations_form ( foreign_field_mul_lookup_selector) ,
1441- None ,
14421409 non_hiding ( 1 ) ,
14431410 ) )
14441411 }
0 commit comments