Fixed menus covering every finite state #
This module proves the finite counting step in the nonuniform scheduler. If a single candidate fails on only a small fraction of choices for each state, a short list of candidates covers every state simultaneously. The list is chosen once, before the runtime state is supplied.
The geometric failure estimate is a separate premise of this general lemma; no circuit or geometric scheduler bound is asserted in this module.
A menu covers all states if each state has a successful entry.
Equations
- Algebraic.MassProduction.Nonuniform.Covers good menu = ∀ (state : State), ∃ (entry : Fin length), good state (menu entry)
Instances For
Counting all-bad lists and then taking a union over states gives a fixed menu whenever the bad-list bound is smaller than the entire list space.
An exponential single-candidate failure bound and a state-description
bound give a menu with descriptionBits / exponent + 1 entries.