Row data of a staircase #
In Lemma I.2 of [Ant26] (modules Nc.Cut.Defs and Nc.Cut.Rows), the words
X a b that a party a (a node of the paper) writes on a tape and a party b reads form a
matrix with staircase support (List.StairRefinement.Stair), because a tape is a queue. This
condition compares two rows. Row data (Cut.RowData, the data ρ of the paper) replace it by
conditions on single rows: they say for every row whether it is empty, and which are the first
and the last column that it uses; for an empty row both are the last column of the row before.
Every row has to be as its row data say (Cut.RowData.Ok), and the row data have to be those of
a staircase (Cut.ValidRow).
A matrix of words has valid row data that fit its rows if and only if it has staircase support,
and then the row data are those of the matrix, Cut.rowsOf (Cut.validRow_and_ok_iff).
Main definitions #
Cut.RowData,Cut.RowData.Ok: the row data of a row, and the rows that fit them.Cut.prevLast,Cut.ValidRow,Cut.ValidRows: the last column of the row before, and the row data of a staircase, on one tape and on all tapes.Cut.rowsOf: the row data of a matrix of words.
Main results #
Cut.validRow_and_ok_iff: row data are valid and fit the rows of a matrix if and only if the matrix has staircase support and they are its row data.Cut.stair_of_rows,Cut.exists_rows,Cut.rows_unique: its three parts.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Lemma I.2 (Section I.3), which Proposition J.2 of Appendix J applies; modules
Nc.Cut.Defs,Nc.Cut.Rows
The row data of a party on a tape: whether the party writes nothing on the tape, and the first and the last party that read what it writes. If it writes nothing, both are the last party of the row before.
- empty : Bool
The party writes nothing on the tape.
- first : Fin A
The first party that reads what the party writes.
- last : Fin A
The last party that reads what the party writes.
Instances For
The number of row data of A parties: a flag and two parties.
The segments X b that a party writes on a tape for the parties b are as the row data
say: all are empty, or those for the first and for the last party are not empty and all others
that are not empty lie between them.
Instances For
The row data of a matrix of words: a row that is not empty has its first and its last column
that are not empty, and an empty row has twice the last column that a row before it uses (0 if
there is none). They are the valid row data that fit the rows if the matrix has staircase support
(validRow_and_ok_iff).
Valid row data that fit the rows of a matrix are determined by the matrix.
Row data of a staircase. Row data are valid and fit the rows of a matrix of words if and only if the matrix has staircase support and they are the row data of the matrix.
A matrix of words with staircase support has valid row data that fit its rows.