@@ -88,15 +88,16 @@ impl<'a> MleCoeffColumnOracle for PowdrComponentWrapper<'a> {
88
88
mask : & TreeVec < ColumnVec < Vec < SecureField > > > ,
89
89
) -> SecureField {
90
90
println ! ( "evaluating point in mle, mask is {:?}" , mask) ;
91
- println ! ( "input to point eval mask is {:?}" , mask. sub_tree( self . powdr_component. trace_locations( ) ) ) ;
91
+ println ! (
92
+ "input to point eval mask is {:?}" ,
93
+ mask. sub_tree( self . powdr_component. trace_locations( ) )
94
+ ) ;
92
95
// Create dummy point evaluator just to extract the value we need from the mask
93
96
let mut accumulator = PointEvaluationAccumulator :: new ( SecureField :: one ( ) ) ;
94
97
println ! ( "building point evaluator" ) ;
95
98
96
99
// TODO: evaluator cannot get constant columns, need to fix this
97
- let eval_mask=mask. sub_tree ( self . powdr_component . trace_locations ( ) ) ;
98
-
99
-
100
+ let eval_mask = mask. sub_tree ( self . powdr_component . trace_locations ( ) ) ;
100
101
101
102
let mut eval = PointEvaluator :: new (
102
103
eval_mask,
@@ -121,9 +122,6 @@ impl<'a> MleCoeffColumnOracle for PowdrComponentWrapper<'a> {
121
122
122
123
println ! ( "stage0 witness eval built" ) ;
123
124
124
-
125
-
126
-
127
125
println ! ( "stage1 witness eval built" ) ;
128
126
// println!("constant columns are {:?}", self.constant_columns);
129
127
// let constant_eval: BTreeMap<_, _> = self
@@ -166,7 +164,7 @@ impl<'a> MleCoeffColumnOracle for PowdrComponentWrapper<'a> {
166
164
// .collect();
167
165
// println!("challenges built");
168
166
169
- let intermediate_definitions = self . analyzed . intermediate_definitions ( ) ;
167
+ let intermediate_definitions = self . analyzed . intermediate_definitions ( ) ;
170
168
// let public_values_terminal = self
171
169
// .publics_values
172
170
// .iter()
@@ -197,11 +195,10 @@ impl<'a> MleCoeffColumnOracle for PowdrComponentWrapper<'a> {
197
195
for id in & self . main_machine_powdr_eval . analyzed . identities {
198
196
match id {
199
197
Identity :: BusInteraction ( id) => {
200
-
201
198
println ! ( "payload is {:?}" , id. payload. 0 ) ;
202
199
let payload: Vec < <PointEvaluator as EvalAtRow >:: F > =
203
200
id. payload . 0 . iter ( ) . map ( |e| evaluator. evaluate ( e) ) . collect ( ) ;
204
-
201
+
205
202
println ! ( "multiplicity is {:?}" , id. multiplicity) ;
206
203
let multiplicity = <PointEvaluator as EvalAtRow >:: EF :: from (
207
204
evaluator. evaluate ( & id. multiplicity ) ,
@@ -404,7 +401,31 @@ where
404
401
. flatten ( )
405
402
. fold ( SecureField :: zero ( ) , |acc, claim| acc + * claim) ;
406
403
407
- // Linear comboination of GKR instances
404
+ println ! ( "gkr sumcheck proofs are {:?}" , gkr_proof. sumcheck_proofs) ;
405
+
406
+ println ! (
407
+ "\n gkr round poly evaluations are {:?}" ,
408
+ gkr_proof. sumcheck_proofs[ 1 ] . round_polys[ 0 ] . eval_at_point( SecureField :: zero( ) )
409
+ ) ;
410
+ println ! (
411
+ "\n gkr round poly evaluations are {:?}" ,
412
+ gkr_proof. sumcheck_proofs[ 1 ] . round_polys[ 0 ] . eval_at_point( SecureField :: one( ) )
413
+ ) ;
414
+ println ! (
415
+ "\n gkr round poly evaluations sum are {:?}" ,
416
+ gkr_proof. output_claims_by_instance
417
+ ) ;
418
+
419
+ println ! (
420
+ "\n gkr claims are {:?}" ,
421
+ gkr_artifacts. claims_to_verify_by_instance
422
+ ) ;
423
+
424
+ println ! (
425
+ "gkr layer masks are {:?}" ,
426
+ gkr_proof. layer_masks_by_instance
427
+ ) ;
428
+
408
429
409
430
Some ( gkr_proof_artifacts {
410
431
gkr_proof,
0 commit comments