Skip to content

Commit

Permalink
doc: add comment about periodic values table
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Sep 3, 2024
1 parent 98c0e71 commit 807aba1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions air/src/air/logup_gkr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,13 @@ pub enum LogUpGkrOracle<B: StarkField> {
// PERIODIC COLUMNS FOR LOGUP
// =================================================================================================

/// Stores the periodic columns used in a LogUp-GKR statement.
///
/// Each stored periodic column is interpreted as a multi-linear extension polynomial of the column
/// with the given periodic values. Due to the periodic nature of the values, storing, binding of
/// an argument and evaluating the said multi-linear extension can be all done linearly in the size
/// of the smallest cycle defining the periodic values. Hence we only store the values of this
/// smallest cycle. The cycle is assumed throughout to be a power of 2.
#[derive(Clone, Debug, Default, PartialEq, PartialOrd, Eq, Ord)]
pub struct PeriodicTable<E: FieldElement> {
pub table: Vec<Vec<E>>,
Expand Down

0 comments on commit 807aba1

Please sign in to comment.