How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
S4 state-space recurrence and convolution procedure
Definition
Let and with diagonal and , where denotes conjugate transpose; let , let , and put . The bilinear step is defined only when is invertible. Given an input sequence and state , its recurrent mode computes For a zero initial state, the equivalent matrices and length- kernel are , , and for ; a direct term , if present, is added separately.
For the filter mode, fix an integer , let be the least power of two with , let , and let be supplied as the length- truncated-output parameter. When a conventional output vector is used, this parameter is . Define the root values . The algorithm returns the first coefficients of the inverse radix-two transform of the values below.
For , set . For each , put . If for some diagonal entry of , return status resonant-diagonal. If no diagonal resonance is present, write and . If is singular, return status resonant-correction. When this correction is invertible, the target root value is
The preceding resolvent expression specifies the target root values. The filter evaluation computes them using scalar Cauchy products as follows. Put , and for each with define . For any pair of vectors , compute on the root grid
by calling the roots-of-unity Cauchy procedure with poles and weights , then adding the displayed constant. A collision returns status resonant-diagonal. For , set
If is singular, return status resonant-correction. The four families , , , and contain , , , and scalar products, respectively. The root is handled directly and is never included in this Cauchy evaluation. Matrix products and inversions of the corrections are performed separately at each root.
The recurrent solver may exploit the diagonal-plus-low-rank structure as follows. Write , let and . If is empty, use the Woodbury inverse with and correction ; if this correction is singular, return status singular-bilinear-matrix. If , then when solve the bordered system
where ; if or the bordered system is singular, return status singular-bilinear-matrix. Here . This branch solves without assuming the diagonal base is invertible.
Depends on
Used by
- A scalar state-space layer has matching recurrent and convolutional outputs Example
- The filter-operation bound is not a training-cost bound Example
- DPLR SSM filter values reduce to Cauchy products Lemma
- A fixed-rank DPLR bilinear recurrent step has linear arithmetic cost Theorem
- S4 convolution-filter arithmetic and numerical cost Theorem
Dependency tree · two levels
5 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Gu, Goel, and Ré, Efficiently Modeling Long Sequences with Structured State Spaces, Algorithm 1 and Appendix C (standard reference, not scraped)