DBScholar

Back to papers

Cosette: An Automated Prover for SQL

Summary: Cosette: automated SQL-equivalence prover that combines SMT solving and theorem proving to output machine-checked proofs or concrete counterexamples. Handles conjunctive/correlated queries, outer joins, and aggregates; validated magic-set rewrites and found real rewrite bugs, advancing provably-correct query optimization. (summarized by gpt-5-mini on Feb 09 2026)

Paper ID
h06e7898fb51875ec
Venue
CIDR
Year
2017
Pagerank
0.00013959502
Overall Rank
787 | 94.73%
DOI
-
PDF
Download (CC BY 3.0)

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@inproceedings{chu_cidr17,
        address = {Amsterdam, Netherlands},
        series = {{CIDR} '17},
        title = {{Cosette: An Automated Prover for SQL}},
        booktitle = {Proceedings of the {Conference} on {Innovative} {Data} {Systems} {Research}},
        author = {Chu, Shumo and Wang, Chenglong and Weitz, Konstantin and Cheung, Alvin},
        year = {2017}
}

Incoming Citations (Sorted by Pagerank)

Showing 37 of 37 citing papers.

Rank Citing Paper Year Venue Pagerank
420 Cypher: An Evolving Query Language for Property Graphs 2018 SIGMOD 0.00018489392
755 Natural language to SQL: Where are we today? 2020 VLDB 0.00014210408
1,678 Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries 2018 VLDB 9.8966017e-05
1,888 WeTune: Automatic Discovery and Verification of Query Rewrite Rules 2022 SIGMOD 9.4148912e-05
1,958 Quantifying TPC-H Choke Points and Their Optimizations 2020 VLDB 9.2894133e-05
1,999 DBPal: A Fully Pluggable NL2SQL Training Pipeline 2020 SIGMOD 9.2108564e-05
2,792 EVA: A Symbolic Approach to Accelerating Exploratory Video Analytics with Materialized Views 2022 SIGMOD 7.9895218e-05
2,971 Proving Query Equivalence Using Linear Integer Arithmetic 2023 SIGMOD 7.7851336e-05
3,194 Demonstration of the Cosette Automated SQL Prover 2017 SIGMOD 7.5310063e-05
3,294 Automated Verification of Query Equivalence Using Satisfiability Modulo Theories 2019 VLDB 7.4297513e-05
3,705 A Formal Semantics of SQL Queries, Its Validation, and Applications 2018 VLDB 7.0607226e-05
4,383 R-Bot: An LLM-based Query Rewrite System 2025 VLDB 6.6140223e-05
4,857 Interactive Query Synthesis from Input-Output Examples 2017 SIGMOD 6.3653978e-05
4,871 Explaining Wrong Queries Using Small Examples 2019 SIGMOD 6.3583165e-05
4,917 Automated Validating and Fixing of Text-to-SQL Translation with Execution Consistency 2025 SIGMOD 6.3447485e-05
4,943 Efficient Answering of Historical What-if Queries 2022 SIGMOD 6.3304729e-05
5,883 Leveraging Application Data Constraints to Optimize Database-Backed Web Applications 2023 VLDB 5.9423067e-05
6,155 Sia: Optimizing Queries using Learned Predicates 2021 SIGMOD 5.8540214e-05
7,167 Optimizing Recursive Queries with Program Synthesis 2022 SIGMOD 5.5794956e-05
7,941 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4056478e-05
8,082 Updating Graph Databases with Cypher 2019 VLDB 5.3759428e-05
9,001 Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 2024 SIGMOD 5.2260584e-05
9,090 Understanding Queries by Conditional Instances 2022 SIGMOD 5.2092307e-05
9,754 Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More! 2026 CIDR 5.115551e-05
10,170 ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation 2025 VLDB 5.0559291e-05
10,195 Generating Application-Specific Data Layouts for In-memory Databases 2019 VLDB 5.0516135e-05
10,493 Automated Discovery of Test Oracles for Database Management Systems Using LLMs 2026 SIGMOD 4.9605343e-05
10,914 I-Rex: An Interactive Debugger for SQL 2026 VLDB 4.9605343e-05
11,036 Qr-Hint: Formally Verified and AI-Explained SQL Tutoring 2026 VLDB 4.9605343e-05
11,041 Verified LLM-Based Query Rewriting for Microsoft SQL Server 2026 VLDB 4.9605343e-05
11,306 QOVIS: Understanding and Diagnosing Query Optimizer via a Visualization-assisted Approach 2025 VLDB 4.9605343e-05
11,434 GRewriter: Practical Query Rewriting with Automatic Rule Set Expansion in GaussDB 2025 VLDB 4.9605343e-05
11,544 TypeQL: A Type-Theoretic & Polymorphic Query Language 2024 PODS 4.9605343e-05
11,697 Demonstration of the VeriEQL Equivalence Checker for Complex SQL Queries 2024 VLDB 4.9605343e-05
11,858 Towards Auto-Generated Data Systems 2023 VLDB 4.9605343e-05
12,210 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 4.9605343e-05
12,250 How Can Reasoners Simplify Database Querying (And Why Haven’t They Done It Yet)? 2018 PODS 4.9605343e-05
Previous Page 1 / 1 Next

Outgoing Citations (Sorted by Pagerank)

Showing 7 of 7 cited papers.

Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.

Rank Cited Paper Year Venue Pagerank
17 Provenance Semirings 2007 PODS 0.00059660827
133 Optimization of Nested SQL Queries Revisited 1987 SIGMOD 0.0003015194
259 An Overview of Query Optimization in Relational Systems 1998 PODS 0.00022881075
295 LINQ: Reconciling Objects, Relations and XML in the .NET Framework 2006 SIGMOD 0.00021876398
520 Query by Output 2009 SIGMOD 0.00016910379
1,032 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.00012376627
1,279 The Containment Problem for Real Conjunctive Queries with Inequalities 2006 PODS 0.00011207548
Previous Page 1 / 1 Next

Semantically Similar Papers