Memory layout of the Convolution-3SUM graph builder #
The three matrices occupy disjoint row-major blocks following the input. This directly adapts
the memory invariant of Anthropic's ConvFill.Args.filled at
formal-math@16a5ce4.
Values use the native signed encoding; addresses are natural numbers.
Main definitions #
Fill.Args: layout and values of one tripartite instance.Fill.Args.filled: the memory after writing a prefix of each matrix.
Main results #
Fill.Args.filled_succ: one round consists of exactly three writes.Fill.Args.input_filled: matrix writes preserve the input.Fill.Args.matrices_filled: the completed memory contains the mathematical reduction.
References #
Input length, matrix side and instance number, input base and three matrix bases, input values, and the filler. The bounds and disjointness assumptions belong to the execution theorem.
- N : ℕ
Input length.
- t : ℕ
Side length of each matrix.
- s : ℕ
Instance number.
- base : ℕ
Input base address.
- ab : ℕ
AB matrix base address.
- bc : ℕ
BC matrix base address.
- ac : ℕ
AC matrix base address.
Mathematical input values.
- filler : ℤ
Invalid-index filler.
Instances For
The encoded AB weight in row-major cell q.
Instances For
The encoded BC weight; a negative index is rejected before reading the input.
Instances For
The encoded AC weight; invalid entries retain the positive filler.
Instances For
The fully written blocks contain the three matrices of the mathematical reduction.