Skip to content

Commit d5c2049

Browse files
committed
docs: Update documentation of MasterTable
1 parent 3d9fcaf commit d5c2049

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

triton-vm/src/table/master_table.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ pub enum TableId {
170170
/// completely separate from each other. Only the [cross-table arguments][cross_arg] link all tables
171171
/// together.
172172
///
173-
/// Conceptually, there are three Master Tables: the [`MasterBaseTable`], the Master Extension
174-
/// Table, and the [Master Quotient Table][master_quot_table]. The lifecycle of the Master Tables is
173+
/// Conceptually, there are two Master Tables: the [`MasterBaseTable`] ("main"), the Master
174+
/// Extension Table ("auxiliary"). The lifecycle of the Master Tables is
175175
/// as follows:
176176
/// 1. The [`MasterBaseTable`] is instantiated and filled using the Algebraic Execution Trace.
177177
/// 2. The [`MasterBaseTable`] is padded using logic from the individual tables.
@@ -187,17 +187,15 @@ pub enum TableId {
187187
/// 7. Each column of the [`MasterExtensionTable`][master_ext_table] is [low-degree extended][lde].
188188
/// The effects are the same as for the [`MasterBaseTable`].
189189
/// 8. Using the [`MasterBaseTable`] and the [`MasterExtensionTable`][master_ext_table], the
190-
/// [Master Quotient Table][master_quot_table] is derived using the AIR. Each individual table
190+
/// [quotient codeword][master_quot_table] is derived using the AIR. Each individual table
191191
/// defines that part of the AIR that is relevant to it.
192192
///
193193
/// The following points are of note:
194194
/// - The [`MasterExtensionTable`][master_ext_table]'s rightmost columns are the randomizer
195195
/// codewords. These are necessary for zero-knowledge.
196-
/// - The terminal quotient of the cross-table argument, which links the individual tables together,
197-
/// is also stored in the [Master Quotient Table][master_quot_table]. Even though the
198-
/// cross-table argument is not a table, it does define part of the AIR. Hence, the cross-table
199-
/// argument does not contribute to padding or extending the Master Tables, but is incorporated
200-
/// when deriving the [Master Quotient Table][master_quot_table].
196+
/// - The cross-table argument has zero width for the [`MasterBaseTable`] and
197+
/// [`MasterExtensionTable`][master_ext_table] but does induce a nonzero number of constraints
198+
/// and thus terms in the [quotient combination][all_quotients_combined].
201199
///
202200
/// [cross_arg]: cross_table_argument::GrandCrossTableArg
203201
/// [lde]: Self::low_degree_extend_all_columns
@@ -206,7 +204,7 @@ pub enum TableId {
206204
/// [inter_poly]: Self::interpolation_polynomials
207205
/// [row]: Self::row
208206
/// [master_ext_table]: MasterExtTable
209-
/// [master_quot_table]: all_quotients
207+
/// [master_quot_table]: all_quotients_combined
210208
pub trait MasterTable<FF>: Sync
211209
where
212210
FF: FiniteField + MulAssign<BFieldElement> + From<BFieldElement>,

0 commit comments

Comments
 (0)