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.
Two merge orders give the same attention summary
Example
Take , , both rows of equal to , , , , , scale , block size , and . For either query, merging the summaries of blocks then , or then , gives and output .
Example references
Facts & Assumptions
Given: The two query rows, two key/value rows, and allowed sets in the example statement.
Stable summary of an attention key block: a singleton block summary uses its score maximum, shifted exponential sum, and shifted value sum; a merge rescales both blocks to their common maximum.
Tiled attention and its recomputed reverse pass are exact: the completed summary divided by its normalizer is the rowwise masked attention output.
Verification
The two scores are and . Thus and .
Merging in either order gives maximum , normalizer , and weighted sum . The output is in either order.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
9 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
- Tri Dao et al., FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness, §3.1 and Appendix C (standard reference, not scraped)
- Maxim Milakov and Natalia Gimelshein, Online normalizer calculation for softmax, §3.1 (standard reference, not scraped)