File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
folding-schemes/src/folding/protogalaxy Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -895,21 +895,16 @@ where
895
895
) ?;
896
896
897
897
// CycleFold part:
898
- let mut r0_bits = aux. L_X_evals [ 0 ] . into_bigint ( ) . to_bits_le ( ) ;
899
- let mut r1_bits = aux. L_X_evals [ 1 ] . into_bigint ( ) . to_bits_le ( ) ;
900
- r0_bits. resize ( C1 :: ScalarField :: MODULUS_BIT_SIZE as usize , false ) ;
901
- r1_bits. resize ( C1 :: ScalarField :: MODULUS_BIT_SIZE as usize , false ) ;
902
-
903
- // cyclefold circuit for enforcing:
904
- // 0 + U_i.phi * L_evals[0] == phi_stars[0]
898
+ // Create cyclefold circuit for enforcing:
899
+ // U_i.phi * L_evals[0] + u_i.phi * L_evals[1] = U_i1.phi
905
900
let ( cf_w_i, cf_u_i) = ProtoGalaxyCycleFoldConfig {
906
901
rs : aux. L_X_evals ,
907
902
points : vec ! [ self . U_i . phi, self . u_i. phi] ,
908
903
}
909
904
. build_circuit ( )
910
905
. generate_incoming_instance_witness :: < _ , CS2 , false > ( & self . cf_cs_params , & mut rng) ?;
911
906
912
- // fold self. cf_U_i + cf1_U -> folded running with cf1
907
+ // fold cf_U_i + cf_u_i -> folded running instance cf_U_i1
913
908
let ( cf_W_i1, cf_U_i1, cf_cmTs) =
914
909
CycleFoldAugmentationGadget :: fold_native :: < _ , CS2 , false > (
915
910
& mut transcript_prover,
You can’t perform that action at this time.
0 commit comments