pub type BooleanTraceError<EF, MmcsError> = BooleanTraceCommitmentError<BooleanPcsError<EF, MmcsError>>;Expand description
Why a trace behind the folding-only bit commitment could not be committed or opened.
Aliased Type§
pub enum BooleanTraceError<EF, MmcsError> {
Boolean(BooleanPcsError<EF, MmcsError>),
StackedArity {
expected: usize,
actual: usize,
},
TableShapeMismatch {
table: usize,
expected: TableShape,
actual: TableShape,
},
TableCountMismatch {
expected: usize,
actual: usize,
},
NonBooleanCell {
table: usize,
column: usize,
},
PointCount {
expected: usize,
actual: usize,
},
PointArity {
table: usize,
expected: usize,
actual: usize,
},
ValueCount {
expected: usize,
actual: usize,
},
ColumnBatchTranscript(TranscriptError),
ColumnBatchValueMismatch {
batch: usize,
},
}Variants§
Boolean(BooleanPcsError<EF, MmcsError>)
The bit commitment underneath refused the witness or the opening.
StackedArity
The table shapes do not stack to the arity this commitment holds.
TableShapeMismatch
The retained source tables do not have the exact shapes promised by the opening protocol.
Fields
expected: TableShapeShape the protocol describes.
actual: TableShapeShape the committed prover data retains.
TableCountMismatch
The protocol and retained source table lists have different lengths.
Fields
NonBooleanCell
A trace cell holds neither zero nor one, so it addresses no bit.
PointCount
One point per opening batch is required.
PointArity
A point does not name the rows of the table it opens.
Fields
ValueCount
The proof carries a different number of values than the protocol opens.
A column read at both rows carries one reading per row, so the count is readings, one per value position.
Fields
ColumnBatchTranscript(TranscriptError)
A typed column-batching transcript could not replay its proof shape.
ColumnBatchValueMismatch
The inner opening disagreed with the prover’s independently computed batch value.