A shared batched OR circuit #
Source keys, source flags, and query keys are supplied by input wires or constants. One source array serves every query, including repeated queries. The output is in query order and missing keys return false.
Query identifiers fit in the sorting depth.
Prepare dynamic source records and queries with fixed ordering metadata.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The prepared bits are exactly the concrete routing layout.
Fixed output wires extract all query values in their original order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two sorts and a shared propagation scan compute the complete batched OR.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of circuit.
An output bit is true exactly when a matching source bit is true.
A linear record-count bound with a fixed width/depth polynomial.
Canonical padding gives a circuit of size linear in sources plus queries. The extra one in the bound covers the empty batch as well.