{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T11:06:36Z","timestamp":1790075196652,"version":"4.0.1"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>In this paper, we introduce a verified framework for defining and composing sparse tensor formats. We extend the ATL tensor language and scheduling framework, which formerly could only express dense tensor kernels. We define a levelized abstraction to describe per-dimension tensor formats via their encoding routines, access and iteration functions, and formal properties enforcing soundness of the sparse structures as representations of the original dense tensors. Using this abstraction, we compositionally define format-agnostic, multidimensional compression and decompression functions that are used to express the top-level soundness theorem for these abstract sparse tensor formats. We then use this soundness theorem as an adjoint-pair rewrite theorem to introduce sparse data structures and iteration into a dense tensor kernel via the existing scheduling-rewrite framework of ATL. Overall, we are able to start with a program computing over dense operands and derive a proven semantically equivalent, optimized program computing over sparse structures. We further prove a minimal set of instances of the level-format abstraction, which can be composed and passed as parameters to compression to capture a broad range of canonical, multidimensional tensor-compression formats.<\/jats:p>","DOI":"10.1145\/3808261","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"356-378","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["A Mechanized Algebra of Verified Data Structures for Optimizing Sparse Tensor Programs"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5549-9177","authenticated-orcid":false,"given":"Amanda","family":"Liu","sequence":"first","affiliation":[{"name":"Massachusetts Institute of Technology, Cambridge, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3016-1169","authenticated-orcid":false,"given":"Gilbert Louis","family":"Bernstein","sequence":"additional","affiliation":[{"name":"University of Washington, Seattle, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5965-3717","authenticated-orcid":false,"given":"Shoaib","family":"Kamil","sequence":"additional","affiliation":[{"name":"Adobe, New York, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7085-9417","authenticated-orcid":false,"given":"Adam","family":"Chlipala","sequence":"additional","affiliation":[{"name":"Massachusetts Institute of Technology, Cambridge, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6243-9543","authenticated-orcid":false,"given":"Jonathan","family":"Ragan-Kelley","sequence":"additional","affiliation":[{"name":"Massachusetts Institute of Technology, Cambridge, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3579990.3580020"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/71.485501"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276493"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2049662.2049663"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3622804"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656403"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1177\/1094342015593156"},{"key":"e_1_3_1_9_1","unstructured":"Intel. 2025. Intel Math Kernel Library. https:\/\/software.intel.com\/content\/www\/us\/en\/develop\/tools\/oneapi\/components\/onemkl.html"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","DOI":"10.5555\/1098666"},{"key":"e_1_3_1_11_1","volume-title":"pOSKI: An extensible autotuning framework to perform optimized SpMVs on multicore architectures","author":"Jain Ankit","year":"2009","unstructured":"Ankit Jain. 2009. pOSKI: An extensible autotuning framework to perform optimized SpMVs on multicore architectures. Master\u2019s thesis. University of California, Berkeley. https:\/\/bebop.cs.berkeley.edu\/pubs\/jain2008-masters.pdf"},{"key":"e_1_3_1_12_1","unstructured":"David R. Kincaid Thomas C. Oppe and David M. Young. 1989. ITPACKV 2D user\u2019s guide. https:\/\/api.semanticscholar.org\/CorpusID:56590066"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2019.8661185"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133901"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/646662.699553"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591268"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009869"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","unstructured":"Amanda Liu. 2026. Artifact for A Mechanized Algebra of Verified Data Structures for Optimizing Sparse Tensor Programs. doi:10.5281\/zenodo.19422499","DOI":"10.5281\/zenodo.19422499"},{"key":"e_1_3_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3656390"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3498717"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3649816"},{"key":"e_1_3_1_22_1","unstructured":"NVIDIA. 2021. cuSPARSE. https:\/\/docs.nvidia.com\/cuda"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689752"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3588717"},{"key":"e_1_3_1_25_1","unstructured":"SciPy. 2025. SciPy. https:\/\/www.scipy.org\/"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428226"},{"key":"e_1_3_1_27_1","doi-asserted-by":"crossref","unstructured":"Amir Shaikhha Mathieu Huot and Shideh Hashemian. 2024. A Tensor Algebra Compiler for Sparse Differentiation. 2024 IEEE\/ACM International Symposium on Code Generation and Optimization (CGO) (2024) 1\u201312. https:\/\/api.semanticscholar.org\/CorpusID:268045813","DOI":"10.1109\/CGO57630.2024.10444787"},{"key":"e_1_3_1_28_1","unstructured":"Shaden Smith Jee W. Choi Jiajia Li Richard Vuduc Jongsoo Park Xing Liu and George Karypis. 2017. FROSTT: The Formidable Repository of Open Sparse Tensors and Tools. http:\/\/frostt.io\/"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1109\/PROC.1967.6011"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1088\/1742-6596\/16\/1\/071"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","unstructured":"Liang Yuan Yunquan Zhang Xiangzheng Sun and Ting Wang. 2010. Optimizing Sparse Matrix Vector Multiplication Using Diagonal Storage Matrix Format. In 2010 IEEE 12th International Conference on High Performance Computing and Communications (HPCC). 585\u2013590. doi:10.1109\/HPCC.2010.67","DOI":"10.1109\/HPCC.2010.67"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808261","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:43:44Z","timestamp":1790073824000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808261"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":30,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808261"],"URL":"https:\/\/doi.org\/10.1145\/3808261","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-12","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}