Paper 2026/1260
TruthTable: A Verifiable Query Engine
Abstract
We present TruthTable, a verifiable database engine that allows a prover to produce a succinct proof that convinces a verifier of the correct execution of the verifier's SQL query over the prover's committed database. TruthTable supports a large subset of SQL, enabling it to prove 17 out of 22 queries in the standard TPC-H benchmark. To our knowledge, this is the widest support out of all prior work. Moreover, TruthTable's proofs are small, and fast to generate and verify: on the TPC-H benchmark with a database of a million rows, TruthTable's average proving time is $55$ seconds, average verification time is $32$ ms, and average proof size is $24$ kB. Compared to prior work, TruthTable's proving times are between $6.3\times$-$63\times$ better, while the verification times and proof sizes are competitive. TruthTable achieves these properties via a codesign of cryptography and database techniques. On the cryptographic front, we propose a new polynomial representation of database tables, and design new subprotocols for proving the correct execution of various relational operators on these representations. On the database front, we propose a query planner that optimizes queries for minimal proving time, as opposed to minimal execution time. We also design new optimizations for this planner that reduce proving time by up to $2 \times$.
Metadata
- Available format(s)
-
PDF
- Category
- Cryptographic protocols
- Publication info
- Preprint.
- Keywords
- verifiable databasesverifiable computationsqlSNARKPIOPPolynomial Commitment Scheme
- Contact author(s)
-
namboo @ seas upenn edu
alrshir @ seas upenn edu
ssolit44 @ gmail com
rcmarcus @ seas upenn edu
prat @ seas upenn edu - History
- 2026-06-19: approved
- 2026-06-15: received
- See all versions
- Short URL
- https://ia.cr/2026/1260
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2026/1260,
author = {Bharath Namboothiry and Alireza Shirzad and Spencer Solit and Ryan Marcus and Pratyush Mishra},
title = {{TruthTable}: A Verifiable Query Engine},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/1260},
year = {2026},
url = {https://eprint.iacr.org/2026/1260}
}