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
303
Venue
CIDR
Year
2017
Pagerank
0.00013285905
Overall Rank
910 | 93.76%
DOI
-

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 34 of 34 citing papers.

Rank Citing Paper Year Venue Pagerank
547 Cypher: An Evolving Query Language for Property Graphs 2018 SIGMOD 0.00016731552
865 Natural language to SQL: Where are we today? 2020 VLDB 0.00013521464
1,829 Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries 2018 VLDB 9.6671311e-05
1,982 WeTune: Automatic Discovery and Verification of Query Rewrite Rules 2022 SIGMOD 9.3573897e-05
2,079 DBPal: A Fully Pluggable NL2SQL Training Pipeline 2020 SIGMOD 9.2060425e-05
2,202 Quantifying TPC-H Choke Points and Their Optimizations 2020 VLDB 8.9639459e-05
2,933 EVA: A Symbolic Approach to Accelerating Exploratory Video Analytics with Materialized Views 2022 SIGMOD 7.9474026e-05
3,172 Demonstration of the Cosette Automated SQL Prover 2017 SIGMOD 7.6679093e-05
3,327 Automated Verification of Query Equivalence Using Satisfiability Modulo Theories 2019 VLDB 7.518491e-05
3,769 Proving Query Equivalence Using Linear Integer Arithmetic 2023 SIGMOD 7.1403543e-05
3,925 A Formal Semantics of SQL Queries, Its Validation, and Applications 2018 VLDB 7.0140857e-05
4,733 Interactive Query Synthesis from Input-Output Examples 2017 SIGMOD 6.5335361e-05
4,759 Explaining Wrong Queries Using Small Examples 2019 SIGMOD 6.5207388e-05
4,805 Efficient Answering of Historical What-if Queries 2022 SIGMOD 6.5003306e-05
6,031 Sia: Optimizing Queries using Learned Predicates 2021 SIGMOD 6.0007422e-05
6,259 R-Bot: An LLM-based Query Rewrite System 2025 VLDB 5.93967e-05
6,267 Automated Validating and Fixing of Text-to-SQL Translation with Execution Consistency 2025 SIGMOD 5.9348282e-05
7,035 Optimizing Recursive Queries with Program Synthesis 2022 SIGMOD 5.7216112e-05
7,895 Updating Graph Databases with Cypher 2019 VLDB 5.52019e-05
8,164 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4750309e-05
8,834 Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 2024 SIGMOD 5.3599176e-05
8,970 Understanding Queries by Conditional Instances 2022 SIGMOD 5.3422757e-05
9,561 Leveraging Application Data Constraints to Optimize Database-Backed Web Applications 2023 VLDB 5.2528121e-05
9,945 ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation 2025 VLDB 5.1915905e-05
9,966 Generating Application-Specific Data Layouts for In-memory Databases 2019 VLDB 5.1870939e-05
10,139 Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More! 2026 CIDR 5.093636e-05
10,199 Automated Discovery of Test Oracles for Database Management Systems Using LLMs 2026 SIGMOD 5.093636e-05
10,834 QOVIS: Understanding and Diagnosing Query Optimizer via a Visualization-assisted Approach 2025 VLDB 5.093636e-05
11,007 GRewriter: Practical Query Rewriting with Automatic Rule Set Expansion in GaussDB 2025 VLDB 5.093636e-05
11,138 TypeQL: A Type-Theoretic & Polymorphic Query Language 2024 PODS 5.093636e-05
11,326 Demonstration of the VeriEQL Equivalence Checker for Complex SQL Queries 2024 VLDB 5.093636e-05
11,499 Towards Auto-Generated Data Systems 2023 VLDB 5.093636e-05
11,861 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 5.093636e-05
11,901 How Can Reasoners Simplify Database Querying (And Why Haven’t They Done It Yet)? 2018 PODS 5.093636e-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.00059843817
129 Optimization of Nested SQL Queries Revisited 1987 SIGMOD 0.0003068101
290 An Overview of Query Optimization in Relational Systems 1998 PODS 0.0002227038
292 LINQ: Reconciling Objects, Relations and XML in the .NET Framework 2006 SIGMOD 0.00022259549
517 Query by Output 2009 SIGMOD 0.00017169735
1,037 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.00012494928
1,269 The Containment Problem for Real Conjunctive Queries with Inequalities 2006 PODS 0.000113935
Previous Page 1 / 1 Next

Semantically Similar Papers