Invariants and rejection of checked provider labels #
A successful checked combination has canonical explicit replay buffers. Rejection occurs exactly when the previous label or at least one provider label fails canonical decoding. The criterion checks every provider, including labels for windows absent from the current schedule.
theorem Turing.MultiTapePTM.BlockComputation.QueryReplay.Providers.Labels.canonical_of_combine_some {k s : ℕ} {Q : Type} (e : Q ≃ Fin s) (b : ℕ) (ports : PortMap k) (previousWord : List Bool) (providerWords : ProviderWords k) (raw : RawResult k Q) (hcombined : combine e (b, ports, previousWord, providerWords) = some raw) :
Load.CanonicalWindows b raw
Every successful checked combination supplies the canonical buffers needed by native replay.
theorem Turing.MultiTapePTM.BlockComputation.QueryReplay.Providers.Labels.combine_eq_none_iff {k s : ℕ} {Q : Type} (e : Q ≃ Fin s) (b : ℕ) (ports : PortMap k) (previousWord : List Bool) (providerWords : ProviderWords k) :
Checked combination rejects precisely the failed previous/provider labels, even when the port map ignores that provider's window. No default value turns failure into success.