The actual typed introspection sampler #
An executable three-level Pauli sampler extends to the complete introspection type set. Pauli presentations are retained, and every auxiliary type uses the zero presentation with a full first factor. The program satisfies every query clause and halts on arbitrary encoded inputs.
theorem
MIPRE.Introspection.pad_length
(b : Bool)
{l : Cost.BitStr}
{s : ℕ}
(h : List.length l = s)
:
noncomputable def
MIPRE.Introspection.typedSampler
{P : Type u_1}
[Cost.SizedEncoding P]
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
:
CL.TypedSampler 3 (QuestionType P ℓ)
The typed introspection sampler, constructed from the executable Pauli sampler.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.typedSampler_dim
{P : Type u_1}
[Cost.SizedEncoding P]
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
(n : ℕ)
:
theorem
MIPRE.Introspection.typedSampler_cl
{P : Type u_1}
[Cost.SizedEncoding P]
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
(n : ℕ)
(w : Player)
:
theorem
MIPRE.Introspection.typedSampler_prog_independent
{P : Type u_1}
[Cost.SizedEncoding P]
(ℓ ℓ' : ℕ)
(S : CL.TypedSampler 3 P)
:
The executable extension does not depend on the number of hiding types.
noncomputable def
MIPRE.Introspection.detypedSampler
{P : Type u_1}
[Cost.SizedEncoding P]
[Fintype P]
[DecidableEq P]
(E : P → P → Bool)
(X Z : P)
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
:
The executable five-level introspection sampler after graph detyping.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.detypedSampler_dim
{P : Type u_1}
[Cost.SizedEncoding P]
[Fintype P]
[DecidableEq P]
(E : P → P → Bool)
(X Z : P)
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
(n : ℕ)
:
theorem
MIPRE.Introspection.detypedSampler_cl
{P : Type u_1}
[Cost.SizedEncoding P]
[Fintype P]
[DecidableEq P]
(E : P → P → Bool)
(X Z : P)
(ℓ : ℕ)
(S : CL.TypedSampler 3 P)
(n : ℕ)
(w : Player)
:
(detypedSampler E X Z ℓ S).cl n w = CL.Detyping.numbered (TypeGraph.Adj E X Z) w (TypedPresentation.family (S.cl n w))
The final sampler's presentations are exactly the detyped typed family.