@@ -112,6 +112,8 @@ impl<AB: InteractionBuilder> Air<AB>
112112 let enabled = header_row + prod_row + logup_row;
113113 builder. assert_bool ( enabled. clone ( ) ) ;
114114 let in_round = ctx[ 7 ] ;
115+ let continuation = header_continuation + prod_continuation + logup_continuation;
116+ builder. assert_bool ( continuation. clone ( ) ) ;
115117
116118 // Randomness transition
117119 let alpha1: [ _ ; EXT_DEG ] = challenges[ 0 ..EXT_DEG ] . try_into ( ) . expect ( "" ) ;
@@ -120,7 +122,6 @@ impl<AB: InteractionBuilder> Air<AB>
120122 let alpha2: [ _ ; EXT_DEG ] = challenges[ { EXT_DEG * 3 } ..{ EXT_DEG * 4 } ] . try_into ( ) . expect ( "" ) ;
121123 let next_alpha1: [ _ ; EXT_DEG ] = next. challenges [ 0 ..EXT_DEG ] . try_into ( ) . expect ( "" ) ;
122124
123- /* _debug
124125 // Carry along columns
125126 assert_array_eq ( & mut builder. when ( next. prod_row + next. logup_row ) , register_ptrs, next. register_ptrs ) ;
126127 assert_array_eq ( & mut builder. when ( next. prod_row + next. logup_row ) , ctx, next. ctx ) ;
@@ -132,6 +133,7 @@ impl<AB: InteractionBuilder> Air<AB>
132133 builder. when ( next. prod_row + next. logup_row ) . assert_eq ( prod_nested_len, next. prod_nested_len ) ;
133134 builder. when ( next. prod_row + next. logup_row ) . assert_eq ( logup_nested_len, next. logup_nested_len ) ;
134135
136+ /* _debug
135137 // Row transition
136138 builder
137139 .when(next.prod_row)
@@ -157,8 +159,6 @@ impl<AB: InteractionBuilder> Air<AB>
157159 .assert_eq(ctx[2], curr_logup_n);
158160
159161 // Termination condition
160- let continuation = header_continuation + prod_continuation + logup_continuation;
161- builder.assert_bool(continuation.clone());
162162 assert_array_eq(&mut builder.when::<AB::Expr>(not(continuation)), eval_acc, [AB::F::ZERO; 4]);
163163
164164 // Timestamp transition
0 commit comments