The specialised region
The part that replaces the engine's per-row decoding for the reference plan, together with its interface to the surrounding statement.
Certified query replacement
For a query your application runs at high volume, we replace the engine's row-by-row work with compiled code written for that query's plan on your schema. A computer-checked proof shows it computes exactly what your engine computed.
Tell us about your queriesThe optimiser still picks the plan. We specialise the execution of that plan: code built for this one statement, not a hint the optimiser may ignore. With the code comes a proof that the replacement returns the same rows, the same values and the same errors, and a check that the code we proved is the object you deploy. Its contents are identified by digest. If the two differ, it does not run.
One machine, one query shape: SELECT x FROM t WHERE x >= ?1, 100,000 rows, answered in 3.7 to 4.2 ms. Every variant was measured side by side in the same run, relative to that build's own baseline.
| Variant | Relative speed |
|---|---|
| Engine as shipped | 1.00× |
| Specialised region, AI hand-written | 1.35× |
| Plus the specified consuming boundary | 1.81 to 1.82× |
| Plus storage-layer changes | 1.95 to 1.96× |
| Widened variant, on a two-column plan | 1.77 to 1.82× |
The part that replaces the engine's per-row decoding for the reference plan, together with its interface to the surrounding statement.
The proof is conditional on a short list, for example the byte-level behaviour of the platform's memory operations. Each one records how it is established and how it could become invalid.
A conditional certificate is not presented as an unconditional one. That list is part of what you receive.
You provide the queries, the schema and a measurable workload. You receive the specialised code, the certification, the measurement report with its controls, and the check that binds the certified code to the deployed object.
Send the statement, the schema and how often it runs. We will tell you whether this replacement is a fit.