Documentation

CslibFrontier.Computability.Circuit.Boolean.Comparison.OrderPolyTime

Native generation of word comparison #

A unary-width loop emits the existing linear-size word comparator, including all gates and output references. This construction is shared by threshold circuits and support sampling.

Main results #

This certificate was extracted unchanged from the threshold compiler; it concerns uniform construction, not the static description size or execution time of an offline compiler.

Generate the existing comparator's complete circuit code from unary word width.

@[fun_prop] rule for leCircuit in typed circuit compositions.