Skip to content

Commit 84ec5d2

Browse files
committed
wip5
1 parent fee9d2c commit 84ec5d2

File tree

1 file changed

+9
-18
lines changed
  • extensions/native/circuit/src/sumcheck

1 file changed

+9
-18
lines changed

extensions/native/circuit/src/sumcheck/chip.rs

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,27 @@
1-
use std::borrow::{Borrow, BorrowMut};
1+
use std::borrow::BorrowMut;
22

3-
use itertools::Itertools;
43
use openvm_circuit::{
54
arch::{
6-
CustomBorrow, ExecutionError, ExecutionState, MultiRowLayout, MultiRowMetadata,
7-
PreflightExecutor, RecordArena, Streams, TraceFiller, VmChipWrapper, VmStateMut,
5+
CustomBorrow, ExecutionError, MultiRowLayout, MultiRowMetadata, PreflightExecutor,
6+
RecordArena, TraceFiller, VmChipWrapper, VmStateMut,
87
},
98
system::{
10-
memory::{online::TracingMemory, MemoryAuxColsFactory, MemoryController},
11-
native_adapter::util::{
12-
memory_read_native, tracing_read_native, tracing_write_native_inplace,
13-
},
9+
memory::{online::TracingMemory, MemoryAuxColsFactory},
10+
native_adapter::util::{memory_read_native, tracing_write_native_inplace},
1411
},
1512
};
1613
use openvm_instructions::{instruction::Instruction, program::DEFAULT_PC_STEP, LocalOpcode};
17-
use openvm_native_compiler::{conversion::AS, SumcheckOpcode::SUMCHECK_LAYER_EVAL};
18-
use openvm_stark_backend::{
19-
p3_field::{Field, PrimeField, PrimeField32},
20-
p3_matrix::{dense::RowMajorMatrix, Matrix},
21-
p3_maybe_rayon::prelude::{IntoParallelIterator, ParallelIterator, ParallelSlice},
22-
};
14+
use openvm_native_compiler::SumcheckOpcode::SUMCHECK_LAYER_EVAL;
15+
use openvm_stark_backend::p3_field::PrimeField32;
2316

2417
use crate::{
2518
field_extension::{FieldExtension, EXT_DEG},
2619
fri::elem_to_ext,
2720
mem_fill_helper,
28-
sumcheck::{
29-
air::NativeSumcheckAir,
30-
columns::{HeaderSpecificCols, LogupSpecificCols, NativeSumcheckCols, ProdSpecificCols},
21+
sumcheck::columns::{
22+
HeaderSpecificCols, LogupSpecificCols, NativeSumcheckCols, ProdSpecificCols,
3123
},
3224
tracing_read_native_helper,
33-
utils::const_max,
3425
};
3526

3627
const CONTEXT_ARR_BASE_LEN: usize = EXT_DEG * 2;

0 commit comments

Comments
 (0)