Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions crates/lean_prover/src/prove_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ pub fn prove_execution(
)
});

// TODO compute eq polynomial 1 time and then inner product with each column
let grand_product_exec_eq_weights = eval_eq_packed(&grand_product_exec_sumcheck_point);
for col in [
COL_INDEX_OPERAND_C,
COL_INDEX_ADD,
Expand All @@ -523,7 +523,10 @@ pub fn prove_execution(
] {
grand_product_exec_sumcheck_inner_evals.insert(
col,
full_trace[col].evaluate(&grand_product_exec_sumcheck_point),
dot_product_ef_packed_par(
&grand_product_exec_eq_weights,
FPacking::<F>::pack_slice(&full_trace[col]),
),
);
}
assert_eq!(
Expand Down
Loading