Documentation

Provenance.Algorithms.CompOp

Comparison operator for HAVING enumeration algorithms #

Shared definition used by both Provenance.Algorithms.CountEnum and Provenance.Algorithms.SumDP. Matches the operator parameter op ∈ {=, ≠, <, ≤, >, ≥} of the algorithms in the HAVING / ProvSQL paper.

inductive CompOp :

Comparison operator on natural numbers, as used by the HAVING enumeration algorithms.

Instances For
    @[implicit_reducible]
    Equations
    @[implicit_reducible]
    Equations
    Equations
    Instances For
      def CompOp.eval :
      CompOpProp

      Semantics of a comparison operator on natural numbers.

      Equations
      Instances For
        @[implicit_reducible]
        instance instDecidableEval (op : CompOp) (a b : ) :
        Decidable (op.eval a b)
        Equations
        • One or more equations did not get rendered due to their size.