theorem
MindFormal.A695LogicPaper.IntegerProgram.compiled_sampler_cap
{m : ℕ}
(counts : Fin (m + 1) → ℕ)
(zeroReg one bound : ℕ)
(candidates : List ℕ)
(fresh Q : ℕ)
(v : Values)
(hc : ∀ (i : Fin (m + 1)), counts i < fresh)
(hz : zeroReg < fresh)
(ho : one < fresh)
(hq : bound < fresh)
(hx : ∀ r ∈ candidates, r < fresh)
(hzero : v zeroReg = 0)
(hone : v one = 1)
(hbound : v bound + 1 = Q)
(b physicalZero physicalOne : ℕ)
(placement : Placement b)
:
The complete rejection and selection circuit satisfies the printed cap, including the found flag, all later rejected/unused candidates and computed row labels. The bit width includes every intermediate value.