Cosette is an automated SQL solver.
Cosette is an automated solver for reasoning about SQL equivalences, implemented as a domain-specific language that can verify whether two SQL queries are semantically equivalent. The project is built using Haskell for its parser and core DSL components, and generates code for both the Rosette solver and the Coq proof assistant to perform formal verification. The work is from the University of Washington database group (uwdb), though the repository is now deprecated in favor of a successor project called QED.