Documentation

MIPRE.Foundations.Introspection.SamplerCost

Runtime transfer for the actual introspection sampler #

The auxiliary extension makes at most one Pauli-sampler call. Its explicit polynomial majorant has a degree independent of the input index and the number of hiding types. Composing this bound with the actual detyping compiler gives a polynomial query bound for the final five-level sampler.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Typed introspection preserves polynomial query time with a common exponent.

    theorem MIPRE.Introspection.typedSampler_timeBound {P : Type u_1} [Cost.SizedEncoding P] (ℓ : ℕ) (S : CL.TypedSampler 3 P) (B : ℕ → ℕ) (k : ℕ) (h : ∀ (n : ℕ), S.TimeBoundAt n (B n) k) (n : ℕ) :
    theorem MIPRE.Introspection.detypedSampler_timeBound {P : Type u_1} [Cost.SizedEncoding P] [Fintype P] [DecidableEq P] (E : P → P → Bool) (X Z : P) (ℓ : ℕ) (S : CL.TypedSampler 3 P) (B : ℕ → ℕ) (k : ℕ) (h : ∀ (n : ℕ), S.TimeBoundAt n (B n) k) :
    ∃ (B' : ℕ → ℕ) (k' : ℕ), (detypedSampler E X Z ℓ S).TimeBound B' k'

    The executable five-level sampler inherits a global polynomial query bound.