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.00013976438
Overall Rank
790 | 94.70%
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 37 of 37 citing papers.

Rank Citing Paper Year Venue Pagerank
419 Cypher: An Evolving Query Language for Property Graphs 2018 SIGMOD 0.0001854669
776 Natural language to SQL: Where are we today? 2020 VLDB 0.00014063545
1,680 Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries 2018 VLDB 9.9031411e-05
1,893 WeTune: Automatic Discovery and Verification of Query Rewrite Rules 2022 SIGMOD 9.4126198e-05
1,952 Quantifying TPC-H Choke Points and Their Optimizations 2020 VLDB 9.3189525e-05
2,011 DBPal: A Fully Pluggable NL2SQL Training Pipeline 2020 SIGMOD 9.1896169e-05
2,787 EVA: A Symbolic Approach to Accelerating Exploratory Video Analytics with Materialized Views 2022 SIGMOD 8.0158999e-05
2,961 Proving Query Equivalence Using Linear Integer Arithmetic 2023 SIGMOD 7.8068219e-05
3,202 Demonstration of the Cosette Automated SQL Prover 2017 SIGMOD 7.5411821e-05
3,297 Automated Verification of Query Equivalence Using Satisfiability Modulo Theories 2019 VLDB 7.4452842e-05
3,718 A Formal Semantics of SQL Queries, Its Validation, and Applications 2018 VLDB 7.0721776e-05
4,385 R-Bot: An LLM-based Query Rewrite System 2025 VLDB 6.6235293e-05
4,838 Interactive Query Synthesis from Input-Output Examples 2017 SIGMOD 6.3871056e-05
4,847 Explaining Wrong Queries Using Small Examples 2019 SIGMOD 6.3823876e-05
4,919 Efficient Answering of Historical What-if Queries 2022 SIGMOD 6.3544814e-05
5,544 Automated Validating and Fixing of Text-to-SQL Translation with Execution Consistency 2025 SIGMOD 6.0887243e-05
5,869 Leveraging Application Data Constraints to Optimize Database-Backed Web Applications 2023 VLDB 5.9648445e-05
6,147 Sia: Optimizing Queries using Learned Predicates 2021 SIGMOD 5.8710365e-05
7,139 Optimizing Recursive Queries with Program Synthesis 2022 SIGMOD 5.6006128e-05
7,931 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4238328e-05
8,060 Updating Graph Databases with Cypher 2019 VLDB 5.3963318e-05
8,972 Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 2024 SIGMOD 5.2458797e-05
9,061 Understanding Queries by Conditional Instances 2022 SIGMOD 5.2289882e-05
10,129 ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation 2025 VLDB 5.0751052e-05
10,156 Generating Application-Specific Data Layouts for In-memory Databases 2019 VLDB 5.0707546e-05
10,359 Leveraging Query Optimizers to Verify the Soundness of LLM-based Query Rewrites for Real-World Workloads, and More! 2026 CIDR 4.9793485e-05
10,415 Automated Discovery of Test Oracles for Database Management Systems Using LLMs 2026 SIGMOD 4.9793485e-05
10,843 I-Rex: An Interactive Debugger for SQL 2026 VLDB 4.9793485e-05
10,966 Qr-Hint: Formally Verified and AI-Explained SQL Tutoring 2026 VLDB 4.9793485e-05
10,971 Verified LLM-Based Query Rewriting for Microsoft SQL Server 2026 VLDB 4.9793485e-05
11,242 QOVIS: Understanding and Diagnosing Query Optimizer via a Visualization-assisted Approach 2025 VLDB 4.9793485e-05
11,375 GRewriter: Practical Query Rewriting with Automatic Rule Set Expansion in GaussDB 2025 VLDB 4.9793485e-05
11,486 TypeQL: A Type-Theoretic & Polymorphic Query Language 2024 PODS 4.9793485e-05
11,644 Demonstration of the VeriEQL Equivalence Checker for Complex SQL Queries 2024 VLDB 4.9793485e-05
11,808 Towards Auto-Generated Data Systems 2023 VLDB 4.9793485e-05
12,161 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 4.9793485e-05
12,201 How Can Reasoners Simplify Database Querying (And Why Haven’t They Done It Yet)? 2018 PODS 4.9793485e-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.00059752575
132 Optimization of Nested SQL Queries Revisited 1987 SIGMOD 0.00030241193
272 An Overview of Query Optimization in Relational Systems 1998 PODS 0.00022509573
292 LINQ: Reconciling Objects, Relations and XML in the .NET Framework 2006 SIGMOD 0.00021947834
518 Query by Output 2009 SIGMOD 0.00016944862
1,032 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.00012401489
1,275 The Containment Problem for Real Conjunctive Queries with Inequalities 2006 PODS 0.00011242154
Previous Page 1 / 1 Next

Semantically Similar Papers