{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,30]],"date-time":"2026-11-30T21:10:02Z","timestamp":1796073002595,"version":"4.11.3"},"reference-count":0,"publisher":"Centre pour la Communication Scientifique Directe (CCSD)","license":[{"start":{"date-parts":[[2022,8,17]],"date-time":"2022-08-17T00:00:00Z","timestamp":1660694400000},"content-version":"am","delay-in-days":0,"URL":"https:\/\/spdx.org\/licenses\/CC-BY-4.0.html"},{"start":{"date-parts":[[2022,8,17]],"date-time":"2022-08-17T00:00:00Z","timestamp":1660694400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/spdx.org\/licenses\/CC-BY-4.0.html"},{"start":{"date-parts":[[2022,8,17]],"date-time":"2022-08-17T00:00:00Z","timestamp":1660694400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/spdx.org\/licenses\/CC-BY-4.0.html"}],"funder":[{"DOI":"10.13039\/501100000780","name":"European Commission","doi-asserted-by":"publisher","award":["682315"],"award-info":[{"award-number":["682315"]}],"id":[{"id":"10.13039\/501100000780","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"accepted":{"date-parts":[[2022,6,21]]},"abstract":"<jats:p>Language-integrated query is a powerful programming construct allowing database queries and ordinary program code to interoperate seamlessly and safely. Language-integrated query techniques rely on classical results about the nested relational calculus, stating that its queries can be algorithmically translated to SQL, as long as their result type is a flat relation. Cooper and others advocated higher-order nested relational calculi as a basis for language-integrated queries in functional languages such as Links and F#. However, the translation of higher-order relational queries to SQL relies on a rewrite system for which no strong normalization proof has been published: a previous proof attempt does not deal correctly with rewrite rules that duplicate subterms. This paper fills the gap in the literature, explaining the difficulty with a previous proof attempt, and showing how to extend the $\\top\\top$-lifting approach of Lindley and Stark to accommodate duplicating rewrites. We also show how to extend the proof to a recently-introduced calculus for heterogeneous queries mixing set and multiset semantics.<\/jats:p>","DOI":"10.46298\/lmcs-18(3:23)2022","type":"journal-article","created":{"date-parts":[[2022,8,23]],"date-time":"2022-08-23T09:54:22Z","timestamp":1661248462000},"source":"Crossref","is-referenced-by-count":1,"title":["Strongly-Normalizing Higher-Order Relational Queries"],"prefix":"10.46298","volume":"Volume 18, Issue 3","author":[{"given":"Wilmer","family":"Ricciotti","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"James","family":"Cheney","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"25203","published-online":{"date-parts":[[2022,8,17]]},"container-title":["Logical Methods in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/arxiv.org\/pdf\/2011.13451v9","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/arxiv.org\/pdf\/2011.13451v9","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,11,30]],"date-time":"2026-11-30T20:27:51Z","timestamp":1796070471000},"score":1,"resource":{"primary":{"URL":"http:\/\/lmcs.episciences.org\/6940"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,8,17]]},"references-count":0,"URL":"https:\/\/doi.org\/10.46298\/lmcs-18(3:23)2022","relation":{"has-preprint":[{"id-type":"arxiv","id":"2011.13451v5","asserted-by":"subject"},{"id-type":"arxiv","id":"2011.13451v4","asserted-by":"subject"},{"id-type":"arxiv","id":"2011.13451v3","asserted-by":"subject"},{"id-type":"arxiv","id":"2011.13451v2","asserted-by":"subject"}],"is-same-as":[{"id-type":"arxiv","id":"2011.13451","asserted-by":"subject"},{"id-type":"doi","id":"10.48550\/arXiv.2011.13451","asserted-by":"subject"}]},"ISSN":["1860-5974"],"issn-type":[{"value":"1860-5974","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,8,17]]},"article-number":"6940"}}