83#ifndef PROVSQL_HYBRID_EVALUATOR_H
84#define PROVSQL_HYBRID_EVALUATOR_H
Semiring-agnostic in-memory provenance circuit.
unsigned runConstantFold(GenericCircuit &gc)
Constant-fold pass over every gate_arith in gc.
unsigned runHybridSimplifier(GenericCircuit &gc)
Run the peephole simplifier over gc.
unsigned foldDegenerateMixtures(GenericCircuit &gc)
Collapse degenerate Bernoulli gate_mixture gates whose selector is certainly true (pi = 1) or certain...
unsigned runHybridDecomposer(GenericCircuit &gc, unsigned samples)
Marginalise unresolved continuous-island gate_cmp gates into Bernoulli gate_input leaves.