Documentation

VCVio.StateSeparating.Hybrid

State-separating handlers: hybrid arguments #

Hybrid and linked-game advantage lemmas for QueryImpl.Stateful handlers with explicit initial states.

theorem QueryImpl.Stateful.advantage_hybrid {ιₑ : Type uₑ} {E : OracleSpec ιₑ} {σ : Type} (h : (i : ) → Stateful unifSpec E (σ i)) (s : (i : ) → σ i) (A : OracleComp E Bool) (n : ) :
(h 0).advantage (s 0) (h n) (s n) A iFinset.range n, (h i).advantage (s i) (h (i + 1)) (s (i + 1)) A

Hybrid lemma for any sequence of stateful handlers and explicit initial states.