Skip to content

Commit

Permalink
fix: multiply logged permutation column counts by extension field deg…
Browse files Browse the repository at this point in the history
…ree. (#668)
  • Loading branch information
erabinov authored May 10, 2024
1 parent e331f49 commit 072b989
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/stark/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ use p3_air::Air;
use p3_challenger::{CanObserve, FieldChallenger};
use p3_commit::Pcs;
use p3_commit::PolynomialSpace;
use p3_field::AbstractField;
use p3_field::ExtensionField;
use p3_field::PrimeField32;
use p3_field::{AbstractExtensionField, AbstractField};
use p3_matrix::dense::RowMajorMatrix;
use p3_matrix::Matrix;
use p3_maybe_rayon::prelude::*;
Expand Down Expand Up @@ -302,12 +302,13 @@ where
for i in 0..chips.len() {
let trace_width = traces[i].width();
let permutation_width = permutation_traces[i].width();
let total_width = trace_width + permutation_width;
let total_width = trace_width
+ permutation_width * <SC::Challenge as AbstractExtensionField<SC::Val>>::D;
tracing::debug!(
"{:<15} | Main Cols = {:<5} | Perm Cols = {:<5} | Rows = {:<5} | Cells = {:<10}",
chips[i].name(),
trace_width,
permutation_width,
permutation_width * <SC::Challenge as AbstractExtensionField<SC::Val>>::D,
traces[i].height(),
total_width * traces[i].height(),
);
Expand Down

0 comments on commit 072b989

Please sign in to comment.