Documentation

Provenance

Provenance in databases #

This Lean 4 library provides formal definitions and proofs relevant for provenance in databases, following the semiring framework of Green, Karvounarakis & Tannen and Green & Tannen.

One of the goals of this library is to provide a formal, machine-checked semantics for the provenance-aware relational database system ProvSQL described in Sen, Maniu & Senellart.

Contents #

Core theory

Algorithms

Concrete m-semirings (Provenance.Semirings.*)

See Provenance.Example for an example annotated database computation.

References #