Sifting for Algorithms: Exhaustive Search, Certified Selection and Language-Model Steering
Sifting finds algorithms as panning finds gold: gather gravel, sieve it, and weigh what remains. The gravel is a declared finite set of candidate programs. The sieve is an exact checker, passing only candidates that meet a person's specification on every declared input. Algebraic dynamic programming does the weighing: it reports the best objective values, an example of each, and how many candidates tie there. An independent exhaustive comparison proves a passing report over the declared set. A language model reads the report and proposes where to dig next; it never decides what passes. In a decoder study, exhaustive checks of separately tested pieces proved that the sieve passes 540 of 2,000,376 decoders on the declared inputs; 12 tie at the minimum size. In a financial-protocol study, a rule keeping the best gain with its lowest fee passed a bounded audit on one protocol variant, yet exhaustive comparison proved it undercounted that variant's tied best runs. Reference comparison proved the accepted summaries' values and tie counts on held-out answers. A generated question set found fewer held-out defects than one drawn from a model-proposed vocabulary, missing its registered target. Neither proposer of Boolean expression libraries passed any registered held-out comparison.
Authors
- Dana Edwards
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24627489
- Primary Topic
- Logic, programming, and type systems
- Type
- preprint